FBModel Class Reference


Detailed Description

Model class.

In the MotionBuilder UI, a model can be any object in a scene, created using geometry. Models can represent simple objects like cubes, or complex objects like characters.

FBModel is a base class which is not used so much directly, but is the parent of well-used classes like FBCamera, FBLight, and FBModelMarker.

It also implements a number of widely-implemented functions and attributes, such as:

  1. Clone(), FBDelete()

  2. UI attributes such as Show, Pickable, and Visibility

  3. Positional attributes such as Rotation, Scaling, and Translation The following Python snippet shows how to create, show, rotate, and delete a cube

        from pyfbsdk import *
        myCube = FBModelCube("cube")
        myCube.Show = True
        myCube.Rotation = FBVector3d(45, 45, 45)
        myCube.FBDelete()
    

There is a few ways to get a handle on existing models in a scene:

  1. FBFindObjectsByName return a list of objects matching a pattern (can contain *). For usage, see: FindObjectsWithWildcard.py

  2. If you know the name of the model, use FBFindModelByLabelName, as demonstrated in FBComponent.py.

  3. FBGetSelectedModels can get a handle to an object which is derived from FBModel. It searches the scene for a model, based on the model's unique name and returns a list of all the selected things in the scene.

Examples
Tasks/ResetLocalTranslationRotation.py
Inheritance diagram for FBModel:

List of all members.

Public Member Functions

bool SetAdditionalUniqueColorIDCount (int pCount)
 Request additional Unique color IDs.
int GetAdditionalUniqueColorIDCount ()
 Get additional unique color count.
FBColor GetAdditionalUniqueColorID (int pIndex)
 Get Additional Unique Color Id.
bool FbxStore (FBFbxObject pFbxObject, kFbxObjectStore pStoreWhat)
 Store and Retrieve function that can be overloaded.
bool FbxRetrieve (FBFbxObject pFbxObject, kFbxObjectStore pStoreWhat)
 SetupPropertiesForShapes ()
 Setup Shape Properties.
str FbxGetObjectType ()
 Returns the class type inherited by the class of an object, for example: 'Model'.
str FbxGetObjectSubType ()
 Returns the class sub type inherited by the class of an object, for example: 'Default', 'Mesh'.
 __init__ (str pName, object pObject=None)
 Constructor.
 FBDelete ()
 Open Reality deletion function.
 IQuery_Declare (K_IMPLEMENTATION)
 Interface to IObject.
 ICallback_Declare (K_IMPLEMENTATION)
 Interface to ICallback.
FBModel Clone ()
 Clone the model.
 SetMatrix (FBMatrix pMatrix, FBModelTransformationType pWhat=kModelTransformation, bool pGlobalInfo=True, bool pPushUndo=False, FBEvaluateInfo pEvaluateInfo=None)
 Set a matrix for the model.
 GetMatrix (FBMatrix pMatrix, FBModelTransformationType pWhat=kModelTransformation, bool pGlobalInfo=True, FBEvaluateInfo pEvaluateInfo=None)
 Get a matrix from the model.
 SetVector (FBVector3 pVector, FBModelTransformationType pWhat=kModelTranslation, bool pGlobalInfo=True, bool pPushUndo=False, FBEvaluateInfo pEvaluateInfo=None)
 Set a vector for the model.
 GetVector (FBVector3 pVector, FBModelTransformationType pWhat=kModelTranslation, bool pGlobalInfo=True, FBEvaluateInfo pEvaluateInfo=None)
 Get a vector from the model.
bool IsEvaluationReady (FBModelEvaluationTaskType pWhat, FBEvaluateInfo pEvaluateInfo=None)
 Is the model's evaluation task result ready.
 MatrixToRotation (FBVector3 pRotation, FBMatrix pMatrix)
 Convert Rotation Matrix to Euler Vector based on model's rotation order.
 RotationToMatrix (FBMatrix pMatrix, FBVector3 pRotation)
 Convert Euler Vector to Rotation Matrix based on model's rotation order.
 LRMToDof (FBVector3 pDof, FBMatrix pLM)
 Convert local matrix to object space vector.
 DofToLRM (FBMatrix pLM, FBVector3 pDof)
 Convert object space vector to local matrix.
 SetSchematicPosition (int pX, int pY)
 Set the position in the schematic view for the model.
 SetSchematicPosition (FBVector2 pVector2d)
 Set the position in the schematic view for the model.
