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