cam class in Command line interface

Camera object with the automatic target tracking ability.

13 members:

type and namedescriptioncomments
integer cam_tracking
integer, 0 .. 3
  • 0 = Off
  • 1 = Position only
  • 2 = Chase
  • 3 = Static camera
  • Tracking mode  
    float cam_trspeed
    floating point, 0.1 .. 10
    Tracking speed  
    integer cam_distrac
    integer, 0 .. 1 (false/true)
    Suspend tracking Suspend automatic tracking when camera is moved manually 
    integer cam_restrac
    integer, 0 .. 100
    Restore tracking Restore automatic tracking after some period of time 
    function cam_restore
    function
    Restore now Update camera position and restore tracking 
    integer cam_change
    integer, 0 .. 5
  • 0 = Off
  • 1 = Cut
  • 2 = Move
  • 3 = Look+Move
  • 4 = Zoom+Move
  • 5 = Zoom+Cut
  • Target change  
    float cam_chspeed
    floating point, 0.1 .. 10
    Change speed  
    float cam_zoom
    floating point, 0.2 .. 3
    Zoom  
    float cam_dir
    floating point, 0 .. 360
    Direction  
    float cam_h
    floating point, 0 .. 360
    Height 0=side view, 90=top view 
    function setTarget
    function
    setTarget  
    function moveTarget
    function
    moveTarget  
    function setViewDir
    function
    setViewDir  

    Global context>>Experiment definition>>Command line interface