[]
Creates a view matrix.
public static void LookAtRef(out Matrix4x4 result, ref Vector3 cameraPosition, ref Vector3 cameraTarget, ref Vector3 cameraUpVector)
Public Shared Sub LookAtRef(ByRef result As Matrix4x4, ByRef cameraPosition As Vector3, ByRef cameraTarget As Vector3, ByRef cameraUpVector As Vector3)
| Type | Name | Description |
|---|---|---|
| Matrix4x4 | result | The view matrix. |
| Vector3 | cameraPosition | The position of the camera. |
| Vector3 | cameraTarget | The target towards which the camera is pointing. |
| Vector3 | cameraUpVector | The direction that is "up" from the camera's point of view. |