newspeoplefor developersdocumentationdownloads

nTransformAnimator Script Interface

ntransformanimator:

Super Class:

C++ Class:

Info

Animate attributes of a transform node.

Commands:


addposkey

Command Input:
f(Time), f(PosX), f(PosY), f(PosZ)
Command Output:
v
Command Description:
Add a position key to the position key array.

addeulerkey

Command Input:
f(Time), f(EulerX), f(EulerY), f(EulerZ)
Command Output:
v
Command Description:
Add a euler angle key to the position key array.

addscalekey

Command Input:
f(Time), f(ScaleX), f(ScaleY), f(ScaleZ)
Command Output:
v
Command Description:
Add a scale key to the position key array.

addquatkey

Command Input:
f(Time), f(QuatX), f(QuatY), f(QuatZ), f(QuatW)
Command Output:
v
Command Description:
Add a quaternion key to the rotation key array. Warning! DON'T mix quaternions and eulers!

getnumposkeys

Command Input:
v
Command Output:
i(NumPosKeys)
Command Description:
Return number of position keys.

getnumeulerkeys

Command Input:
v
Command Output:
i(NumEulerKeys)
Command Description:
Return number of euler keys.

getnumscalekeys

Command Input:
v
Command Output:
i(NumScaleKeys)
Command Description:
Return number of scale keys.

getnumquatkeys

Command Input:
v
Command Output:
i(NumQuatKeys)
Command Description:
Return number of quaternion keys.

getposkeyat

Command Input:
i(Index)
Command Output:
f(Time), f(PosX), f(PosY), f(PosZ)
Command Description:
Get position key attributes at given index.

geteulerkeyat

Command Input:
i(Index)
Command Output:
f(Time), f(EulerX), f(EulerY), f(EulerZ)
Command Description:
Get euler key attributes at given index.

getscalekeyat

Command Input:
i(Index)
Command Output:
f(Time), f(ScaleX), f(ScaleY), f(ScaleZ)
Command Description:
Get scale key attributes at given index.

getquatkeyat

Command Input:
i(Index)
Command Output:
f(Time), f(QuatX), f(QuatY), f(QuatZ), f(QuatW)
Command Description:
Get quaternion key attributes at given index.

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.