AnimationAction¶
-
class
pythreejs.AnimationAction(mixer=None, clip=None, localRoot=None)[source]¶ AnimationAction is a three widget that also has its own view.
The view offers animation action controls.
This widget has some manual overrides on the Python side.
Inherits
ThreeWidget.Three.js docs: https://threejs.org/docs/#api/animation/AnimationAction
-
mixer¶ Instance(AnimationMixer, allow_none=True).tag(sync=True, **widget_serialization)
-
clip¶ Instance(AnimationClip, allow_none=True).tag(sync=True, **widget_serialization)
-
localRoot¶ Instance(ThreeWidget, allow_none=True).tag(sync=True, **widget_serialization)
-
clampWhenFinished¶ Bool(False, allow_none=False).tag(sync=True)
-
enabled¶ Bool(True, allow_none=False).tag(sync=True)
-
loop¶ Enum(LoopModes, "LoopRepeat", allow_none=False).tag(sync=True)
-
paused¶ Bool(False, allow_none=False).tag(sync=True)
-
repititions¶ CInt(float('inf'), allow_none=False).tag(sync=True)
-
time¶ CFloat(0, allow_none=False).tag(sync=True)
-
timeScale¶ CFloat(1, allow_none=False).tag(sync=True)
-
weigth¶ CFloat(1, allow_none=False).tag(sync=True)
-
zeroSlopeAtEnd¶ Bool(True, allow_none=False).tag(sync=True)
-
zeroSlopeAtStart¶ Bool(True, allow_none=False).tag(sync=True)
-
repititions = Union(inf) an int or a float
-