Download Docs/LuaDoc_cameraMax.md.html from sirnii/myspace: direct link, hf CLI and curl.
- Browser
- Download file 2.42 kB
-
https://huggingface.co/spaces/sirnii/myspace/resolve/main/Docs/LuaDoc_cameraMax.md.html
- Command line
-
hf download hf://spaces/sirnii/myspace/Docs/LuaDoc_cameraMax.md.html
-
curl -L -o LuaDoc_cameraMax.md.html https://huggingface.co/spaces/sirnii/myspace/resolve/main/Docs/LuaDoc_cameraMax.md.html
2.42 kB
| # cameraMax reference | |
| ## cameraMax.Activate | |
| Activates the Max the camera. | |
| void **cameraMax.Activate**(int view) | |
| int view | |
| : set 1 for the first view. Set 0 to deactivate all the views. | |
| ## cameraMax.GetPosLookAt | |
| Returns camera position and 'look at' point | |
| void **cameraMax.GetPosLookAt**([int view]) | |
| int view | |
| : optional, set 1 for the first view | |
| _returns_ point pos, point look_at | |
| : camera position and 'look at' point | |
| ## cameraMax.IsActive | |
| Check if the Max camera is active. | |
| bool **cameraMax.IsActive**() | |
| ## cameraMax.SetAnimObj | |
| Attach camera to the object spot "Camera", looking to another object spot "Target". Camera horizontal FOV is controlled by the spot scale, interpret as radians multiplied by 1000. | |
| void **cameraMax.SetAnimObj**(object obj, [int view]) | |
| int view | |
| : optional, set 1 for the first view | |
| ## cameraMax.SetCamera | |
| Set camera position and 'look at' point | |
| void **cameraMax.SetCamera**(point pos, point look_at, [int time]) | |
| point pos | |
| : new position of the camera. | |
| point look_at | |
| : new look at position of the camera. | |
| int time | |
| : time (ms) to interpolate to the new camera | |
| ## cameraMax.SetCameraEx | |
| Set camera position and 'look at' point | |
| void **cameraMax.SetCameraEx**(int view, point pos, point look_at, [int time]) | |
| int view | |
| : set 1 for the first view. | |
| point pos | |
| : new position of the camera. | |
| point look_at | |
| : new look at position of the camera. | |
| int time | |
| : time (ms) to interpolate to the new camera | |
| ## cameraMax.SetCameraPrecise | |
| Set camera position and 'look at' point | |
| void **cameraMax.SetCameraPrecise**(point pos, point look_at, [int time]) | |
| point pos | |
| : new position of the camera multiplied by 1000. | |
| point look_at | |
| : new look at position of the camera multiplied by 1000. | |
| int time | |
| : time (ms) to interpolate to the new camera | |
| ## cameraMax.SetPositionLookatAndRoll | |
| Set camera position,'look at' and roll | |
| void **cameraMax.SetPositionLookatAndRoll**(point pos, point look_at, int roll) | |
| point pos | |
| : new position of the camera. | |
| point look_at | |
| : new look at position of the camera. | |
| int roll | |
| : roll angle in minutes | |
| (insert footer.md.html here) | |
| <link rel="stylesheet" type="text/css" href="Style.css" /> | |
| <!-- Markdeep: --><style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src="markdeep.min.js" charset="utf-8"></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script> |