Module _curvelib :: Class AnimCTransform
[hide private]
[frames] | no frames]

Class AnimCTransform

object --+
         |
        AnimCTransform

An animated transform, where each part of the transform is represented as a curve over time.

Instance Methods [hide private]
 
__delattr__(...)
x.__delattr__('name') <==> del x.name
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
None
addPivotPointKey(self, time, x, y, pressure, view='default')
None
addRotationKey(self, time, x, y, pressure, view='default')
None
addScaleKey(self, time, x, y, pressure, view='default')
None
addSkewXKey(self, time, x, y, pressure, view='default')
None
addTransformKey(self, time, view)
None
addTranslationKey(self, time, x, y, pressure, view='default')
None
evaluate(self, time, view)
AnimCurve
getExtraMatrixAnimCurve(self, i, j, view)
Returns the AnimCurve object for the 4i+j element in the transform's extra matrix.The view parameter is optional.
int
getNumberOfPivotPointKeys(self, view)
Get the number of keys for the pivotPoint attribute.
int
getNumberOfRotationKeys(self, view)
Get the number of keys for the rotation attribute.
int
getNumberOfScaleKeys(self, view)
Get the number of keys for the scale attribute.
int
getNumberOfSkewXKeys(self, view)
Get the number of keys for the skewX attribute.
int
getNumberOfTransformKeys(self, view)
Get the number of keys for all attributes of this transform.
int
getNumberOfTranslationKeys(self, view)
Get the number of keys for the translation attribute.
AnimCurve
getPivotPointAnimCurve(self, index, view)
float
getPivotPointKeyTime(self, index, view)
Get the time for a specific key on the pivotPoint attribute.
list of floats
getPivotPointKeyTimes(self, view)
Get the times for all keys on the pivotPoint attribute.
AnimCurve
getRotationAnimCurve(self, index, view)
float
getRotationKeyTime(self, index, view)
Get the time for a specific key on the rotation attribute.
list of floats
getRotationKeyTimes(self, view)
Get the times for all keys on the rotation attribute.The view parameter is optional.
AnimCurve
getScaleAnimCurve(self, index, view)
float
getScaleKeyTime(self, index, view)
Get the time for a specific key on the scale attribute.
list of floats
getScaleKeyTimes(self, view)
Get the times for all keys on the scale attribute.
AnimCurve
getSkewXAnimCurve(self, index, view)
float
getSkewXKeyTime(self, index, view)
Get the time for a specific key on the skewX attribute.
list of floats
getSkewXKeyTimes(self, view)
Get the times for all keys on the skewX attribute.
float
getTransformKeyTime(self, index, view)
Get the time for a specific key.
list of floats
getTransformKeyTimes(self, view)
Get the times for all keys, across all attributes of this transform.
AnimCurve
getTranslationAnimCurve(self, index, view)
float
getTranslationKeyTime(self, index, view)
Get the time for a specific key on the translation attribute.
list of floats
getTranslationKeyTimes(self, view)
Get the times for all keys on the translation attribute.
bool
isDefault(self)
Check whether this transform has been modified away from the default values.
None
removePivotPointKey(self, time, view)
None
removeRotationKey(self, time, view)
None
removeScaleKey(self, time, view)
None
removeSkewXKey(self, time, view)
None
removeTransformKey(self, time, view)
None
removeTranslationKey(self, time, view)
None
reset(self)
None
setExtraMatrixAnimCurve(self, i, j, animcurve, view)
Sets the AnimCurve object for the '4i+j'-th element of the extra matrix.The view parameter is optional
None
setIdentity(self, view='default')
None
setPivotPointAnimCurve(self, index, animCurve, view)
Set the anim curve for the pivot point attribute of this transform.
None
setRotationAnimCurve(self, index, animCurve, view)
Set the anim curve for the rotation attribute of this transform.
None
setScaleAnimCurve(self, index, animCurve, view)
Set the anim curve for the scale attribute of this transform.
None
setSkewXAnimCurve(self, index, animCurve, view)
Set the anim curve for the skewX attribute of this transform.
None
setTranslationAnimCurve(self, index, animCurve, view)
Set the anim curve for the translation attribute of this transform.

