pymel.core.nodetypes.AnimCurveUL¶
digraph inheritance8689fac260 { rankdir=TB; ranksep=0.15; nodesep=0.15; size="8.0, 12.0"; "AnimCurve" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.AnimCurve.html#pymel.core.nodetypes.AnimCurve",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "DependNode" -> "AnimCurve" [arrowsize=0.5,style="setlinewidth(0.5)"]; "AnimCurveUL" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="#pymel.core.nodetypes.AnimCurveUL",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "AnimCurve" -> "AnimCurveUL" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DependNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.DependNode.html#pymel.core.nodetypes.DependNode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" -> "DependNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ProxyUnicode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.util.utilitytypes/pymel.util.utilitytypes.ProxyUnicode.html#pymel.util.utilitytypes.ProxyUnicode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.core.general/pymel.core.general.PyNode.html#pymel.core.general.PyNode",style="setlinewidth(0.5)",tooltip="Abstract class that is base for all pymel nodes classes.",height=0.25,shape=box,fontsize=8]; "ProxyUnicode" -> "PyNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
- class AnimCurveUL(*args, **kwargs)¶
- AnimCurveType = Enum( EnumValue('AnimCurveType', 0, 'TA'), EnumValue('AnimCurveType', 1, 'TL'), EnumValue('AnimCurveType', 2, 'TT'), EnumValue('AnimCurveType', 3, 'TU'), EnumValue('AnimCurveType', 4, 'UA'), EnumValue('AnimCurveType', 5, 'UL'), EnumValue('AnimCurveType', 6, 'UT'), EnumValue('AnimCurveType', 7, 'UU'), EnumValue('AnimCurveType', 8, 'unknown'))¶
- InfinityType = Enum( EnumValue('InfinityType', 0, 'constant'), EnumValue('InfinityType', 1, 'linear'), EnumValue('InfinityType', 3, 'cycle'), EnumValue('InfinityType', 4, 'cycleRelative'), EnumValue('InfinityType', 5, 'oscillate'))¶
- TangentType = Enum( EnumValue('TangentType', 0, 'global_'), EnumValue('TangentType', 1, 'fixed'), EnumValue('TangentType', 2, 'linear'), EnumValue('TangentType', 3, 'flat'), EnumValue('TangentType', 4, 'smooth'), EnumValue('TangentType', 5, 'step'), EnumValue('TangentType', 6, 'slow'), EnumValue('TangentType', 7, 'fast'), EnumValue('TangentType', 8, 'clamped'), EnumValue('TangentType', 9, 'plateau'), EnumValue('TangentType', 10, 'stepNext'), EnumValue('TangentType', 11, 'auto'))¶
- addKey(time, value, tangentInType='global_', tangentOutType='global_', change=None)¶
Adds a new key with the given value and tangent types at the specified time for curves of type kAnimCurveTA, kAnimCurveTL and kAnimCurveTU.
Parameters: - time : Time
Time at which the key is to be added
- value : float
Value to which the key is to be set
- tangentInType : AnimCurve.TangentType
In tangent type for the key
values: ‘global_‘, ‘fixed’, ‘linear’, ‘flat’, ‘smooth’, ‘step’, ‘slow’, ‘fast’, ‘clamped’, ‘plateau’, ‘stepNext’, ‘auto’
- tangentOutType : AnimCurve.TangentType
Out tangent type for the key
values: ‘global_‘, ‘fixed’, ‘linear’, ‘flat’, ‘smooth’, ‘step’, ‘slow’, ‘fast’, ‘clamped’, ‘plateau’, ‘stepNext’, ‘auto’
- change : MAnimCurveChange
Optional cache to store undo/redo information.
Return type: int
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.addKey
- addKeyframe(time, value, change=None)¶
Adds a new key with the given value at the specified time.
Parameters: - time : Time
Time at which the key is to be added
- value : float
Value to which the key is to be set
- change : MAnimCurveChange
Optional cache to store undo/redo information.
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.addKeyframe
Undo is not currently supported for this method
- evaluate(atTime)¶
Determines the interpolated output value of Anim Curves of type kAnimCurveTA, kAnimCurveTL and kAnimCurveTU at the specified time.
Parameters: - atTime : Time
Time at which the Anim Curve is to be evaluated
Return type: float
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.evaluate
- findClosest(time)¶
Determines the index of the key which is set at the time closest to the specified time.
Parameters: - time : Time
Time for which a key index is required
Return type: int
Derived from api method maya.OpenMayaAnim.MFnAnimCurve.findClosest
- timedAnimCurveTypeForPlug(plug)¶
Returns the timed animCurve type appropriate for the specified plug.
Parameters: - plug : PyNode
plug
Return type: Derived from api method maya.OpenMayaAnim.MFnAnimCurve.timedAnimCurveTypeForPlug
- unitlessAnimCurveTypeForPlug(plug)¶
Returns the unitless animCurve type appropriate for the specified plug.
Parameters: - plug : PyNode
plug
Return type: Derived from api method maya.OpenMayaAnim.MFnAnimCurve.unitlessAnimCurveTypeForPlug