LocalForceData

Inherits from ProcessorData

Summary

Constructors

LocalForceData()
LocalForceData(guid: Guid)
LocalForceData(other: ProcessorData)
LocalForceData(other: EmitterComponentData)
LocalForceData(other: DataContainer)

Properties

Name Type
localForce Vec3

Static members

Name Type
LocalForceData.typeInfo TypeInformation

Constructors

LocalForceData

LocalForceData()

Creates a new LocalForceData frostbite instance.

LocalForceData

LocalForceData(guid: Guid)

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

Parameters

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

LocalForceData

LocalForceData(other: ProcessorData)

Casts an instance of type ProcessorData to LocalForceData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other ProcessorData The instance to cast to LocalForceData.

LocalForceData

LocalForceData(other: EmitterComponentData)

Casts an instance of type EmitterComponentData to LocalForceData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other EmitterComponentData The instance to cast to LocalForceData.

LocalForceData

LocalForceData(other: DataContainer)

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

Parameters

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

Properties

localForce

Vec3

Static members

typeInfo

TypeInformation

The type information for the LocalForceData type.

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