|
| FBNurbs (const char *pName, HIObject pObject=NULL) |
| Constructor.
|
|
virtual void | SurfaceBegin () override |
| Begin NURBS definition.
|
|
virtual void | SurfaceEnd () override |
| End NURBS definition.
|
|
virtual void | SurfaceEditBegin () override |
| Begin NURBS surface edition.
|
|
virtual void | SurfaceEditEnd () override |
| End NURBS surface edition.
|
|
virtual void | ControlPointsBegin () override |
| Begin NURBS control points edition.
|
|
virtual void | ControlPointsEnd () override |
| End NURBS control points edition.
|
|
virtual void | SetControlWeight (int pIndex, double pWeight) |
| Set weight of control point.
|
|
virtual double | GetControlWeight (int pIndex) |
| Get weight of control point.
|
|
virtual void | SetControlMultiplicity (int pUorV, int pIndex, int pMultiplicity) |
| Set multiplicity (number of "instances") of control point.
|
|
virtual int | GetControlMultiplicity (int pUorV, int pIndex) |
| Get multiplicity (number of "instances") of control point.
|
|
virtual void | SetControlKnotValue (int pUorV, int pIndex, double pKnotValue) |
| Set knot vector value of control point.
|
|
virtual double | GetControlKnotValue (int pUorV, int pIndex) |
| Get knot vector value of control point.
|
|
virtual int | GetKnotCount (int pUorV) |
| Number of knot vectors.
|
|
| FBSurface (const char *pName, HIObject pObject=NULL) |
| Constructor.
|
|
virtual void | SurfaceBegin () |
|
virtual void | SurfaceEnd () |
|
virtual void | SurfaceEditBegin () |
|
virtual void | SurfaceEditEnd () |
|
virtual bool | GetSurfaceCapped (int pUorV, int pDirection) |
|
virtual int | GetVertexCount (int pUorVorGlobal=-1) |
|
virtual void | ControlPointsBegin ()=0 |
|
virtual void | SetControlPoint (int pIndex, double pX, double pY, double pZ, double pW) |
|
virtual void | GetControlPoint (int pIndex, double &pX, double &pY, double &pZ, double &pW) |
|
virtual void | ControlPointsEnd () |
|
bool | VertexGetSelected (int pU, int pV) |
| Get the selected state of a vertex.
|
|
bool | VertexSetSelected (int pU, int pV, bool pState) |
| Set the selected state of a vertex.
|
|
bool | VertexGetVisible (int pU, int pV) |
| Get the visible state of a vertex.
|
|
bool | VertexSetVisible (int pU, int pV, bool pState) |
| Set the visible state of a vertex.
|
|
bool | VertexGetTransformable (int pU, int pV) |
| Get the Transformable state of a vertex.
|
|
bool | GeometryBegin () |
| Begin geometry editing.
|
|
bool | GeometryEnd () |
| End geometry editing.
|
|
bool | IsEditingEnabled () const |
| Is geometry editing enabled.
|
|
void | VertexInit (int pSize, bool pResize, bool pInitUV=true, bool pInitVertexColor=false) |
| Resize or Reserve vertex, normal and UV array for performance.
|
|
bool | VertexClear () |
| Clear all Vertex arrays.
|
|
int | VertexAdd (FBVertex pVertex) |
| Add a vertex.
|
|
int | VertexAdd (FBVertex pVertex, FBNormal pNormal) |
| Add a vertex.
|
|
int | VertexAdd (FBVertex pVertex, FBNormal pNormal, FBUV pUV) |
| Add a vertex.
|
|
int | VertexAdd (FBVertex pVertex, FBNormal pNormal, FBUV pUV, FBColorF pVertexColor) |
| Add a vertex.
|
|
int | VertexAdd (double px, double py, double pz) |
| Add a vertex.
|
|
int | VertexAdd (double px, double py, double pz, double nx, double ny, double nz) |
| Begin geometry editing.
|
|
int | VertexAdd (double px, double py, double pz, double nx, double ny, double nz, double UVu, double UVv) |
| Begin geometry editing.
|
|
int | VertexAdd (double px, double py, double pz, double nx, double ny, double nz, double UVu, double UVv, double pRed, double pGreen, double pBlue, double pAlpha) |
| Begin geometry editing.
|
|
bool | VertexSet (FBVertex pVertex, int pIndex=-1) |
| Set a vertex.
|
|
bool | VertexSet (double px, double py, double pz, int pIndex=-1) |
| Set a vertex.
|
|
bool | VertexNormalSet (FBNormal pVertex, int pIndex=-1) |
| Set a normal at a vertex.
|
|
bool | VertexNormalSet (double px, double py, double pz, int pIndex=-1) |
| Set a normal at a vertex.
|
|
bool | VertexUVSet (FBUV pUV, int pIndex=-1) |
| Set a UV coordinate.
|
|
bool | VertexUVSet (float pU, float pV, int pIndex=-1) |
| Set a UV coordinate.
|
|
bool | VertexColorSet (FBColorF pColor, int pIndex=-1) |
| Set a Vertex Color.
|
|
bool | VertexColorSet (float pRed, float pGreen, float pBlue, float pAlpha, int pIndex=-1) |
| Set a UV coordinate.
|
|
int | VertexCount () const |
| Get the number of vertices in the geometry.
|
|
FBVertex | VertexGet (int pIndex) const |
| Get a vertex.
|
|
FBVertex * | GetVertexes () const |
| Get a pointer to the array of vertexes.
|
|
FBNormal | VertexNormalGet (int pIndex=-1) const |
| Get a normal at a vertex.
|
|
FBUV | VertexUVGet (int pIndex=-1) const |
| Get a UV coordinate.
|
|
FBColorF | VertexColorGet (int pIndex=-1) const |
| Get a Vertex Color.
|
|
bool | VertexGetSelected (int pIndex) |
| Get the selected state of a vertex.
|
|
bool | VertexSetSelected (int pIndex, bool pState) |
| Set the selected state of a vertex.
|
|
bool | VertexGetVisible (int pIndex) |
| Get the visible state of a vertex.
|
|
bool | VertexSetVisible (int pIndex, bool pState) |
| Set the visible state of a vertex.
|
|
bool | VertexGetTransformable (int pIndex) |
| Get the Transformable state of a vertex.
|
|
int | ShapeGetCount () const |
| Get Shape Count.
|
|
const char * | ShapeGetName (int pShapeIdx) const |
| Return the shape Name.
|
|
int | ShapeAdd (const char *pName) |
| Add new shape.
|
|
void | ShapeClearAll () |
| Clears all the shapes.
|
|
void | ShapeInit (int pShapeIdx, int pDiffSize, bool pWithNormal=false) |
| Init the shape.
|
|
int | ShapeGetDiffPointCount (int pShapeIdx) const |
| Return the shape's total diff points count.
|
|
bool | ShapeSetDiffPoint (int pShapeIdx, int pDiffIndex, int pOriIndex, const FBVertex &pPosDiff) |
| Set the differentiate point.
|
|
bool | ShapeSetDiffPoint (int pShapeIdx, int pDiffIndex, int pOriIndex, const FBVertex &pPosDiff, const FBNormal &pNormalDiff) |
| Set the differentiate point.
|
|
bool | ShapeGetDiffPoint (int pShapeIdx, int pDiffIndex, int &pOriIndex, FBVertex &pPosDiff) const |
| Get the differentiate point.
|
|
bool | ShapeGetDiffPoint (int pShapeIdx, int pDiffIndex, int &pOriIndex, FBVertex &pPosDiff, FBNormal &pNormalDiff) const |
| Get the differentiate point.
|
|
void | ModifyNotify (kFBGeometryUpdateFlags pFlags=kFBGeometryUpdateAll, int pFirstIndex=-1, int pLastIndex=-1) |
| The geometry has change, update the necessary flags.
|
|
bool | VertexArrayInit (int pVertexcount, bool pUniqueMaterial, unsigned int pFBGeometryArrayIDs=0) |
| Init geometry vertex arrays.
|
|
bool | VertexArrayClear () |
| Clear all geometry vertex arrays.
|
|
FBVertex * | GetPositionsArray (int &pOutArrayCount) const |
| Get a pointer to the position array.
|
|
int * | GetNormalsIndexArray (int &pOutArrayCount) const |
| Get a pointer to the index array of normals.
|
|
FBNormal * | GetNormalsDirectArray (int &pOutArrayCount) const |
| Get a pointer to the direct array of normals.
|
|
int * | GetTangentsIndexArray (int &pOutArrayCount) const |
| Get a pointer to the index array of tangents.
|
|
FBNormal * | GetTangentsDirectArray (int &pOutArrayCount) const |
| Get a pointer to the direct array of tangents.
|
|
int * | GetBinormalsIndexArray (int &pOutArrayCount) const |
| Get a pointer to the index array of binormals.
|
|
FBNormal * | GetBinormalsDirectArray (int &pOutArrayCount) const |
| Get a pointer to the direct array of binormals.
|
|
int * | GetVertexColorsIndexArray (int &pOutArrayCount) const |
| Get a pointer to the index array of vertex color.
|
|
FBColorF * | GetVertexColorsDirectArray (int &pOutArrayCount) const |
| Get a pointer to the direct array of vertex color.
|
|
FBStringList | GetUVSets () const |
| Get available UVSet name.
|
|
FBGeometryMappingMode | GetUVSetMappingMode (const char *pUVSetName=NULL) const |
| Get UVSet mapping mode.
|
|
FBGeometryReferenceMode | GetUVSetReferenceMode (const char *pUVSetName=NULL) const |
| Get UVSet reference mode.
|
|
int * | GetUVSetIndexArray (int &pOutArrayCount, const char *pUVSetName=NULL) const |
| Get a pointer to the index array of UVset.
|
|
FBUV * | GetUVSetDirectArray (int &pOutArrayCount, const char *pUVSetName=NULL) const |
| Get a pointer to the direct array of UVset Modify array value will be only effective when geometry editing is enabled.
|
|
int * | GetMaterialIndexArray (int &pOutArrayCount) const |
| Get a pointer to the index array of Material.
|
|
| FBComponent (HIObject pObject) |
| Constructor.
|
|
virtual | ~FBComponent () |
| Destructor.
|
|
virtual bool | FBCreate () |
| Open Reality Creation function.
|
|
virtual void | FBDestroy () |
| Open Reality destruction function.
|
|
virtual void | FBDelete () override |
| Open Reality deletion function.
|
|
virtual bool | SetHIObject (HIObject pObject, bool pSDKComponent) override |
| Assign component to an internal pointer.
|
|
virtual int | PropertyAdd (FBProperty *pProperty) |
| Add a property to the component's property manager.
|
|
bool | PropertyAddReferenceProperty (FBProperty *pReferenceProperty) |
| Add a reference property to the component's property manager.
|
|
void | PropertyRemove (FBProperty *pProperty) |
| Remove a Property from the component's Property manager.
|
|
void | PropertyGetModifiedList (FBArrayTemplate< FBProperty * > &pPropList, FBPlugModificationFlag pModificationFlags) |
| Get list of properties which have been modified since last loading.
|
|
FBProperty * | PropertyCreate (const char *pName, FBPropertyType pType, const char *pDataType, bool pAnimatable, bool pIsUser=false, FBProperty *pReferenceSource=NULL) |
| Create user or dynamic property.
|
|
FBObjectFlag | GetObjectFlags () |
| Get all Object Flags (concatenated).
|
|
void | SetObjectFlags (FBObjectFlag pFlags) |
| SetObjectFlags.
|
|
bool | HasObjectFlags (FBObjectFlag pFlags) |
| Check whether a specific object flag is enabled.
|
|
void | EnableObjectFlags (FBObjectFlag pFlags) |
| Enable a specific Object Flags.
|
|
void | DisableObjectFlags (FBObjectFlag pFlags) |
| Disable a specific Object Flags.
|
|
void | SetObjectStatus (FBObjectStatus pStatus, bool pValue) |
| Enable/Disable a specific Object Status.
|
|
bool | GetObjectStatus (FBObjectStatus pStatus) |
| Check to see if an object status is enabled.
|
|
bool | ProcessNamespaceHierarchy (FBNamespaceAction pNamespaceAction, const char *pNamespaceName, const char *pReplaceTo=NULL, bool pAddRight=true) |
| ProcessNamespaceHierarchy.
|
|
bool | ProcessObjectNamespace (FBNamespaceAction pNamespaceAction, const char *pNamespaceName, const char *pReplaceTo=NULL, bool pAddRight=true) |
| ProcessObjectNamespace.
|
|
virtual const char * | ClassName () override |
| Get the class name.
|
|
virtual bool | UseCustomPropertyViewSet () const |
| Use the custom property viewSet or not.
|
|
const char * | GetFullName (void) |
| Get the full name.
|
|
void | SetOwnerNamespace (FBNamespace *pOwnerNSObj) |
| Set the owner Namespace object.
|
|
FBNamespace * | GetOwnerNamespace (void) |
| Get the owner Namespace object.
|
|
FBFileReference * | GetOwnerFileReference (void) |
| Get the owner FileReference object.
|
|
void | HardSelect () |
| HardSelect.
|
|
virtual bool | Is (int pTypeId) override |
| Returns true if object is of type TypeId.
|
|
virtual int | GetTypeId () override |
| GetTypeId( int pTypeId )
|
|
FBScriptWrapper * | GetWrapper () |
| Return the wrapper interface of this FBObject.
|
|
void | AddWrapper (FBScriptWrapper *) |
|
void | RemoveWrapper (FBScriptWrapper *) |
|