__init__(node,
axis,
x1,
y1,
z1,
x2,
y2,
z2,
alpha1,
alpha2,
duration)
(Constructor)
|
|
The constructor of the vrRotationAxisSlide class. Rotates around an
arbitrary axis. There are two valid sets of parameters:
vrRotationAxisSlide(node, axis, alpha1, alpha2, duration)
vrRotationAxisSlide(node, x1, y1, z1, x2, y2, z2, alpha1, alpha2,
duration)
- Parameters:
node (vrNodePtr) - The node.
axis (vrNodePtr) - The axis.
x1 (float) - The first x coordinate of the axis.
y1 (float) - The first y coordinate of the axis.
z1 (float) - The first z coordinate of the axis.
x2 (float) - The second x coordinate of the axis.
y2 (float) - The second y coordinate of the axis.
z2 (float) - The second z coordinate of the axis.
alpha1 (float) - The starting angle.
alpha2 (float) - The ending angle.
duration (float (64bit)) - The time in seconds.
- Overrides:
vrSlide.__init__
|