LuaDoc_cameraMax.md.html - yasumitsu/JaggedAlliance3Modding GitHub Wiki
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.
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
Check if the Max camera is active.
bool cameraMax.IsActive()
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
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
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
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
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)
<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>