#include <xsi_camerarig.h>
The CameraRig object is a specialized Null object that represents a hierarchy composed of a Camera and its X3DObject interest object.
Each is parented under the same root object i.e. the CameraRig.
using namespace XSI; Application app; Model root = app.GetActiveSceneRoot(); CameraRig myCameraRig; root.AddCameraRig( L"Camera", L"", myCameraRig ); X3DObject interest(myCameraRig.GetCamera().GetInterest());
Public Member Functions |
|
CameraRig () | |
~CameraRig () | |
CameraRig (const CRef &in_ref) | |
CameraRig (const CameraRig &in_obj) | |
bool | IsA (siClassID in_ClassID) const |
siClassID | GetClassID () const |
CameraRig & | operator= (const CameraRig &in_obj) |
CameraRig & | operator= (const CRef &in_ref) |
Camera | GetCamera () const |
CameraRig | ( | ) |
Default constructor.
~CameraRig | ( | ) |
Default destructor.
bool IsA | ( | siClassID | in_ClassID | ) | const [virtual] |
Returns true if a given class type is compatible with this API class.
in_ClassID | class type. |
Reimplemented from Rig.
siClassID GetClassID | ( | ) | const [virtual] |
Creates an object from another object. The newly created object is set to empty if the input object is not compatible.
in_obj | constant class object. |
Camera GetCamera | ( | ) | const |
Returns the camera object of this rig.