GravityData

Inherits from ProcessorData

Summary

Constructors

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

Properties

Name Type
gravity float

Static members

Name Type
GravityData.typeInfo TypeInformation

Constructors

GravityData

GravityData()

Creates a new GravityData frostbite instance.

GravityData

GravityData(guid: Guid)

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

Parameters

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

GravityData

GravityData(other: ProcessorData)

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

Parameters

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

GravityData

GravityData(other: EmitterComponentData)

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

Parameters

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

GravityData

GravityData(other: DataContainer)

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

Parameters

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

Properties

gravity

float

Static members

typeInfo

TypeInformation

The type information for the GravityData type.

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