User Tools

Site Tools


4rpl:commands:setrplcam

This is an old revision of the document!


Index

SetRPLCam

SetRPLCam(<-rplCam)

Description

Sets if the camera is controlled by RPL. When in this mode, the camera position and rotation must be set by rpl immediately after this call, otherwise the Camera will be placed at 0,0,0 looking straight north (orientation of 0,0,0).

This API disables all camera control when set to true. Camera control must be substituted by RPL.

Examples

SetRPLCam(true)
GetCameraPosition ->cameraPos
GetCameraRotation ->cameraRot
 
SetRPLCam(true)
SetRPLCamPosition(<-cameraPos) #So the camera isn't sitting at 0,0,0.
SetRPLCamRotation(<-cameraRot) #So the camera isn't oriented as 0,0,0.

Index

4rpl/commands/setrplcam.1692819976.txt.gz · Last modified: 2023/08/23 15:46 by Vertu