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

Class CTransform

object --+
         |
        CTransform

A transform at a single point in time.

This is the result of evaluating an AnimTransform for a particular 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
CMatrix4
getInverseMatrix(self)
Gets the inverse transform matrix, which can be used for undoing the effects of this transform.
CMatrix4
getMatrix(self)
Get the matrix which represents the combination of the translation, scale, rotation, skew and pivotPoint settings for this transform.
CMatrix4
getTransposeMatrix(self)
Returns a transposed copy of the matrix representing this transform.
bool
isDefault(self)
Returns True if this transform matches the default settings, False if not.
None
reset(self)
Return this transform to its default settings.
None
setIdentity(self)
Set this transform to the identity transform (the transform which doesn't change the object at all).

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

Properties [hide private]
  name
The name for this transform.
  pivotPoint
The location of the pivot point, represented as a CVec3 object.
  rotation
The rotation amounts, represented as a CVec3 object.
  rotationOrder
Indicates which order to apply the rotations in.
  scale
The scale factors, represented as a CVec3 object.
  skew
The skew amounts, represented as a CVec3 object.
  transformOrder
Indicates which order to apply the transformations in.
  translation
The translation amounts, represented as a CVec3 object.

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__

Property Details [hide private]

rotationOrder

Indicates which order to apply the rotations in. The value will be one of the constants from the RotationOrder class.

transformOrder

Indicates which order to apply the transformations in. The value will be one of the constants from the TransformOrder class.