Returns the animCurve type
Return type: | AnimCurve.AnimCurveType |
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.animCurveType
Determines the type of the tangent to the curve entering the current key.
Parameters : |
|
---|---|
Return type: |
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.inTangentType
Determines the type of the tangent to the curve leaving the current key.
Parameters : |
|
---|---|
Return type: |
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.outTangentType
Determines the behaviour of the curve for the range occurring after the last key.
Return type: | AnimCurve.InfinityType |
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.postInfinityType
Determines the behaviour of the curve for the range occurring before the first key.
Return type: | AnimCurve.InfinityType |
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.preInfinityType
Determines the x,y value representing the vector of the in- or out-tangent (depending on the value of the inTangent parameter) to the curve for the key at the specified index. The values returned will be in Maya’s internal units (seconds for time, linear units for linear, angular units for angles). The following examples demonstrates how to convert from internal units of seconds into the current user time unit.
Parameters : |
|
---|---|
Return type: | (float, float) |
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.getTangent
Determines whether the tangents are locked at the given key.
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.tangentsLocked
Determines the time of the key at the specified index.
Parameters : |
|
---|---|
Return type: |
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.time
Determines the unitless input value of the key at the specified index. This method should only be used on Anim Curves of type kAnimCurveU*.
Parameters : |
|
---|---|
Return type: | float |
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.unitlessInput
Determines the value of the key at the specified index. This method should only be used on Anim Curves of type kAnimCurve*A, kAnimCurve*L or kAnimCurve*U.
Parameters : |
|
---|---|
Return type: | float |
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.value
Determines whether the weights are locked at the given key.
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.weightsLocked
Determines whether or not a key is a breakdown.
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.isBreakdown
Determines whether or not the animCurve is static. The animCurve is considered to be static if it would return the same value regardless of the evaluation time. This basically means that the values of all the keys are the same and the y component of all the tangents is 0.
Return type: | bool |
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.isStatic
Determines the input type of the animCurve.
Return type: | bool |
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.isTimeInput
Determines the input type of the animCurve.
Return type: | bool |
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.isUnitlessInput
Determines whether or not the curve has weighted tangents.
Return type: | bool |
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.isWeighted
Determines the number of keys on the Anim Curve Node.
Return type: | int |
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.numKeys
Removes the key at the specified index.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.remove
Undo is not currently supported for this method
Set the in- or out-angle of the tangent for the key at the given index
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setAngle
Undo is not currently supported for this method
Sets the breakdown state of a key at a given index.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setIsBreakdown
Sets the type of the tangent to the curve entering the key at the specified index.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setInTangentType
Sets the type of the tangent to the curve leaving the key at the specified index.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setOutTangentType
Set the behaviour of the curve for the range occurring after the last key.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setPostInfinityType
Set the behaviour of the curve for the range occurring before the first key.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setPreInfinityType
Sets the tangent for the key at the specified index. If convertUnits is true (the default) the x value will be scaled by the current UI time units and the y value will be scaled by the relevant UI units for the output type of the animation curve (i.e. linear units for a curve that outputs linear data, and so on).
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setTangent
Sets the tangent types for multiple keys.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setTangentTypes
Undo is not currently supported for this method
Lock or unlock the tangents at the given key.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setTangentsLocked
Sets the time of the key at the specified index. This will fail if setting the time would require re-ordering of the keys. This method should only be used on Anim Curves of type kAnimCurveT*.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setTime
Sets the value of the unitless input of the key at the specified index. This will fail if setting the value would require re-ordering of the keys. This methid should only be used on Anim Curves of type kAnimCurveU*.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setUnitlessInput
Sets the value of the key at the specified index. This method should only be used on Anim Curves of type kAnimCurve*A, kAnimCurve*L or kAnimCurve*U.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setValue
Set the in- or out-weight of the tangent for the key at the given index
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setWeight
Undo is not currently supported for this method
Sets whether or not the curve has weighted tangents.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setIsWeighted
Lock or unlock the weights at the given key.
Parameters : |
|
---|
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.setWeightsLocked