RigidBodyConeConstraintData

Inherits from RigidBodyConstraintData

Summary

Constructors

RigidBodyConeConstraintData()
RigidBodyConeConstraintData(guid: Guid)
RigidBodyConeConstraintData(other: RigidBodyConstraintData)
RigidBodyConeConstraintData(other: GameObjectData)
RigidBodyConeConstraintData(other: GameDataContainer)
RigidBodyConeConstraintData(other: DataContainer)

Properties

Name Type
minAngle float
angularFriction float
maxAngle float
hasLimits bool

Static members

Name Type
RigidBodyConeConstraintData.typeInfo TypeInformation

Constructors

RigidBodyConeConstraintData

RigidBodyConeConstraintData()

Creates a new RigidBodyConeConstraintData frostbite instance.

RigidBodyConeConstraintData

RigidBodyConeConstraintData(guid: Guid)

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

Parameters

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

RigidBodyConeConstraintData

RigidBodyConeConstraintData(other: RigidBodyConstraintData)

Casts an instance of type RigidBodyConstraintData to RigidBodyConeConstraintData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other RigidBodyConstraintData The instance to cast to RigidBodyConeConstraintData.

RigidBodyConeConstraintData

RigidBodyConeConstraintData(other: GameObjectData)

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

Parameters

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

RigidBodyConeConstraintData

RigidBodyConeConstraintData(other: GameDataContainer)

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

Parameters

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

RigidBodyConeConstraintData

RigidBodyConeConstraintData(other: DataContainer)

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

Parameters

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

Properties

minAngle

float

angularFriction

float

maxAngle

float

hasLimits

bool

Static members

typeInfo

TypeInformation

The type information for the RigidBodyConeConstraintData type.

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