shotresource

 Function Name  Parameter  Return  Explain
getTimeLength None number  
setTimeLength number None  
getPosition None vec  
setPosition vec None  
getRotation None vec rot Retrieves the orientation of the shot.

Return Values

rot.x : pitch -- around the x-axis
rot.y
: yaw -- around the y-axis
rot.z
: roll -- around the z-axis

setRotation vec rot None Sets  the orientation of the shot.
getFOV None number  
setFOV number None  
isOrtho None boolean orthographic
setOrtho boolean None  
getViewMatrix None matrix Retrieves the view matrix of the shot.
getProjMatrix None matrix Retrieves the projection matrix of the shot.

Styles List:

SHOTS_CIRCLE -- circle
SHOTS_NOTAFFECTCAM -- not affect camera