FirstPersonCameraData

Inherits from DataContainer

Summary

Constructors

FirstPersonCameraData()
FirstPersonCameraData(guid: Guid)
FirstPersonCameraData(other: DataContainer)

Properties

Name Type
offset Vec3
weaponBaseOffset Vec3
weaponLagRotationOffset Vec3
rotation Vec3
weaponSpringEffect WeaponLagSpringEffectData | nil
cameraSpringEffect WeaponLagSpringEffectData | nil
moveStrafeModifier float
moveForwardModifier float
rotateYawModifier float
rotatePitchModifier float
rotateRollModifier float
zoomMoveStrafeModifier float
zoomMoveForwardModifier float
zoomRotateYawModifier float
zoomRotatePitchModifier float
zoomRotateRollModifier float
releaseModifier float
releaseModifierPitch float
releaseModifierYaw float
releaseModifierRoll float
offsetReleaseModifier float
zoomReleaseModifierPitch float
zoomReleaseModifierYaw float
zoomReleaseModifierRoll float
zoomOffsetReleaseModifier float
rotationAdditionToOffset float

Static members

Name Type
FirstPersonCameraData.typeInfo TypeInformation

Constructors

FirstPersonCameraData

FirstPersonCameraData()

Creates a new FirstPersonCameraData frostbite instance.

FirstPersonCameraData

FirstPersonCameraData(guid: Guid)

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

Parameters

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

FirstPersonCameraData

FirstPersonCameraData(other: DataContainer)

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

Parameters

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

Properties

offset

Vec3

weaponBaseOffset

Vec3

weaponLagRotationOffset

Vec3

rotation

Vec3

weaponSpringEffect

WeaponLagSpringEffectData | nil

cameraSpringEffect

WeaponLagSpringEffectData | nil

moveStrafeModifier

float

moveForwardModifier

float

rotateYawModifier

float

rotatePitchModifier

float

rotateRollModifier

float

zoomMoveStrafeModifier

float

zoomMoveForwardModifier

float

zoomRotateYawModifier

float

zoomRotatePitchModifier

float

zoomRotateRollModifier

float

releaseModifier

float

releaseModifierPitch

float

releaseModifierYaw

float

releaseModifierRoll

float

offsetReleaseModifier

float

zoomReleaseModifierPitch

float

zoomReleaseModifierYaw

float

zoomReleaseModifierRoll

float

zoomOffsetReleaseModifier

float

rotationAdditionToOffset

float

Static members

typeInfo

TypeInformation

The type information for the FirstPersonCameraData type.

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