IGEditorUtils.

GetCurrentCameraTransform(Vector3, Quaternion) Method

Summary

Gets the transform of an available camera from a scene view or the scene.

Syntax

public static void GetCurrentCameraTransform(out Vector3 position, out Quaternion rotation)

Parameters

Name Type Description
position Vector3
rotation Quaternion

Return Value

Type Description
void