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