UIAnimatedTextureAsset

Inherits from Asset

Summary

Constructors

UIAnimatedTextureAsset()
UIAnimatedTextureAsset(guid: Guid)
UIAnimatedTextureAsset(other: Asset)
UIAnimatedTextureAsset(other: DataContainer)

Properties

Name Type
frameRate float
textureAtlas TextureAsset | nil
textureInfos UITextureAtlasInfo[]

Static members

Name Type
UIAnimatedTextureAsset.typeInfo TypeInformation

Constructors

UIAnimatedTextureAsset

UIAnimatedTextureAsset()

Creates a new UIAnimatedTextureAsset frostbite instance.

UIAnimatedTextureAsset

UIAnimatedTextureAsset(guid: Guid)

Creates a new UIAnimatedTextureAsset frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

UIAnimatedTextureAsset

UIAnimatedTextureAsset(other: Asset)

Casts an instance of type Asset to UIAnimatedTextureAsset. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other Asset The instance to cast to UIAnimatedTextureAsset.

UIAnimatedTextureAsset

UIAnimatedTextureAsset(other: DataContainer)

Casts an instance of type DataContainer to UIAnimatedTextureAsset. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to UIAnimatedTextureAsset.

Properties

frameRate

float

textureAtlas

TextureAsset | nil

textureInfos

UITextureAtlasInfo[]

Static members

typeInfo

TypeInformation

The type information for the UIAnimatedTextureAsset type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351c)