iscenecamera
A camera.
The world is rendered through cameras.
Inherits from iscenenode
Contents
| Name | Description |
|---|---|
| bindtarget( bind ) | Lock on |
| gettarget( ) | Gets the target of a camera |
| settarget( target ) | Set the camera's target |
bindtarget( boolean bind )
Lock on
Should the camera be locked on to something?
Parameters
-
bind (boolean)
Should the camera be locked on to it's "lookat"?
Defined at client/lua_api/scene/icamera.cpp:149
gettarget( )
Gets the target of a camera
Gets the vector that a camera is looking at
Returns
-
The vector that the camera is looking at
Defined at client/lua_api/scene/icamera.cpp:167
settarget( vector3d target )
Set the camera's target
Forcefully set the rotation the camera should be looking
Parameters
-
target (vector3d)
The vector that the camera should be looking at
Defined at client/lua_api/scene/icamera.cpp:183