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