myspace / Docs /LuaDoc_cameraFly.md.html
sirnii's picture
Upload 1816 files
b6a38d7 verified
raw
history blame
1.33 kB
# cameraFly reference
## cameraFly.Activate
Activates the fly the camera.
void **cameraFly.Activate**(int view)
int view
: set 1 for the first view. Set 0 to deactivate all the views.
## cameraFly.DisableStickMovesChange
Disables the change of s_CameraFly_LeftStickMovesFlat/s_CameraFly_RightStickYMovesUpDown when LT-B/RT-B is pressed.
void **cameraFly.DisableStickMovesChange**(int view)
## cameraFly.EnableStickMovesChange
Enables the change of s_CameraFly_LeftStickMovesFlat/s_CameraFly_RightStickYMovesUpDown when LT-B/RT-B is pressed.
void **cameraFly.EnableStickMovesChange**(int view)
## cameraFly.IsActive
Check if the Fly camera is active.
bool **cameraFly.IsActive**()
## cameraFly.SetCamera
Set camera position and 'look at' point
void **cameraFly.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
(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>