Public Member Functions | Public Attributes

FBScene Class Reference

This reference page is linked to from the following overview topics: Your First Python Program, Naming Conventions, FBSystem - The System Class, Scene Elements, FBScene - The Scene Class, FBModel - Transformation Data and the Scene Graph.


Search for all occurrences

Detailed Description

Access to the MotionBuilder scene.

In MotionBuilder, the scene is the environment where your models exist. The scene contains models which you can import, select, transform, copy, tweak, and animate.

The FBScene object is obtained from the scene attribute of FBSystem.

The FBScene class contains many attributes that you can use to access objects, e.g cameras, characters, lights, and takes, essentially everything you see in the Navigator in the UI. A project can only contain one scene, and if you try to create an instance of a scene you will get an error, so you must access the scene by getting a handle through FBSystem.

    myScene = FBSystem().Scene

See also the C++ code sample in toolscene.

Definition at line 272 of file fbscene.h.

#include <fbscene.h>

Inheritance diagram for FBScene:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  FBScene (HIObject pObject)
  Constructor.
virtual void  FBDelete ()
  Virtual FBDelete function.
K_DEPRECATED void  Clear ()
bool  Evaluate ()
  Evaluate the scene.
bool  EvaluateDeformations ()
  Evaluate the deformations of the scene.

Public Attributes

FBPropertyListTake  Takes
  List: Takes for scene.
FBPropertyModel  RootModel
  Read Only Property: Scene Root model for that scene
FBPropertyListCamera  Cameras
  List: Cameras in scene.
FBPropertyListMaterial  Materials
  List: Materials for scene.
FBPropertyListTexture  Textures
  List: Textures for scene.
FBPropertyListShader  Shaders
  List: Shaders for scene.
FBPropertyListDeformer  Deformers
  List: Deformers for scene.
FBPropertyListDevice  Devices
  List: Devices for scene.
FBPropertyListConstraint  Constraints
  List: Constraints in scene.
FBPropertyListLight  Lights
  List: Lights in scene.
FBPropertyListAudioClip  AudioClips
  List: Audio clips in scene.
FBPropertyListVideoClip  VideoClips
  List: Video clips in scene.
FBPropertyListMotionClip  MotionClips
  List: Motion clips in scene.
FBPropertyListFolder  Folders
  List: Folders in scene.
FBPropertyListNote  Notes
  List: Notes in scene.
FBPropertyListPose  Poses
  List: Poses in scene.
FBPropertyListObjectPose  ObjectPoses
  List: ObjectPoses in scene.
FBPropertyListActor  Actors
  List: Actors in scene.
FBPropertyListActorFace  ActorFaces
  List: ActorFaces in scene.
FBPropertyListMarkerSet  MarkerSets
  List: Marker sets in scene.
FBPropertyListControlSet  ControlSets
  List: Control set rigs in scene.
FBPropertyListCharacter  Characters
  List: Characters in scene.
FBPropertyListCharacterFace  CharacterFaces
  List: Character faces in scene.
FBPropertyListCharacterPose  CharacterPoses
  List: Character poses in scene.
FBPropertyListCharacterExtension  CharacterExtensions
  List: Character extensions available in the scene.
FBPropertyListUserObject  UserObjects
  List: User objects
FBPropertyProjectSettings  ProjectSettings
  Read Only Property: Local project settings
FBPropertyRenderer  Renderer
  Read Only Property: Local renderer
FBPropertyListComponent  Components
  List: Generic List of components.
FBPropertyListGroup  Groups
  List: Groups available in the scene.
FBPropertyListSet  Sets
  List: Sets available in the scene.
FBPropertyListHandle  Handles
  List: Handles present in the scene.
FBPropertyListConstraintSolver  ConstraintSolvers
  List: Constraint Solvers present in the scene.
FBPropertyListPhysicalProperties  PhysicalProperties
  List: PhysicalProperties present in the scene.
FBPropertyTime  LocalTime
  Read Write Property: Local time in the scene.
FBPropertyEvent  OnChange
  Event: Something in the scene has happened.
