panda3d.core.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

static getClassType() → TypeHandle
Return type

TypeHandle

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

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
property modified

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

Return type

UpdateSeq

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

output(out: ostream) → None
property slider
Return type

float

write(out: ostream, indent_level: int) → None