SetCameraMatrix
Jump to navigation
Jump to search
This function sets the camera's position and direction. The first three arguments are the point at which the camera lies, the last three are the point the camera faces (the point it "looks at").
Syntax
bool setCameraMatrix ( float positionX, float positionY, float positionZ, float lookAtX, float lookAtY, float lookAtZ )
Required Arguments
- positionX: The x coordinate of the camera's position.
- positionY: The y coordinate of the camera's position.
- positionZ: The z coordinate of the camera's position.
- lookAtX: The x coordinate of the point the camera faces.
- lookAtY: The y coordinate of the point the camera faces.
- lookAtZ: The z coordinate of the point the camera faces.
Returns
Returns true if the arguments are valid, false otherwise.
Example
Pending..
moo?