MeshComponentData

Inherits from ComponentData

Summary

Constructors

MeshComponentData()
MeshComponentData(guid: Guid)
MeshComponentData(other: ComponentData)
MeshComponentData(other: GameObjectData)
MeshComponentData(other: GameDataContainer)
MeshComponentData(other: DataContainer)

Properties

Name Type
boneFakePhysics BoneFakePhysicsData[]
mesh MeshAsset | nil
skeleton SkeletonAsset | nil

Static members

Name Type
MeshComponentData.typeInfo TypeInformation

Constructors

MeshComponentData

MeshComponentData()

Creates a new MeshComponentData frostbite instance.

MeshComponentData

MeshComponentData(guid: Guid)

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

Parameters

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

MeshComponentData

MeshComponentData(other: ComponentData)

Casts an instance of type ComponentData to MeshComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other ComponentData The instance to cast to MeshComponentData.

MeshComponentData

MeshComponentData(other: GameObjectData)

Casts an instance of type GameObjectData to MeshComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameObjectData The instance to cast to MeshComponentData.

MeshComponentData

MeshComponentData(other: GameDataContainer)

Casts an instance of type GameDataContainer to MeshComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameDataContainer The instance to cast to MeshComponentData.

MeshComponentData

MeshComponentData(other: DataContainer)

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

Parameters

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

Properties

boneFakePhysics

BoneFakePhysicsData[]

mesh

MeshAsset | nil

skeleton

SkeletonAsset | nil

Static members

typeInfo

TypeInformation

The type information for the MeshComponentData type.

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