CameraComponentData

Inherits from ComponentData

Summary

Constructors

CameraComponentData()
CameraComponentData(guid: Guid)
CameraComponentData(other: ComponentData)
CameraComponentData(other: GameObjectData)
CameraComponentData(other: GameDataContainer)
CameraComponentData(other: DataContainer)

Properties

Name Type
cameraTransitionPos Vec3
fieldOfView float
forceFieldOfView float
camera TargetCameraData | nil
alternateView AlternateCameraViewData | nil
regularView RegularCameraViewData
freezeHeight float
stanceData StanceCameraData
cameraSoundData CameraComponentSoundData | nil
soldierAnimatedCamera SoldierAnimatedCameraData
cameraTransitionTime float
meshParentComponentNumber int
enableCameraMesh bool
receiveImpulsesAsThirdPerson bool
useCameraTransition bool
alternateViewEnabled bool
isFirstPerson bool
ignoreOwnerOrientation bool

Static members

Name Type
CameraComponentData.typeInfo TypeInformation

Constructors

CameraComponentData

CameraComponentData()

Creates a new CameraComponentData frostbite instance.

CameraComponentData

CameraComponentData(guid: Guid)

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

Parameters

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

CameraComponentData

CameraComponentData(other: ComponentData)

Casts an instance of type ComponentData to CameraComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other ComponentData The instance to cast to CameraComponentData.

CameraComponentData

CameraComponentData(other: GameObjectData)

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

Parameters

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

CameraComponentData

CameraComponentData(other: GameDataContainer)

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

Parameters

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

CameraComponentData

CameraComponentData(other: DataContainer)

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

Parameters

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

Properties

cameraTransitionPos

Vec3

fieldOfView

float

forceFieldOfView

float

camera

TargetCameraData | nil

alternateView

AlternateCameraViewData | nil

regularView

RegularCameraViewData

freezeHeight

float

stanceData

StanceCameraData

cameraSoundData

CameraComponentSoundData | nil

soldierAnimatedCamera

SoldierAnimatedCameraData

cameraTransitionTime

float

meshParentComponentNumber

int

enableCameraMesh

bool

receiveImpulsesAsThirdPerson

bool

useCameraTransition

bool

alternateViewEnabled

bool

isFirstPerson

bool

ignoreOwnerOrientation

bool

Static members

typeInfo

TypeInformation

The type information for the CameraComponentData type.

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