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.
Public Member Functions |
|
__init__ (object pObject) | |
Constructor. |
|
FBDelete () | |
Virtual FBDelete function. |
|
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. |
|
FBPropertyBase | 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. |
__init__ | ( | object | pObject | ) |
Constructor.
Client code cannot instantiate objects of this class. The FBSystem class provides access to the current scene object.
pObject | Internal parent object. |
Reimplemented from FBComponent.
FBDelete | ( | ) |
Clear | ( | ) |
Clears the elements part of the scene. Not those that belong to all the scenes.
bool Evaluate | ( | ) |
bool EvaluateDeformations | ( | ) |
List: Takes for scene.
FBPropertyModel RootModel |
Read Only Property: Scene Root model for that scene.
List: Cameras in scene.
List: Materials for scene.
List: Textures for scene.
List: Shaders for scene.
List: Deformers for scene.
List: Devices for scene.
List: Constraints in scene.
List: Lights in scene.
List: Audio clips in scene.
List: Video clips in scene.
List: Motion clips in scene.
List: Folders in scene.
List: Notes in scene.
List: Poses in scene.
List: ObjectPoses in scene.
List: Actors in scene.
List: ActorFaces in scene.
List: Marker sets in scene.
List: Control set rigs in scene.
List: Characters in scene.
List: Character faces in scene.
List: Character poses in scene.
List: Character extensions available in the scene.
List: User objects.
FBPropertyProjectSettings ProjectSettings |
Read Only Property: Local project settings.
FBPropertyRenderer Renderer |
Read Only Property: Local renderer.
List: Groups available in the scene.
List: Sets available in the scene.
List: Handles present in the scene.
List: Constraint Solvers present in the scene.
List: PhysicalProperties present in the scene.
FBPropertyBase LocalTime |
Read Write Property: Local time in the scene.
FBPropertyEvent OnChange |
FBPropertyEvent OnTakeChange |