VehicleCameraData

Inherits from TargetCameraData

Summary

Constructors

VehicleCameraData()
VehicleCameraData(guid: Guid)
VehicleCameraData(other: TargetCameraData)
VehicleCameraData(other: CameraData)
VehicleCameraData(other: GameObjectData)
VehicleCameraData(other: GameDataContainer)
VehicleCameraData(other: DataContainer)

Properties

Name Type
moveToPosition Vec3
moveToPositionSlopeFactor Vec3
targetOffset Vec3
targetOffsetSlopeFactor Vec3
rotationFactor Vec3
positionFactor float
resetDistance float
fixedPosition bool
fixedAngleZ bool
useTerrainAdjustment bool

Static members

Name Type
VehicleCameraData.typeInfo TypeInformation

Constructors

VehicleCameraData

VehicleCameraData()

Creates a new VehicleCameraData frostbite instance.

VehicleCameraData

VehicleCameraData(guid: Guid)

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

Parameters

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

VehicleCameraData

VehicleCameraData(other: TargetCameraData)

Casts an instance of type TargetCameraData to VehicleCameraData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other TargetCameraData The instance to cast to VehicleCameraData.

VehicleCameraData

VehicleCameraData(other: CameraData)

Casts an instance of type CameraData to VehicleCameraData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other CameraData The instance to cast to VehicleCameraData.

VehicleCameraData

VehicleCameraData(other: GameObjectData)

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

Parameters

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

VehicleCameraData

VehicleCameraData(other: GameDataContainer)

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

Parameters

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

VehicleCameraData

VehicleCameraData(other: DataContainer)

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

Parameters

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

Properties

moveToPosition

Vec3

moveToPositionSlopeFactor

Vec3

targetOffset

Vec3

targetOffsetSlopeFactor

Vec3

rotationFactor

Vec3

positionFactor

float

resetDistance

float

fixedPosition

bool

fixedAngleZ

bool

useTerrainAdjustment

bool

Static members

typeInfo

TypeInformation

The type information for the VehicleCameraData type.

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