newspeoplefor developersdocumentationdownloads

nSwingShapeNode Script Interface

nswingshapenode:

Super Class:

C++ Class:

Info

Provides the extra rotation matrix to the shader needed for swinging geometry (like trees, grass and leaved).

Commands:


setswingangle

Command Input:
f(SwingAngle)
Command Output:
v
Command Description:
Set the maximum swinging angle in degree.

getswingangle

Command Input:
v
Command Output:
f(SwingAngle)
Command Description:
Get the max swing angle

setswingtime

Command Input:
f(SwingTime)
Command Output:
v
Command Description:
Set the average swinging time.

getswingtime

Command Input:
v
Command Output:
f(SwingTime)
Command Description:
Get the average time angle

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