MeshAsset

Inherits from Asset

Summary

Constructors

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

Properties

Name Type
lodGroup MeshLodGroup | nil
lodScale float
cullScale float
nameHash int
enlightenType EnlightenType
materials MeshMaterial[]
occluderHighPriority bool
streamingEnable bool
destructionMaterialEnable bool
occluderMeshEnable bool

Static members

Name Type
MeshAsset.typeInfo TypeInformation

Constructors

MeshAsset

MeshAsset()

Creates a new MeshAsset frostbite instance.

MeshAsset

MeshAsset(guid: Guid)

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

Parameters

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

MeshAsset

MeshAsset(other: Asset)

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

Parameters

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

MeshAsset

MeshAsset(other: DataContainer)

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

Parameters

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

Properties

lodGroup

MeshLodGroup | nil

lodScale

float

cullScale

float

nameHash

int

enlightenType

EnlightenType

materials

MeshMaterial[]

occluderHighPriority

bool

streamingEnable

bool

destructionMaterialEnable

bool

occluderMeshEnable

bool

Static members

typeInfo

TypeInformation

The type information for the MeshAsset type.

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