FBPropertyEvent  OnTakeChange
  Event: Something related to a take has happened.

Constructor & Destructor Documentation

FBScene ( HIObject  pObject )

Constructor.

Client code cannot instantiate objects of this class. The FBSystem class provides access to the current scene object.

Parameters:
pObject Internal parent object.

Member Function Documentation

virtual void FBDelete ( ) [virtual]

Virtual FBDelete function.

Reimplemented from FBComponent.

K_DEPRECATED void Clear ( )
Deprecated:
Use FBApplication::FileNew() instead.

Clears the elements part of the scene. Not those that belong to all the scenes.

bool Evaluate ( )

Evaluate the scene.

Returns:
true if successful.
bool EvaluateDeformations ( )

Evaluate the deformations of the scene.

Returns:
true if successful.

Member Data Documentation

List: Takes for scene.

Definition at line 307 of file fbscene.h.

FBPropertyModel RootModel

Read Only Property: Scene Root model for that scene

Definition at line 308 of file fbscene.h.

List: Cameras in scene.

Definition at line 309 of file fbscene.h.

List: Materials for scene.

Definition at line 310 of file fbscene.h.

List: Textures for scene.

Definition at line 311 of file fbscene.h.

List: Shaders for scene.

Definition at line 312 of file fbscene.h.

List: Deformers for scene.

Definition at line 313 of file fbscene.h.

List: Devices for scene.

Definition at line 314 of file fbscene.h.

List: Constraints in scene.

Definition at line 315 of file fbscene.h.

List: Lights in scene.

Definition at line 317 of file fbscene.h.

List: Audio clips in scene.

Definition at line 319 of file fbscene.h.

List: Video clips in scene.

Definition at line 322 of file fbscene.h.

List: Motion clips in scene.

Definition at line 325 of file fbscene.h.

List: Folders in scene.

Definition at line 328 of file fbscene.h.

List: Notes in scene.

Definition at line 332 of file fbscene.h.

List: Poses in scene.

Definition at line 336 of file fbscene.h.

List: ObjectPoses in scene.

Definition at line 337 of file fbscene.h.

List: Actors in scene.

Definition at line 341 of file fbscene.h.

List: ActorFaces in scene.

Definition at line 342 of file fbscene.h.

List: Marker sets in scene.

Definition at line 346 of file fbscene.h.

List: Control set rigs in scene.

Definition at line 347 of file fbscene.h.

List: Characters in scene.

Definition at line 348 of file fbscene.h.

List: Character faces in scene.

Definition at line 349 of file fbscene.h.

List: Character poses in scene.

Definition at line 350 of file fbscene.h.

List: Character extensions available in the scene.

Definition at line 351 of file fbscene.h.

List: User objects

Definition at line 355 of file fbscene.h.

FBPropertyProjectSettings ProjectSettings

Read Only Property: Local project settings

Definition at line 359 of file fbscene.h.

FBPropertyRenderer Renderer

Read Only Property: Local renderer

Definition at line 362 of file fbscene.h.

List: Generic List of components.

Reimplemented from FBComponent.

Definition at line 363 of file fbscene.h.

List: Groups available in the scene.

Definition at line 364 of file fbscene.h.

List: Sets available in the scene.

Definition at line 365 of file fbscene.h.

List: Handles present in the scene.

Definition at line 368 of file fbscene.h.

List: Constraint Solvers present in the scene.

Definition at line 371 of file fbscene.h.

List: PhysicalProperties present in the scene.

Definition at line 372 of file fbscene.h.

Read Write Property: Local time in the scene.

Definition at line 374 of file fbscene.h.

Event: Something in the scene has happened.

(FBEventSceneChange)

Definition at line 376 of file fbscene.h.

Event: Something related to a take has happened.

(FBEventTakeChange)

Definition at line 377 of file fbscene.h.


The documentation for this class was generated from the following file:

FBScene FBScene FBScene FBScene FBScene FBScene FBScene FBScene FBScene FBScene
FBScene FBScene FBScene FBScene FBScene FBScene FBScene FBScene FBScene FBScene