Python Reference Guide
FBModelVertexData Class Reference
Inheritance diagram for FBModelVertexData:

Public Member Functions

 DisableOGLUVSet ()
 Disable OpenGL UV Set Array. More...
 
 DisableOGLVertexData ()
 Disable OpenGL Vertex Array (Pos & Normal) More...
 
 DrawSubRegion (int pSubRegionIndex, bool pWireFrame=False)
 Draw Sub Region. More...
 
 EnableOGLUVSet (FBTextureMapping pTextureMapping=kFBTextureMappingUV, str pUVSet=None)
 Enable (Setup) OpenGL UV Set Array. More...
 
 EnableOGLVertexData (bool pAfterdeform=True)
 Enable (Setup) OpenGL Vertex Array (Pos & Normal) More...
 
int GetSubRegionCount ()
 Return number of sub regions (mapping with different materials) More...
 
FBMaterial GetSubRegionMaterial (int pSubRegionIndex)
 Return sub region's material. More...
 
- Public Member Functions inherited from FBComponent
 FBComponent ()
 Constructor. More...
 
str ClassName ()
 Get the class name. More...
 
 DisableObjectFlags (FBObjectFlag pFlags)
 Disable a specific Object Flags. More...
 
 EnableObjectFlags (FBObjectFlag pFlags)
 Enable a specific Object Flags. More...
 
bool FBCreate ()
 Open Reality Creation function. More...
 
 FBDelete ()
 Open Reality deletion function. More...
 
 FBDestroy ()
 Open Reality destruction function. More...
 
FBObjectFlag GetObjectFlags ()
 Get all Object Flags (concatenated). More...
 
bool GetObjectStatus (FBObjectStatus pStatus)
 Check to see if an object status is enabled. More...
 
FBFileReference GetOwnerFileReference (p0)
 Get the owner FileReference object. More...
 
 HardSelect ()
 HardSelect. More...
 
bool HasObjectFlags (FBObjectFlag pFlags)
 Check whether a specific object flag is enabled. More...
 
bool Is (int pTypeId)
 Returns true if object is of type TypeId. More...
 
bool ProcessNamespaceHierarchy (FBNamespaceAction pNamespaceAction, str pNamespaceName, str pReplaceTo=None, bool pAddRight=True)
 ProcessNamespaceHierarchy. More...
 
bool ProcessObjectNamespace (FBNamespaceAction pNamespaceAction, str pNamespaceName, str pReplaceTo=None, bool pAddRight=True)
 ProcessObjectNamespace. More...
 
int PropertyAdd (FBProperty pProperty)
 Add a property to the component's property manager. More...
 
bool PropertyAddReferenceProperty (FBProperty pReferenceProperty)
 Add a reference property to the component's property manager. More...
 
FBProperty PropertyCreate (str pName, FBType pType, str pDataType, bool pAnimatable, bool pIsUser=False, FBProperty pReferenceSource=None)
 Create user or dynamic property. More...
 
 PropertyGetModifiedList (FBArrayTemplate< FB > pPropList, FBPlugModificationFlag pModificationFlags)
 Get list of properties which have been modified since last loading. More...
 
 PropertyRemove (FBProperty pProperty)
 Remove a Property from the component's Property manager. More...
 
 SetObjectFlags (FBObjectFlag pFlags)
 SetObjectFlags. More...
 
 SetObjectStatus (FBObjectStatus pStatus, bool pValue)
 Enable/Disable a specific Object Status. More...
 

Additional Inherited Members

- Public Attributes inherited from FBComponent
FBListComponent Components
 List: List of components. More...
 
str LongName
 Read Write Property: Name and namespace for object. More...
 
str Name
 Read Write Property: Unique name of object. See sample: RemoveSuffixFromNameOfSceneElements.py. More...
 
FBListComponent Parents
 List: Parents. More...
 
FBManager PropertyList
 Read Only Property: Manages all of the properties for the component. More...
 
bool Selected
 Read Write Property: Selected property. More...
 
int TypeInfo
 Contains the Type information of the object. More...
 
- Public Attributes inherited from FBPlug
str ClassGroupName
 ClassGroupName of the object. More...
 
int TypeInfo
 TypeInfo. More...
 

Member Function Documentation

◆ DisableOGLUVSet()

DisableOGLUVSet ( )

Disable OpenGL UV Set Array.

◆ DisableOGLVertexData()

DisableOGLVertexData ( )

Disable OpenGL Vertex Array (Pos & Normal)

◆ DrawSubRegion()

DrawSubRegion ( int  pSubRegionIndex,
bool  pWireFrame = False 
)

Draw Sub Region.

Must be called between Enable/DisableOGLVertexData function calls.

Parameters
pSubRegionIndexIndex of sub region to be drawn.
pWireFramedraw wire frame if true.

◆ EnableOGLUVSet()

EnableOGLUVSet ( FBTextureMapping  pTextureMapping = kFBTextureMappingUV,
str  pUVSet = None 
)

Enable (Setup) OpenGL UV Set Array.

◆ EnableOGLVertexData()

EnableOGLVertexData ( bool  pAfterdeform = True)

Enable (Setup) OpenGL Vertex Array (Pos & Normal)

◆ GetSubRegionCount()

int GetSubRegionCount ( )

Return number of sub regions (mapping with different materials)

◆ GetSubRegionMaterial()

FBMaterial GetSubRegionMaterial ( int  pSubRegionIndex)

Return sub region's material.

Parameters
pSubRegionIndexIndex of the sub region.