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