PhysicsConeConstraintData

Inherits from PhysicsConstraintData

Summary

Constructors

PhysicsConeConstraintData()
PhysicsConeConstraintData(guid: Guid)
PhysicsConeConstraintData(other: PhysicsConstraintData)
PhysicsConeConstraintData(other: GameObjectData)
PhysicsConeConstraintData(other: GameDataContainer)
PhysicsConeConstraintData(other: DataContainer)

Properties

Name Type
minAngle float
angularFriction float
maxAngle float
hasLimits bool

Static members

Name Type
PhysicsConeConstraintData.typeInfo TypeInformation

Constructors

PhysicsConeConstraintData

PhysicsConeConstraintData()

Creates a new PhysicsConeConstraintData frostbite instance.

PhysicsConeConstraintData

PhysicsConeConstraintData(guid: Guid)

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

Parameters

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

PhysicsConeConstraintData

PhysicsConeConstraintData(other: PhysicsConstraintData)

Casts an instance of type PhysicsConstraintData to PhysicsConeConstraintData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other PhysicsConstraintData The instance to cast to PhysicsConeConstraintData.

PhysicsConeConstraintData

PhysicsConeConstraintData(other: GameObjectData)

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

Parameters

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

PhysicsConeConstraintData

PhysicsConeConstraintData(other: GameDataContainer)

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

Parameters

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

PhysicsConeConstraintData

PhysicsConeConstraintData(other: DataContainer)

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

Parameters

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

Properties

minAngle

float

angularFriction

float

maxAngle

float

hasLimits

bool

Static members

typeInfo

TypeInformation

The type information for the PhysicsConeConstraintData type.

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