CameraData

Inherits from GameObjectData

Summary

Constructors

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

Properties

Name Type
occlusionRayOffset Vec3
shakeFactor float
preFadeTime float
fadeTime float
fadeWaitTime float
soundListenerRadius float
viewFx ViewFxData | nil
nearPlane float
shadowViewDistanceScale float
soundOcclusion float
stayFadedWhileStreaming bool

Static members

Name Type
CameraData.typeInfo TypeInformation

Constructors

CameraData

CameraData()

Creates a new CameraData frostbite instance.

CameraData

CameraData(guid: Guid)

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

Parameters

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

CameraData

CameraData(other: GameObjectData)

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

Parameters

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

CameraData

CameraData(other: GameDataContainer)

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

Parameters

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

CameraData

CameraData(other: DataContainer)

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

Parameters

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

Properties

occlusionRayOffset

Vec3

shakeFactor

float

preFadeTime

float

fadeTime

float

fadeWaitTime

float

soundListenerRadius

float

viewFx

ViewFxData | nil

nearPlane

float

shadowViewDistanceScale

float

soundOcclusion

float

stayFadedWhileStreaming

bool

Static members

typeInfo

TypeInformation

The type information for the CameraData type.

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