TextureAsset

Inherits from TextureBaseAsset

Summary

Constructors

TextureAsset()
TextureAsset(guid: Guid)
TextureAsset(other: TextureBaseAsset)
TextureAsset(other: Asset)
TextureAsset(other: DataContainer)

Static members

Name Type
TextureAsset.typeInfo TypeInformation

Constructors

TextureAsset

TextureAsset()

Creates a new TextureAsset frostbite instance.

TextureAsset

TextureAsset(guid: Guid)

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

Parameters

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

TextureAsset

TextureAsset(other: TextureBaseAsset)

Casts an instance of type TextureBaseAsset to TextureAsset. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other TextureBaseAsset The instance to cast to TextureAsset.

TextureAsset

TextureAsset(other: Asset)

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

Parameters

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

TextureAsset

TextureAsset(other: DataContainer)

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

Parameters

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

Static members

typeInfo

TypeInformation

The type information for the TextureAsset type.

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