__init__(node,
x1,
y1,
z1,
x2,
y2,
z2,
duration)
(Constructor)
|
|
The constructor of the vrSlide class. There are two valid
versions:
vrSlide(node, x1, x2, duration) Creates a one-dimensional slide.
vrSlide(node, x1, y1, z1, x2, y2, z2, duration) Creates a
three-dimensional slide.
- Parameters:
node (vrNodePtr) - The node.
x1 (float) - The starting x coordinate.
y1 (float) - The starting y coordinate (Optional).
z1 (float) - The starting z coordinate (Optional).
x2 (float) - The ending x coordinate.
y2 (float) - The ending y coordinate (Optional).
z2 (float) - The ending z coordinate (Optional).
duration (float (64bit)) - The time in seconds.
- Overrides:
object.__init__
|