CameraContext.GetUnmodifiedTransform

Method in CameraContext

Declaration

public void GetUnmodifiedTransform(out Vector3 position, out Quaternion rotation)

Description

Calculates the camera position and rotation from the context values without applying any modifiers or overrides.

Parameters

positionThe output position of the camera.
rotationThe output rotation of the camera.