KFbxCameraSwitcher
#include<kfbxcameraswitcher.h>

Inheritance diagram for KFbxCameraSwitcher:

Inheritance graph
[legend]

List of all members.

Detailed Description

This node attribute contains methods for accessing the properties of a camera switcher.

Definition at line63of filekfbxcameraswitcher.h.


Properties

KFbxPropertyInteger1 CameraIndex

Default Animation Values

These functions provides direct access to default animation values specific to a camera switcher.

The default animation values are found in the default take node of the associated node. These functions only work if the camera switcher has been associated with a node.

Camera indices start at 1. Out of range indices are clamped between 1 and the number of cameras in the scene. The index of a camera refers to its order of appearance when searching the node tree depth first.

int GetDefaultCameraIndex()
 Get default camera index.
void SetDefaultCameraIndex(int pIndex)
 Set default camera index.

Public Member Functions

virtual EAttributeType GetAttributeType() const
 Return the type of node attribute which is EAttributeType::eCAMERA_SWITCHER.

Member Function Documentation

virtual EAttributeType GetAttributeType( ) const[virtual]

Return the type of node attribute which is EAttributeType::eCAMERA_SWITCHER.

Reimplemented fromKFbxNodeAttribute.

int GetDefaultCameraIndex( ) 

Get default camera index.

Returns:
Camera index. The return value is an integer between 1 and the number of cameras in the scene, or 0 if there are no default camera set in the camera switcher.

void SetDefaultCameraIndex(int pIndex ) 

Set default camera index.

Parameters:
pIndex Id of the camera to set as default. This parameter has an integer scale from 1 to the number of cameras in the scene. Its default value is 1 if there is at least one camera in the camera switcher, 0 if there are none. No validation checks are made.