FBVector2 GetSchematicPosition ()
 Get the position in the schematic view for the model.
 GetBoundingBox (FBVector3 pMin, FBVector3 pMax)
 Get the bounding box of the model.
bool IsVisible (FBEvaluateInfo pEvaluateInfo=None)
 If the model is visible.
FBModelCullingMode GetCullingMode ()
 Get Model Culling Mode.
 SetCullingMode (FBModelCullingMode pCullingMode)
 Set Model Cullin Mode.
 ForceAlwaysEvaluate ()
 Force Always Evaluate.
bool IsForceAlwaysEvaluate ()
 Return Force Always Evaluate status.
int NoFrustumCullingRequire ()
 Acquire no frustum culling request.
int NoFrustumCullingRelease ()
 Release no frustum culling request.
bool UseFrustumCulling ()
 Get the current Frustum Culling Status.
bool HasCustomDisplay ()
 Function to overload to handle custom display.
 CustomModelDisplay (FBCamera pCamera, FBModelShadingMode pShadingMode, FBModelRenderPass pRenderPass, float pPickingAreaWidth, float pPickingAreaHeight)
 Custom display function, called when HasCustomDisplay returns true;.
bool CustomModelPicking (int pNbHits, int pSelectBuffer, FBCamera pCamera, int pMouseX, int pMouseY, FBVector4 pLocalRaySrc, FBVector4 pLocalRayDir, FBVector4 pWorldRaySrc, FBVector4 pWorldRayDir, FBMatrix pGlobalInverseMatrix, FBVector4 pOutPickedPoint)
 Custom picking for selection, called when HasCustomDisplay returns true;.
bool ClosestRayIntersection (FBVector4 pRayOrigin, FBVector4 pRayEnd, FBVector4 pIntersectPos, FBVector4 pIntersectNormal)
 Determines the first intersection point's position and normal between ray and model surface.
str GetSelectedPoints ()
 Get the list of the points selection state.
int GetSelectedPointsCount ()
 Get the number of selected points in the model.

Public Attributes

FBPropertyListModel Children
 List: Children for model.
FBPropertyListShader Shaders
 List: Shaders for model.
FBPropertyListMaterial Materials
 List: Materials for model.
FBPropertyListTexture Textures
 List: Textures with Special UseType (Other than "Color" which should connect to materials).
FBPropertyListDeformer Deformers
 List: Deformers (Skeleton Deformer or Point Cache Deformer).
FBPropertyBase Icon3D
 Read Write Property: Is model a 3D icon?.
FBPropertyBase SoftSelected
 Read Write Property: Is model Soft selected?.
FBPropertyBase IsDeformable
 Read Only Property: Is model deformable?.
FBPropertyBase IsConstrained
 Read Only Property: Is model constrained?.
FBPropertyBase SkeletonDeformable
 Read Write Property: Model skeleton deformable.
FBPropertyBase BlendShapeDeformable
 Read Write Property: Model blend-shape deformable.
FBPropertyBase ConstrainDeformable
 Read Write Property: Model constraint deformable.
FBPropertyBase PointCacheDeformable
 Read Write Property: Model point cache deformable.
FBPropertyBase PointCacheRecord
 Read Write Property: Record Point Cache for model? Not Savable.
FBPropertyModel Parent
 Read Write Property: Parent model.
FBPropertyModel LookAt
 Read Write Property: Look at model (interest point).
FBPropertyModel UpVector
 Read Write Property: UpVector model.
FBPropertyGeometry Geometry
 Read Write Property: Geometry for the model.
FBPropertyBase GeometryUpdateId
 Read Only Property: model geometry (vertex data) related update id.
FBPropertyMesh TessellatedMesh
 Read Only Property: Tessellated Mesh for the model.
FBPropertyModelVertexData ModelVertexData
 Read Only Property: ModelVertexData for the model.
FBPropertyCluster Cluster
 Read Only Property: Link Cluster for the model.
FBPropertyScene Scene
 Read Only Property: Scene containing the model.
FBPropertyModelShadingMode ShadingMode
 Read Write Property: Shading mode for the model.
FBPropertyAnimationNode AnimationNode
 Read Only Property: Animation node of the model.
