GET_CAM_MATRIX
Returns the world matrix of the specified camera. To turn this into a view matrix, calculate the inverse.
CFX
Signature
lua
GetCamMatrix(camera, rightVector, forwardVector, upVector, position)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Cam | — | |
| Vector3* | — | |
| Vector3* | — | |
| Vector3* | — | |
| Vector3* | — |
Usage
lua
GetCamMatrix(camera, rightVector, forwardVector, upVector, position)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
