KeyframeTrack

class pythreejs.KeyframeTrack(name="", times=None, values=None, interpolation="InterpolateLinear")[source]

KeyframeTrack

Autogenerated by generate-wrappers.js See https://threejs.org/docs/#api/animation/KeyframeTrack

Inherits ThreeWidget.

Three.js docs: https://threejs.org/docs/#api/animation/KeyframeTrack

name
Unicode("", allow_none=False).tag(sync=True)
times
WebGLDataUnion().tag(sync=True)
values
WebGLDataUnion().tag(sync=True)
interpolation
Enum(InterpolationModes, "InterpolateLinear", allow_none=False).tag(sync=True)
interpolation = Enum('InterpolateLinear')

any of [‘InterpolateDiscrete’, ‘InterpolateLinear’, ‘InterpolateSmooth’]

name = Unicode('')

a unicode string

times = WebGLDataUnion()

a numpy array or a NDArrayBase

values = WebGLDataUnion()

a numpy array or a NDArrayBase