FbxBehavior.FbxBehavior Class Reference


Detailed Description

Associate nodes in the Maui scene graph with nodes in the fbx scene graph specified.

This behaviour allows the Maui node to be driven by the fbx node for animation.

#include <class_fbx_behavior_1_1_fbx_behavior.h>

Inheritance diagram for FbxBehavior.FbxBehavior:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  __init__ ()
  isUniqueName ()
  getDefaultImage ()
  getDefaultIcon ()
  getParameterType ()
  Provide the type for behavior parameters that are not a standard python type.
  getDuration ()
  setOriginalModelId ()
  getOriginalModelId ()
  addNodes ()
  Add nodes to this behaviour.
  removeNodes ()
  Nodes being removed currently means the behavior is being deleted.
  initParameters ()
  This is called after a behavior has been read from file.
  loadFbxFile ()
  This reads the given fbx file, and builds the data structures that reflect the fbx file contents.
  findSceneNodesToMatchFbx ()
  findSceneNodesToMatchFbxDuringImport ()
  removeIfAnimationInvalid ()
  setParameterValue ()
  Sets the value of a given parameter.
  getNewPercentage ()
  update ()
  Implement this method in subclasses to perform the actual behavior.
  isLoaded ()
  preWrite ()
  Lets behavior do custom I/O in a plugin fashion before the companion dir is setup.
  basename ()
  Return a basename that will be used to build names and labels.

Public Attributes

  kIsAxisUpAndUnitEnabled = True
  kPropIgnoreSelected = True
  details

Member Function Documentation

FbxBehavior.FbxBehavior.__init__ ( )
FbxBehavior.FbxBehavior.isUniqueName ( )
FbxBehavior.FbxBehavior.getDefaultImage ( )
FbxBehavior.FbxBehavior.getDefaultIcon ( )
FbxBehavior.FbxBehavior.getParameterType ( )

Provide the type for behavior parameters that are not a standard python type.

Reimplemented from Behavior.Behavior.

FbxBehavior.FbxBehavior.getDuration ( )
FbxBehavior.FbxBehavior.setOriginalModelId ( )
FbxBehavior.FbxBehavior.getOriginalModelId ( )
FbxBehavior.FbxBehavior.addNodes ( )

Add nodes to this behaviour.

Returns true if any new nodes have been added to the behavior.

Reimplemented from Behavior.Behavior.

Reimplemented in KeyframeAnimation.KeyframeAnimation.

FbxBehavior.FbxBehavior.removeNodes ( )

Nodes being removed currently means the behavior is being deleted.

So we need to disassociate the scene nodes from this behavior.

Reimplemented from Behavior.Behavior.

Reimplemented in KeyframeAnimation.KeyframeAnimation.

FbxBehavior.FbxBehavior.initParameters ( )

This is called after a behavior has been read from file.

At this point, we should initialize the internal fbx items from the two essential parameters: nodes list, fbx nodes list.

Reimplemented from Behavior.Behavior.

Reimplemented in KeyframeAnimation.KeyframeAnimation.

FbxBehavior.FbxBehavior.loadFbxFile ( )

This reads the given fbx file, and builds the data structures that reflect the fbx file contents.

FbxBehavior.FbxBehavior.findSceneNodesToMatchFbx ( )
FbxBehavior.FbxBehavior.findSceneNodesToMatchFbxDuringImport ( )
FbxBehavior.FbxBehavior.removeIfAnimationInvalid ( )
FbxBehavior.FbxBehavior.setParameterValue ( )

Sets the value of a given parameter.

Reimplemented from Behavior.Behavior.

Reimplemented in KeyframeAnimation.KeyframeAnimation.

FbxBehavior.FbxBehavior.getNewPercentage ( )
FbxBehavior.FbxBehavior.update ( )

Implement this method in subclasses to perform the actual behavior.

timestep is in seconds.

Reimplemented from Behavior.Behavior.

Reimplemented in KeyframeAnimation.KeyframeAnimation.

FbxBehavior.FbxBehavior.isLoaded ( )
FbxBehavior.FbxBehavior.preWrite ( )

Lets behavior do custom I/O in a plugin fashion before the companion dir is setup.

Reimplemented from Behavior.Behavior.

Reimplemented in KeyframeAnimation.KeyframeAnimation.

FbxBehavior.FbxBehavior.basename ( )

Return a basename that will be used to build names and labels.

Derived classes will typically override this method.

Reimplemented from Behavior.Behavior.

Reimplemented in KeyframeAnimation.KeyframeAnimation.


Member Data Documentation


FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior
FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior FbxBehavior.FbxBehavior