Inherited from object: __format__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  name
The name for this transform.
  rotationOrder
The order in which to perform rotations around the axes.
  transformOrder
The order in which to perform the transformations.

Inherited from object: __class__

Method Details [hide private]

__delattr__(...)

 

x.__delattr__('name') <==> del x.name

Overrides: object.__delattr__

__getattribute__(...)

 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__setattr__(...)

 

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__

getNumberOfPivotPointKeys(self, view)

 

Get the number of keys for the pivotPoint attribute. The view parameter is optional.

Returns: int

getNumberOfRotationKeys(self, view)

 

Get the number of keys for the rotation attribute. The view parameter is optional.

Returns: int

getNumberOfScaleKeys(self, view)

 

Get the number of keys for the scale attribute. The view parameter is optional.

Returns: int

getNumberOfSkewXKeys(self, view)

 

Get the number of keys for the skewX attribute. The view parameter is optional.

Returns: int

getNumberOfTransformKeys(self, view)

 

Get the number of keys for all attributes of this transform. The view parameter is optional.

Returns: int

getNumberOfTranslationKeys(self, view)

 

Get the number of keys for the translation attribute. The view parameter is optional.

Returns: int

getPivotPointKeyTime(self, index, view)

 

Get the time for a specific key on the pivotPoint attribute. index is the index of the key. The view parameter is optional.

Returns: float

getPivotPointKeyTimes(self, view)

 

Get the times for all keys on the pivotPoint attribute. The view parameter is optional.

Returns: list of floats

getRotationKeyTime(self, index, view)

 

Get the time for a specific key on the rotation attribute. index is the index of the key. The view parameter is optional.

Returns: float

getScaleKeyTime(self, index, view)

 

Get the time for a specific key on the scale attribute. index is the index of the key. The view parameter is optional.

Returns: float

getScaleKeyTimes(self, view)

 

Get the times for all keys on the scale attribute. The view parameter is optional.

Returns: list of floats

getSkewXKeyTime(self, index, view)

 

Get the time for a specific key on the skewX attribute. index is the index of the key. The view parameter is optional.

Returns: float

getSkewXKeyTimes(self, view)

 

Get the times for all keys on the skewX attribute. The view parameter is optional.

Returns: list of floats

getTransformKeyTime(self, index, view)

 

Get the time for a specific key. The view parameter is optional.

Returns: float

getTransformKeyTimes(self, view)

 

Get the times for all keys, across all attributes of this transform. The view parameter is optional.

Returns: list of floats

getTranslationKeyTime(self, index, view)

 

Get the time for a specific key on the translation attribute. index is the index of the key. The view parameter is optional.

Returns: float

getTranslationKeyTimes(self, view)

 

Get the times for all keys on the translation attribute. The view parameter is optional.

Returns: list of floats

setPivotPointAnimCurve(self, index, animCurve, view)

 

Set the anim curve for the pivot point attribute of this transform. The index parameter should be 0 for the x values, 1 for the y values. The view parameter is optional.

Returns: None

setRotationAnimCurve(self, index, animCurve, view)

 

Set the anim curve for the rotation attribute of this transform. The index parameter should be 0 for the x values, 1 for the y values. The view parameter is optional.

Returns: None

setScaleAnimCurve(self, index, animCurve, view)

 

Set the anim curve for the scale attribute of this transform. The index parameter should be 0 for the x values, 1 for the y values. The view parameter is optional.

Returns: None

setSkewXAnimCurve(self, index, animCurve, view)

 

Set the anim curve for the skewX attribute of this transform. The index parameter should be 0 for the x values, 1 for the y values. The view parameter is optional.

Returns: None

setTranslationAnimCurve(self, index, animCurve, view)

 

Set the anim curve for the translation attribute of this transform. The index parameter should be 0 for the x values, 1 for the y values. The view parameter is optional.

Returns: None