FBPropertyModelRotationOrder RotationOrder
 Read Write Property: Rotation order.
FBPropertyBase RotationSpaceForLimitOnly
 Read Write Property: Apply Post Rotation Matrix only for Limits?.
FBPropertyBase RotationActive
 Read Write Property: Is model using Rotation Limits?.
FBPropertyBase PreRotation
 Read Write Property: Pre Rotation (considered if RotationActive is true).
FBPropertyBase PostRotation
 Read Write Property: Post Rotation (considered if RotationActive is true).
FBPropertyBase RotationMin
 Read Write Property: Min Rotation Limit (considered if RotationActive is true).
FBPropertyBase RotationMax
 Read Write Property: Max Rotation Limit (considered if RotationActive is true).
FBPropertyBase RotationMinX
 Read Write Property: Is model using Minimum Rotation Limits On X?.
FBPropertyBase RotationMinY
 Read Write Property: Is model using Minimum Rotation Limits On Y?.
FBPropertyBase RotationMinZ
 Read Write Property: Is model using Minimum Rotation Limits On Z?.
FBPropertyBase RotationMaxX
 Read Write Property: Is model using Maximum Rotation Limits On X?.
FBPropertyBase RotationMaxY
 Read Write Property: Is model using Maximum Rotation Limits On Y?.
FBPropertyBase RotationMaxZ
 Read Write Property: Is model using Maximum Rotation Limits On Z?.
FBPropertyBase TranslationActive
 Read Write Property: Is model using Translation Limits?.
FBPropertyBase TranslationMin
 Read Write Property: Translation Limit Min.
FBPropertyBase TranslationMax
 Read Write Property: Translation Limit Max.
FBPropertyBase TranslationMinX
 Read Write Property: Is model using Translation Limits on Min X.
FBPropertyBase TranslationMinY
 Read Write Property: Is model using Translation Limits on Min Y.
FBPropertyBase TranslationMinZ
 Read Write Property: Is model using Translation Limits on Min Z.
FBPropertyBase TranslationMaxX
 Read Write Property: Is model using Translation Limits on Max X.
FBPropertyBase TranslationMaxY
 Read Write Property: Is model using Translation Limits on Max Y.
FBPropertyBase TranslationMaxZ
 Read Write Property: Is model using Translation Limits on Max Z.
FBPropertyBaseAnimatable Visibility
 Read Write Property: Visibility of model.
FBPropertyBase VisibilityInheritance
 Read Write Property: //!< When this value is set to True the Visibility of this model is also applied to all its descendants.
FBPropertyBaseAnimatable Translation
 Read Write Property: Lcl translation.
FBPropertyBaseAnimatable Rotation
 Read Write Property: Lcl rotation.
FBPropertyBaseAnimatable Scaling
 Read Write Property: Lcl scaling.
FBPropertyBase GeometricTranslation
 Read Write Property: Geometric translation.
FBPropertyBase GeometricRotation
 Read Write Property: Geometric rotation.
FBPropertyBase GeometricScaling
 Read Write Property: Geometric scaling.
FBPropertyBase QuaternionInterpolate
 Read Write Property: Use quaternion interpolation.
FBPropertyBase Show
 Read Write Property: Indicate if the viewer should show the object, according to its visibility value.
FBPropertyBase Pickable
 Read Write Property: Indicate if a model can be picked in the viewer.
FBPropertyBase Transformable
 Read Write Property: Indicate if a model can be transformable in the viewer.
FBPropertyBase UniqueColorId
  Read Only Property: Unique Color Id for color based viewer picking.
FBPropertyBase PrimaryVisibility
 Read Write Property: Control the geometry render state.
FBPropertyBase CastsShadows
 Read Write Property: If true, the geometry will produce shadows.
FBPropertyBase ReceiveShadows
 Read Write Property: If true, the geometry will receive shadows.

Member Function Documentation

bool SetAdditionalUniqueColorIDCount ( int  pCount)

Request additional Unique color IDs.

Parameters:
pCountUser should note that Unique Color ID resource is limited (only 24 bits), hence should avoid to use unnecessary large number.
Returns:
True if Unique ColorId resource is available.
int GetAdditionalUniqueColorIDCount ( )

Get additional unique color count.

