MaterialContainerAsset

Inherits from Asset

Summary

Constructors

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

Properties

Name Type
materialPairs MaterialContainerPair[]
materialNames string[]

Static members

Name Type
MaterialContainerAsset.typeInfo TypeInformation

Constructors

MaterialContainerAsset

MaterialContainerAsset()

Creates a new MaterialContainerAsset frostbite instance.

MaterialContainerAsset

MaterialContainerAsset(guid: Guid)

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

Parameters

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

MaterialContainerAsset

MaterialContainerAsset(other: Asset)

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

Parameters

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

MaterialContainerAsset

MaterialContainerAsset(other: DataContainer)

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

Parameters

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

Properties

materialPairs

MaterialContainerPair[]

materialNames

string[]

Static members

typeInfo

TypeInformation

The type information for the MaterialContainerAsset type.

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