Matrix44CreateLookAt(Vector3, Vector3, Vector3) Method |
Namespace: CFX.Structures.GeometryAssembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntaxpublic static Matrix44 CreateLookAt(
Vector3 cameraPosition,
Vector3 cameraTarget,
Vector3 cameraUpVector
)
Public Shared Function CreateLookAt (
cameraPosition As Vector3,
cameraTarget As Vector3,
cameraUpVector As Vector3
) 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.
Return Value
Matrix44The viewing
Matrix44.
See Also