Returns:
Additional Unique Color Count.
FBColor GetAdditionalUniqueColorID ( int  pIndex)

Get Additional Unique Color Id.

Parameters:
pIndexthe requested unique color id index, can't be larger than GetAdditionalColorIDCount()
Returns:
Additional Unique ColorId.
bool FbxStore ( FBFbxObject  pFbxObject,
kFbxObjectStore  pStoreWhat 
)

Store and Retrieve function that can be overloaded.

Parameters:
pFbxObjectFBX Object that is used to communicate I/O operations.
pStoreWhatWhich attributes are currently stored/retrieved.

Reimplemented from FBBox.

Reimplemented in FBModelMarker, and FBModelNull.

bool FbxRetrieve ( FBFbxObject  pFbxObject,
kFbxObjectStore  pStoreWhat 
)

Reimplemented from FBBox.

Reimplemented in FBModelMarker, and FBModelNull.

SetupPropertiesForShapes ( )

Setup Shape Properties.

Normally this function is called automatically at the next global synchronization point after the geometry has been updated. However you must call it explicitly to access the shape properties immediately after shapes adding/removing before next global synchronization point.

str FbxGetObjectType ( )

Returns the class type inherited by the class of an object, for example: 'Model'.

Reimplemented from FBBox.

Reimplemented in FBModelMarker, and FBModelNull.

str FbxGetObjectSubType ( )

Returns the class sub type inherited by the class of an object, for example: 'Default', 'Mesh'.

Reimplemented from FBBox.

Reimplemented in FBModelMarker, and FBModelNull.

__init__ ( str  pName,
object  pObject = None 
)

Constructor.

Parameters:
pNameName of model.
pObjectFor internal use only(default=NULL).
Examples
Tasks/ResetLocalTranslationRotation.py

Reimplemented from FBBox.

Reimplemented in FBCamera, FBCameraStereo, FBLight, FBModelCube, FBModelMarker, FBModelNull, FBModelOptical, FBModelPath3D, FBModelPlane, FBModelRoot, and FBModelSkeleton.

FBDelete ( )

Open Reality deletion function.

Examples
Tasks/DeleteHierarchy.py

Reimplemented from FBComponent.

IQuery_Declare ( K_IMPLEMENTATION  )

Interface to IObject.

ICallback_Declare ( K_IMPLEMENTATION  )

Interface to ICallback.

Reimplemented from FBComponent.

FBModel Clone ( )

Clone the model.

This will duplicate the current model.

Returns:
Newly created model.
SetMatrix ( FBMatrix  pMatrix,
FBModelTransformationType  pWhat = kModelTransformation,
bool  pGlobalInfo = True,
bool  pPushUndo = False,
FBEvaluateInfo  pEvaluateInfo = None 
)

Set a matrix for the model.

Parameters:
pMatrixInformation to use to set the model's matrix.
pWhatType of matrix to set (default=transformation).
pGlobalInfotrue if it is GlobalInfo, false if Local (default=true).
pPushUndotrue if this operation is undoable, don't push undo in non UI thread.
pEvaluateInfoEvaluateInfo, Take Display if none specified
GetMatrix ( FBMatrix  pMatrix,
FBModelTransformationType  pWhat = kModelTransformation,
bool  pGlobalInfo = True,
FBEvaluateInfo  pEvaluateInfo = None 
)

Get a matrix from the model.

Parameters:
pWhatType of information requested (default=transformation).
pGlobalInfotrue if it is GlobalInfo, false if Local (default=true).
Return values:
pMatrixMatrix to fill with requested information.
Parameters:
pEvaluateInfoEvaluateInfo, Take Display if none specified.
SetVector ( FBVector3  pVector,
FBModelTransformationType  pWhat = kModelTranslation,
bool  pGlobalInfo = True,
bool  pPushUndo = False,
FBEvaluateInfo  pEvaluateInfo = None 
)

Set a vector for the model.

Parameters:
pVectorVector to use to set values.
pWhatType of information to set (default=translation, inverses not supported).
pGlobalInfotrue if it is GlobalInfo, false if Local (default=true).
pPushUndotrue if this operation is undoable, don't push undo in non UI thread.
pEvaluateInfoEvaluateInfo, Take Display if none specified
GetVector ( FBVector3  pVector,
FBModelTransformationType  pWhat = kModelTranslation,
bool  pGlobalInfo = True,
FBEvaluateInfo  pEvaluateInfo = None 
)

