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 TypeHandle get_class_type(void)
UpdateSeq get_modified(Thread *current_thread = Thread::get_current_thread()) const

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

InternalName const *get_name(void) const

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.

virtual PN_stdfloat get_slider(void) const = 0
virtual void output(std::ostream &out) const
virtual void write(std::ostream &out, int indent_level) const