CameraState
struct in Unity.Cinemachine · Unity.Cinemachine
13 of 14 of Unity's members
In Tassix
A camera's pose and lens as a virtual camera's pipeline builds it: the raw pose components set, corrections extensions add, the up and look-at reference points.
Fields 11
BlendHints BlendHintLensSettings LensQuaternion OrientationCorrectionVector3 PositionCorrectionQuaternion RawOrientationVector3 RawPositionVector3 ReferenceLookAtVector3 ReferenceUpQuaternion RotationDampingBypassfloat ShotQualitystatic Vector3 kNoPointMarks an unset point (no look-at target).
Properties 1
static CameraState Default { get; }Methods 6
Quaternion GetCorrectedOrientation()Vector3 GetCorrectedPosition()Quaternion GetFinalOrientation()The corrected orientation, rolled by the lens's dutch angle.
Vector3 GetFinalPosition()bool HasLookAt()static CameraState Lerp(in CameraState stateA, in CameraState stateB, float t)Blends two states: positions and lenses lerp, orientations slerp (aiming at a blended look-at point when both have one).
Not in Tassix yet 1
AddCustomBlendable