panda3d.core.VertexSlider

from panda3d.core import VertexSlider
class VertexSlider

Bases: TypedWritableReferenceCount

This is an abstract base class that retains some slider value, which is a linear value that typically ranges from 0.0 to 1.0, and is used to control the animation of morphs (blend shapes).

It is similar to VertexTransform, which keeps a full 4x4 transform matrix, but the VertexSlider only keeps a single float value.

Inheritance diagram

Inheritance diagram of VertexSlider

getName() → InternalName

Returns the name of this particular slider. Every unique blend shape within a particular Geom must be identified with a different name, which is shared by the slider that controls it.

Return type

InternalName

getSlider() → float
getModified(current_thread: Thread) → UpdateSeq

Returns a sequence number that’s guaranteed to change at least every time the value reported by getSlider() changes.

Return type

UpdateSeq

output(out: ostream) → None
write(out: ostream, indent_level: int) → None
static getClassType() → TypeHandle
Return type

TypeHandle

property name

Returns the name of this particular slider. Every unique blend shape within a particular Geom must be identified with a different name, which is shared by the slider that controls it.

Return type

InternalName

property slider
Return type

float

property modified

Returns a sequence number that’s guaranteed to change at least every time the value reported by getSlider() changes.

Return type

UpdateSeq