SoldierBodyComponentData

Inherits from ComponentData

Summary

Constructors

SoldierBodyComponentData()
SoldierBodyComponentData(guid: Guid)
SoldierBodyComponentData(other: ComponentData)
SoldierBodyComponentData(other: GameObjectData)
SoldierBodyComponentData(other: GameDataContainer)
SoldierBodyComponentData(other: DataContainer)

Properties

Name Type
sprintMultiplier float
overrideGravityValue float
overrideVelocityY float
overrideVelocity bool
overrideGravity bool

Static members

Name Type
SoldierBodyComponentData.typeInfo TypeInformation

Constructors

SoldierBodyComponentData

SoldierBodyComponentData()

Creates a new SoldierBodyComponentData frostbite instance.

SoldierBodyComponentData

SoldierBodyComponentData(guid: Guid)

Creates a new SoldierBodyComponentData frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

SoldierBodyComponentData

SoldierBodyComponentData(other: ComponentData)

Casts an instance of type ComponentData to SoldierBodyComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other ComponentData The instance to cast to SoldierBodyComponentData.

SoldierBodyComponentData

SoldierBodyComponentData(other: GameObjectData)

Casts an instance of type GameObjectData to SoldierBodyComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameObjectData The instance to cast to SoldierBodyComponentData.

SoldierBodyComponentData

SoldierBodyComponentData(other: GameDataContainer)

Casts an instance of type GameDataContainer to SoldierBodyComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameDataContainer The instance to cast to SoldierBodyComponentData.

SoldierBodyComponentData

SoldierBodyComponentData(other: DataContainer)

Casts an instance of type DataContainer to SoldierBodyComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to SoldierBodyComponentData.

Properties

sprintMultiplier

float

overrideGravityValue

float

overrideVelocityY

float

overrideVelocity

bool

overrideGravity

bool

Static members

typeInfo

TypeInformation

The type information for the SoldierBodyComponentData type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351c)