#include <fbmodel.h>
Definition at line 605 of file fbmodel.h.
Public Member Functions |
|
FBModelPath3D (char *pName, HIObject pObject=NULL) | |
Constructor. |
|
void | PathSetKeyLeftRightTangeant (int pKeyIndex, FBVector4d pKeyTLocal, FBVector4d pLeftTangentTLocal, FBVector4d pRightTangentTLocal, bool pUpdate=true) |
Set Path 3D's Key, Key Left Tangent and Key
Right Tangent for designated index at a time. |
|
void | UpdateGeometry () |
Update Path 3D geometry explicitly. |
FBModelPath3D | ( | char * | pName, | |
HIObject | pObject = NULL |
|||
) |
Constructor.
pName | Name of Path 3D. | |
pObject | For internal use only(default=NULL). |
Script Sample. from pyfbsdk import * path = FBModelPath3D("Test") path.Show = True der = temp.Total_LocalPathEvaluateDerivative(1) tgMode = path.GetLeftTangeantMode(0) temp.PathKeySetLeftTangeant(1,FBVector4d(25,25,25,25),True) ## Ajouter un Vertex temp.PathKeyStartAdd(FBVector4d(0,0,100,0)) temp.PathKeyEndAdd(FBVector4d(100,0,0,0)) ## Creer Vertex temp.Segment_PathKeyAdd(75.0,FBVector4d(25,25,25,25)) temp.Segment_PathKeyAdd(25.0,FBVector4d(25,0,25,25))
void PathSetKeyLeftRightTangeant | ( | int | pKeyIndex, | |
FBVector4d | pKeyTLocal, | |||
FBVector4d | pLeftTangentTLocal, | |||
FBVector4d | pRightTangentTLocal, | |||
bool | pUpdate = true |
|||
) |
Set Path 3D's Key, Key Left Tangent and Key Right Tangent for designated index at a time.
pKeyIndex | Key ID to set with | |
pKeyTLocal | Vector to use to set values to Key | |
pLeftTangentTLocal | Vector to use to set values to Key Left Tangent | |
pRightTangentTLocal | Vector to use to set values to Key Right Tangent | |
pUpdate | true if geometry update is required, false if not required (default=true) |
void UpdateGeometry | ( | ) |
Update Path 3D geometry explicitly.