Class vrSlide
object --+
|
??.instance --+
|
vrSlide
- Known Subclasses:
-
- vrRotationAxisSlide
- vrRotationSlide
- vrScaleSlide
- vrTranslationSlide
| __init__(node,
x1,
y1,
z1,
x2,
y2,
z2,
duration)
The constructor of the vrSlide class. |
| __reduce__() |
| float (64bit) |
getDuration()
Returns the duration of the slide. |
| setDuration(duration)
Sets the duration of the slide. |
|
Inherited from unreachable.instance:
__new__
|
__init__(node,
x1,
y1,
z1,
x2,
y2,
z2,
duration)
(Constructor)
The constructor of the vrSlideclass. 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__
|
__reduce__()
- Overrides:
object.__reduce__
- (inherited documentation)
|
getDuration()
Returns the duration of the slide.
- Returns: float (64bit)
- The time in seconds.
|
setDuration(duration)
Sets the duration of the slide.
- Parameters:
duration (float (64bit)) - The time in seconds.
|