Summary
Gets the transform of an available camera from a scene view or the scene.
- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor - Containing Type
- IGEditorUtils
Syntax
public static void GetCurrentCameraTransform(out Vector3 position, out Quaternion rotation)
Parameters
| Name | Type | Description |
|---|---|---|
| position | Vector3 | |
| rotation | Quaternion |
Return Value
| Type | Description |
|---|---|
| void |