GamePhysicsEntityData

Inherits from GameEntityData

Summary

Constructors

GamePhysicsEntityData()
GamePhysicsEntityData(guid: Guid)
GamePhysicsEntityData(other: GameEntityData)
GamePhysicsEntityData(other: SpatialEntityData)
GamePhysicsEntityData(other: EntityData)
GamePhysicsEntityData(other: GameObjectData)
GamePhysicsEntityData(other: GameDataContainer)
GamePhysicsEntityData(other: DataContainer)

Properties

Name Type
physicsData PhysicsEntityData | nil

Static members

Name Type
GamePhysicsEntityData.typeInfo TypeInformation

Constructors

GamePhysicsEntityData

GamePhysicsEntityData()

Creates a new GamePhysicsEntityData frostbite instance.

GamePhysicsEntityData

GamePhysicsEntityData(guid: Guid)

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

Parameters

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

GamePhysicsEntityData

GamePhysicsEntityData(other: GameEntityData)

Casts an instance of type GameEntityData to GamePhysicsEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameEntityData The instance to cast to GamePhysicsEntityData.

GamePhysicsEntityData

GamePhysicsEntityData(other: SpatialEntityData)

Casts an instance of type SpatialEntityData to GamePhysicsEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other SpatialEntityData The instance to cast to GamePhysicsEntityData.

GamePhysicsEntityData

GamePhysicsEntityData(other: EntityData)

Casts an instance of type EntityData to GamePhysicsEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other EntityData The instance to cast to GamePhysicsEntityData.

GamePhysicsEntityData

GamePhysicsEntityData(other: GameObjectData)

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

Parameters

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

GamePhysicsEntityData

GamePhysicsEntityData(other: GameDataContainer)

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

Parameters

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

GamePhysicsEntityData

GamePhysicsEntityData(other: DataContainer)

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

Parameters

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

Properties

physicsData

PhysicsEntityData | nil

Static members

typeInfo

TypeInformation

The type information for the GamePhysicsEntityData type.

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