Get a vector from the model.

Parameters:
pWhatType of information requested (default=translation, inverses not supported).
pGlobalInfotrue if it is GlobalInfo, false if Local (default=true).
pEvaluateInfoEvaluateInfo, Take Display if none specified
Return values:
pVectorVector to fill with requested values.
bool IsEvaluationReady ( FBModelEvaluationTaskType  pWhat,
FBEvaluateInfo  pEvaluateInfo = None 
)

Is the model's evaluation task result ready.

Parameters:
pWhatType of evaluation task.
pEvaluateInfoEvaluateInfo, Take Display if none specified
Return values:
\btrue if the evaluation task result is ready in place.
MatrixToRotation ( FBVector3  pRotation,
FBMatrix  pMatrix 
)

Convert Rotation Matrix to Euler Vector based on model's rotation order.

Parameters:
pMatrixMatrix to convert
Return values:
pRotationResulting euler vector.
RotationToMatrix ( FBMatrix  pMatrix,
FBVector3  pRotation 
)

Convert Euler Vector to Rotation Matrix based on model's rotation order.

Parameters:
pRotationObject space rotation vector to convert
Return values:
pMatrixResulting rotation matrix.
LRMToDof ( FBVector3  pDof,
FBMatrix  pLM 
)

Convert local matrix to object space vector.

Parameters:
pLMLocal rotation matrix to convert
Return values:
pDofResulting object space vector.
Note:
Use this function when you want to convert local rotation to euler with proper pre/post transformation and rotation order applied from this model.
DofToLRM ( FBMatrix  pLM,
FBVector3  pDof 
)

Convert object space vector to local matrix.

Parameters:
pDofVector to convert
Return values:
pLMResulting local rotation matrix.
Note:
Use this function when you want to convert euler to local rotation with proper pre/post transformation and rotation order applied from this model.
SetSchematicPosition ( int  pX,
int  pY 
)

Set the position in the schematic view for the model.

Parameters:
pXX position to set.
pYY position to set.
SetSchematicPosition ( FBVector2  pVector2d)

Set the position in the schematic view for the model.

Parameters:
pVector2dPosition to set.
FBVector2 GetSchematicPosition ( )

Get the position in the schematic view for the model.

Returns:
Current position for the model.
GetBoundingBox ( FBVector3  pMin,
FBVector3  pMax 
)

Get the bounding box of the model.

Note. for deformable model, this function will provide the approximated (larger than the smallest) bounding box for performance consideration.

Return values:
pMinMinimum value of the bounding box.
pMaxMaximum value of the bounding box.
bool IsVisible ( FBEvaluateInfo  pEvaluateInfo = None)

If the model is visible.

Note. this query will consider self Visibility property, plus parent node/set Visibility. The visibility of a model is affected by 4 parameters: 1. The model's own visibility 2. The model's parent's visibility (if any) 3. The visibility of the set to which model belongs (if any) 4. VisibilityInheritance of the model

Parameters:
pEvaluateInfoevaluate info,
Returns:
true if visible for the given evaluate info.
FBModelCullingMode GetCullingMode ( )

Get Model Culling Mode.

Returns:
Model Culling Mode.
SetCullingMode ( FBModelCullingMode  pCullingMode)

Set Model Cullin Mode.

Parameters:
pCullingModeCulling Mode to be set.
ForceAlwaysEvaluate ( )

Force Always Evaluate.

In some case, MoBu kernel perform optimization by skipping certain evaluation tasks. This function stop skipping for this model.

bool IsForceAlwaysEvaluate ( )

Return Force Always Evaluate status.

int NoFrustumCullingRequire ( )

Acquire no frustum culling request.

Returns:
Current no frustum culling request count after function call.
int NoFrustumCullingRelease ( )

Release no frustum culling request.

Returns:
Current no frustum culling request count after function call.
bool UseFrustumCulling ( )

Get the current Frustum Culling Status.

Returns:
True if model don't use frustum culling currently.
bool HasCustomDisplay ( )

Function to overload to handle custom display.

