Add an object to be animated along this motion path.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.addAnimatedObject
Undo is not currently supported for this method
Returns an array of dag paths to the animated objects for this motion path.
Return type: | PyNode list |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.getAnimatedObjects
Determines whether bank has been enabled for this motion path.
Return type: | bool |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.bank
Return the bank scale for this motion path.
Return type: | float |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.bankScale
Return the bank threshold for this motion path. The bank threshold is used to specify the maximum bank angle. The default value is 90 degrees.
Return type: | float |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.bankThreshold
Determines whether follow is set for this motion path node.
Return type: | bool |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.follow
Return the follow axis for this motion path.
Return type: | MotionPath.Axis |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.followAxis
Determines whether the up-axis of the animated object for this motion path is aligned to the opposite direction of the normal vector of the path geometry.
Return type: | bool |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.inverseNormal
Gets the orientation marker where markerNum is the order in which the marker was created.
Parameters : |
|
---|---|
Return type: | PyNode |
Derived from api method maya.OpenMayaAnim.MFnMotionPath.getOrientationMarker
Return a dag path to the motion path object. The motion path object is the curve/surface that animated objects of this node will move along.
Return type: | PyNode |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.pathObject
Gets the position marker where markerNum is the order in which the marker was created.
Parameters : |
|
---|---|
Return type: | PyNode |
Derived from api method maya.OpenMayaAnim.MFnMotionPath.getPositionMarker
Returns the end value of the u parameterization for the animation.
Return type: | float |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.uEnd
Returns the starting value of the u parameterization for the animation.
Return type: | float |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.uStart
Returns the end time of the animation for the u parameter.
Return type: | Time |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.uTimeEnd
Returns the start time of the animation for the u parameter.
Return type: | Time |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.uTimeStart
Return the up-axis for this motion path.
Return type: | MotionPath.Axis |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.upAxis
Determines whether the up-axis of the animated object for this motion path is aligned with the normal vector of the path geometry.
Return type: | bool |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.useNormal
Returns the number of orientation markers on this motion path.
Return type: | int |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.numOrientationMarkers
Returns the number of position markers on this motion path.
Return type: | int |
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.numPositionMarkers
Parameters:
[in] bank Specifies whether bank is turned on
Returns: Status Code Status Codes: MS::kSuccess Member was successful MS::kFailure An object error has occurred
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.setBank
Set the bank scale for this motion path. If the computed bank angles are not large enough, the user can specify the bankScale to amplify them. The default value is 1.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.setBankScale
Set the bank threshold for this motion path. The bank threshold is used to specify the maximum bank angle. The default value is 90 degrees.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.setBankThreshold
Setting follow on will cause the animated object(s) local axis to be aligned with the tangent of the motion path. The default alignment axis is Y.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.setFollow
Sets the axis of the animated object that will follow the motion path. Possible alignment parameters are kXaxis , kYaxiz , or kZaxis .
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.setFollowAxis
If true , enable alignment of the up axis of the moving object(s) to the opposite direction of the normal vector of the path geometry.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.setInverseNormal
Set the curve or surface for this motion path. All animated objects for this motion path will follow the new path that is specified.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.setPathObject
Sets the end value of the u parameterization for the animation.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.setUEnd
Sets the starting value of the u parameterization for the animation.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.setUStart
Sets the end time of the animation for the u parameter.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.setUTimeEnd
Sets the starting time of the animation for the u parameter.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.setUTimeStart
Set the up-axis for this motion path.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.setUpAxis
If true , enables alignment of the up axis of the animated object to the normal vector of the path geometry.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnMotionPath.setUseNormal