
| FBModelPath3D | ( | str | pName | ) |
Constructor.
Python sample code:
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))
| pName | Name of Path 3D. |
| float ConvertToSegmentPercentFactor | ( | ) |
| float ConvertToTotalPercentFactor | ( | ) |
| FBPathTangeantMode GetLeftTangeantMode | ( | int | pKeyIndex | ) |
| FBPathTangeantMode GetRightTangeantMode | ( | int | pKeyIndex | ) |
| int GetSelectedPathKeyCount | ( | ) |
| int InsertNewEndKey | ( | ) |
| int InsertNewStartKey | ( | ) |
| PathKeyClear | ( | ) |
| int PathKeyEndAdd | ( | FBVector4d | pTLocal | ) |
| FBVector4d PathKeyGet | ( | int | pKeyIndex | ) |
| int PathKeyGetCount | ( | ) |
| FBVector4d PathKeyGetLeftTangeant | ( | int | pKeyIndex | ) |
| FBVector4d PathKeyGetRightTangeant | ( | int | pKeyIndex | ) |
| FBVector4d PathKeyGetXYZDerivative | ( | int | pKeyIndex | ) |
| PathKeyRemove | ( | int | pKeyIndex | ) |
| PathKeyRemoveSelected | ( | ) |
| PathKeySet | ( | int | pKeyIndex, | |
| FBVector4d | pTLocal, | |||
| bool | pUpdate = True |
|||
| ) |
| PathKeySetLeftTangeant | ( | int | pKeyIndex, | |
| FBVector4d | pTLocal, | |||
| bool | pUpdate = True |
|||
| ) |
| PathKeySetRightTangeant | ( | int | pKeyIndex, | |
| FBVector4d | pTLocal, | |||
| bool | pUpdate = True |
|||
| ) |
| PathKeySetXYZDerivative | ( | int | pKeyIndex, | |
| FBVector4d | pDerivative, | |||
| bool | pUpdate | |||
| ) |
| int PathKeyStartAdd | ( | FBVector4d | pTLocal | ) |
| FBVector4d Segment_GlobalPathEvaluate | ( | float | pSegmentPercent | ) |
| FBVector4d Segment_GlobalPathEvaluateDerivative | ( | float | pSegmentPercent | ) |
| FBVector4d Segment_LocalPathEvaluate | ( | float | pSegmentPercent | ) |
| FBVector4d Segment_LocalPathEvaluateDerivative | ( | float | pSegmentPercent | ) |
| int Segment_PathKeyAdd | ( | float | pSegmentPercent, | |
| FBVector4d | pTLocal | |||
| ) |
| bool SetLeftTangeantMode | ( | int | pKeyIndex, | |
| FBPathTangeantMode | pTangeantMode | |||
| ) |
| bool SetRightTangeantMode | ( | int | pKeyIndex, | |
| FBPathTangeantMode | pTangeantMode | |||
| ) |
| ShowCurveControls | ( | bool | pShow | ) |
| ShowCurvePoints | ( | bool | pShow | ) |
| FBVector4d Total_GlobalPathEvaluate | ( | float | pTotalPercent | ) |
| FBVector4d Total_GlobalPathEvaluateDerivative | ( | float | pTotalPercent | ) |
| FBVector4d Total_LocalPathEvaluate | ( | float | pTotalPercent | ) |
| FBVector4d Total_LocalPathEvaluateDerivative | ( | float | pTotalPercent | ) |
| int Total_PathKeyAdd | ( | float | pTotalPercent, | |
| FBVector4d | pTLocal | |||
| ) |
1.5.3