Returns:
True is this model class has custom display function ModelDisplay
CustomModelDisplay ( FBCamera  pCamera,
FBModelShadingMode  pShadingMode,
FBModelRenderPass  pRenderPass,
float  pPickingAreaWidth,
float  pPickingAreaHeight 
)

Custom display function, called when HasCustomDisplay returns true;.

Parameters:
pCameraCurrent camera for display.
pShadingModeShading mode to render see FBModelShadingMode.
pRenderPassActual rendering pass, see FBModelRenderPass.
pPickingAreaWidthWidth of picking area.
pPickingAreaHeightHeight of picking area.
bool CustomModelPicking ( int  pNbHits,
int  pSelectBuffer,
FBCamera  pCamera,
int  pMouseX,
int  pMouseY,
FBVector4  pLocalRaySrc,
FBVector4  pLocalRayDir,
FBVector4  pWorldRaySrc,
FBVector4  pWorldRayDir,
FBMatrix  pGlobalInverseMatrix,
FBVector4  pOutPickedPoint 
)

Custom picking for selection, called when HasCustomDisplay returns true;.

Parameters:
pNbHitsNumber of hits.
pSelectBufferOpenGL hit buffer.
pCameraCurrent camera for rendering.
pMouseXMouse X position.
pMouseYMouse Y position.
pLocalRaySrcLocal picking ray source.
pLocalRayDirLocal picking ray direction.
pWorldRaySrcWorld coordinate picking ray source.
pWorldRayDirWorld coordinate picking ray direction.
pGlobalInverseMatrixInverse transformation matrix of the model.
pOutPickedPointPicked position.
bool ClosestRayIntersection ( FBVector4  pRayOrigin,
FBVector4  pRayEnd,
FBVector4  pIntersectPos,
FBVector4  pIntersectNormal 
)

Determines the first intersection point's position and normal between ray and model surface.

Remarks:
All coordinates specified in local model space, override this function in subclass if custom intersection method is desired. See /OpenReality/Samples/miscellaneous/ormodel_template ORSDK sample project for example.
Parameters:
pRayOriginSpecifies origin of the view ray.
pRayEndSpecifies end of the view ray.
pIntersectPosreturn the first intersection point's position;
pIntersectNormalreturn the first intersection point's normal;
Returns:
Returns true if at least one intersects with ray, and false if otherwise.
str GetSelectedPoints ( )

Get the list of the points selection state.

Returns:
Pointer to the list of the points selection state.
int GetSelectedPointsCount ( )

Get the number of selected points in the model.

Returns:
Number of selected points.

Member Data Documentation

List: Textures with Special UseType (Other than "Color" which should connect to materials).

List: Deformers (Skeleton Deformer or Point Cache Deformer).

FBPropertyBase Icon3D

Read Write Property: Is model a 3D icon?.

FBPropertyBase SoftSelected

Read Write Property: Is model Soft selected?.

FBPropertyBase IsDeformable

Read Only Property: Is model deformable?.

FBPropertyBase IsConstrained

Read Only Property: Is model constrained?.

FBPropertyBase SkeletonDeformable

Read Write Property: Model skeleton deformable.

Not Savable

FBPropertyBase BlendShapeDeformable

Read Write Property: Model blend-shape deformable.

Not Savable

FBPropertyBase ConstrainDeformable

Read Write Property: Model constraint deformable.

Not Savable

FBPropertyBase PointCacheDeformable

Read Write Property: Model point cache deformable.

Not Savable

FBPropertyBase PointCacheRecord

Read Write Property: Record Point Cache for model? Not Savable.

FBPropertyModel Parent

Read Write Property: Parent model.

FBPropertyModel LookAt

Read Write Property: Look at model (interest point).

FBPropertyModel UpVector

Read Write Property: UpVector model.

FBPropertyGeometry Geometry

Read Write Property: Geometry for the model.

FBPropertyBase GeometryUpdateId

Read Only Property: model geometry (vertex data) related update id.

FBPropertyMesh TessellatedMesh

Read Only Property: Tessellated Mesh for the model.

FBPropertyModelVertexData ModelVertexData

Read Only Property: ModelVertexData for the model.

FBPropertyCluster Cluster

Read Only Property: Link Cluster for the model.

FBPropertyScene Scene

Read Only Property: Scene containing the model.

FBPropertyModelShadingMode ShadingMode

Read Write Property: Shading mode for the model.

