RigidMeshAsset
Inherits from MeshAsset
Summary
Constructors
| RigidMeshAsset() |
| RigidMeshAsset(guid: Guid) |
| RigidMeshAsset(other: MeshAsset) |
| RigidMeshAsset(other: Asset) |
| RigidMeshAsset(other: DataContainer) |
Static members
| Name | Type |
|---|---|
| RigidMeshAsset.typeInfo | TypeInformation |
Constructors
RigidMeshAsset
RigidMeshAsset()
Creates a new RigidMeshAsset frostbite instance.
RigidMeshAsset
RigidMeshAsset(guid: Guid)
Creates a new RigidMeshAsset frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
RigidMeshAsset
RigidMeshAsset(other: MeshAsset)
Casts an instance of type MeshAsset to RigidMeshAsset. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | MeshAsset | The instance to cast to RigidMeshAsset. |
RigidMeshAsset
RigidMeshAsset(other: Asset)
Casts an instance of type Asset to RigidMeshAsset. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | Asset | The instance to cast to RigidMeshAsset. |
RigidMeshAsset
RigidMeshAsset(other: DataContainer)
Casts an instance of type DataContainer to RigidMeshAsset. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to RigidMeshAsset. |
Static members
typeInfo
The type information for the RigidMeshAsset type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)