Matrix44CreateLookAt(Vector3, Vector3, Vector3, Matrix44) Method |
Namespace: CFX.Structures.GeometryAssembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntaxpublic static void CreateLookAt(
ref Vector3 cameraPosition,
ref Vector3 cameraTarget,
ref Vector3 cameraUpVector,
out Matrix44 result
)
Public Shared Sub CreateLookAt (
ByRef cameraPosition As Vector3,
ByRef cameraTarget As Vector3,
ByRef cameraUpVector As Vector3,
<OutAttribute> ByRef result As Matrix44
)
Parameters
- cameraPosition Vector3
- Position of the camera.
- cameraTarget Vector3
- Lookup vector of the camera.
- cameraUpVector Vector3
- The direction of the upper edge of the camera.
- result Matrix44
- The viewing Matrix44 as an output parameter.
See Also