FBPropertyAnimationNode AnimationNode

Read Only Property: Animation node of the model.

FBPropertyModelRotationOrder RotationOrder

Read Write Property: Rotation order.

FBPropertyBase RotationSpaceForLimitOnly

Read Write Property: Apply Post Rotation Matrix only for Limits?.

FBPropertyBase RotationActive

Read Write Property: Is model using Rotation Limits?.

FBPropertyBase PreRotation

Read Write Property: Pre Rotation (considered if RotationActive is true).

FBPropertyBase PostRotation

Read Write Property: Post Rotation (considered if RotationActive is true).

FBPropertyBase RotationMin

Read Write Property: Min Rotation Limit (considered if RotationActive is true).

FBPropertyBase RotationMax

Read Write Property: Max Rotation Limit (considered if RotationActive is true).

FBPropertyBase RotationMinX

Read Write Property: Is model using Minimum Rotation Limits On X?.

FBPropertyBase RotationMinY

Read Write Property: Is model using Minimum Rotation Limits On Y?.

FBPropertyBase RotationMinZ

Read Write Property: Is model using Minimum Rotation Limits On Z?.

FBPropertyBase RotationMaxX

Read Write Property: Is model using Maximum Rotation Limits On X?.

FBPropertyBase RotationMaxY

Read Write Property: Is model using Maximum Rotation Limits On Y?.

FBPropertyBase RotationMaxZ

Read Write Property: Is model using Maximum Rotation Limits On Z?.

FBPropertyBase TranslationActive

Read Write Property: Is model using Translation Limits?.

FBPropertyBase TranslationMin

Read Write Property: Translation Limit Min.

FBPropertyBase TranslationMax

Read Write Property: Translation Limit Max.

FBPropertyBase TranslationMinX

Read Write Property: Is model using Translation Limits on Min X.

FBPropertyBase TranslationMinY

Read Write Property: Is model using Translation Limits on Min Y.

FBPropertyBase TranslationMinZ

Read Write Property: Is model using Translation Limits on Min Z.

FBPropertyBase TranslationMaxX

Read Write Property: Is model using Translation Limits on Max X.

FBPropertyBase TranslationMaxY

Read Write Property: Is model using Translation Limits on Max Y.

FBPropertyBase TranslationMaxZ

Read Write Property: Is model using Translation Limits on Max Z.

FBPropertyBaseAnimatable Visibility

Read Write Property: Visibility of model.

This can be overridden by the 'Show' property.

FBPropertyBase VisibilityInheritance

Read Write Property: //!< When this value is set to True the Visibility of this model is also applied to all its descendants.

FBPropertyBaseAnimatable Translation

Read Write Property: Lcl translation.

FBPropertyBaseAnimatable Rotation

Read Write Property: Lcl rotation.

FBPropertyBaseAnimatable Scaling

Read Write Property: Lcl scaling.

FBPropertyBase GeometricTranslation

Read Write Property: Geometric translation.

FBPropertyBase GeometricRotation

Read Write Property: Geometric rotation.

FBPropertyBase GeometricScaling

Read Write Property: Geometric scaling.

FBPropertyBase QuaternionInterpolate

Read Write Property: Use quaternion interpolation.

FBPropertyBase Show

Read Write Property: Indicate if the viewer should show the object, according to its visibility value.

This has a default value of 'false'.

FBPropertyBase Pickable

Read Write Property: Indicate if a model can be picked in the viewer.

This has a default value of 'true'.

FBPropertyBase Transformable

Read Write Property: Indicate if a model can be transformable in the viewer.

This has a default value of 'true'.

FBPropertyBase UniqueColorId

Read Only Property: Unique Color Id for color based viewer picking.

Color channel values are in the range [0, 1] with 1.0/255 precision.

FBPropertyBase PrimaryVisibility

Read Write Property: Control the geometry render state.

Geometry can still cast shadows even if this is turned off.

FBPropertyBase CastsShadows

Read Write Property: If true, the geometry will produce shadows.

FBPropertyBase ReceiveShadows

Read Write Property: If true, the geometry will receive shadows.


FBModel FBModel FBModel FBModel FBModel FBModel FBModel FBModel FBModel FBModel
FBModel FBModel FBModel FBModel FBModel FBModel FBModel FBModel FBModel FBModel