SOXTMATERIALSLIDERSET(3iv)

✨ SoXtMaterialSliderSet β€” the glow-up station for your materials ✨

okay bestie, welcome to the SoXtMaterialSliderSet(3IV) page πŸ’… this is the man page for the class SoXtMaterialSliderSet, and yes we're reading the whole thing, no skimming, we're thorough in this house πŸŽ€


🌸 NAME 🌸

SoXtMaterialSliderSet β€” it's a component, right, and it's got Motif sliders in it, and those sliders are literally there to edit SoMaterial nodes. That's the whole vibe. πŸ¦‹


🧚 INHERITS FROM 🧚

the family tree, in order, no cap:

SoXtComponent > SoXtSliderSetBase > SoXtSliderSet >
SoXtMaterialSliderSet

so she inherits from SoXtSliderSet, who inherits from SoXtSliderSetBase, who inherits from SoXtComponent. generational excellence honestly πŸ‘‘


✨ SYNOPSIS ✨

first, the include, exactly like this, don't freestyle it:

#include <Inventor/Xt/SoXtMaterialSliderSet.h>

πŸ’œ Methods from class SoXtMaterialSliderSet

SoXtMaterialSliderSet(Widget parent = NULL, const char
     *name = NULL, SbBool buildInsideParent = TRUE,
     SoNode *newEditNode = NULL )
~SoXtMaterialSliderSet()

πŸ’œ Methods from class SoXtSliderSetBase

virtual void        setNode(SoNode *newNode)
SoNode *            getNode() const

πŸ’œ Methods from class SoXtComponent

virtual void            show()
virtual void            hide()
SbBool                  isVisible()
Widget                  getWidget() const
SbBool                  isTopLevelShell() const
Widget                  getShellWidget() const
Widget                  getParentWidget() const
void                    setSize(const SbVec2s &size)
SbVec2s                 getSize()
Display *               getDisplay()
void                    setTitle(const char *newTitle)
const char *            getTitle() const
void                    setIconTitle(const char *newIconTitle)
const char *            getIconTitle() const
void                    setWindowCloseCallback(SoXtComponentCB *func, void
                             *data = NULL)
static SoXtComponent *  getComponent(Widget w)
const char *            getWidgetName() const
const char *            getClassName() const

like, that's a lot of inherited power and honestly? she earned it πŸ’–


🌈 DESCRIPTION 🌈

so this class defines an editor. an editor that uses Motif Sliders to edit the fields in an SoMaterial node. that's it, that's the job, and she does it gorgeously πŸŽ€

and the sliders are not random, okay, they're specifically:

  • sliders for editing the RGB values of ambientColor πŸ“
  • sliders for editing the RGB values of diffuseColor πŸ“
  • sliders for editing the RGB values of specularColor πŸ“
  • sliders for editing the RGB values of emissiveColor πŸ“
  • plus sliders for editing the transparency value ✨
  • plus sliders for editing the shininess value ✨

the way that's every material knob you'd want, right there in Motif sliders. we love a one-stop shop 🫢


πŸ’… METHODS πŸ’…

SoXtMaterialSliderSet(Widget parent = NULL, const char
     *name = NULL, SbBool buildInsideParent = TRUE,
     SoNode *newEditNode = NULL )
~SoXtMaterialSliderSet()
  • constructor + destructor β€” the birth and the departure, iconic duo 😭
at construction time you can supply the material node you want to edit. so like, hand her the SoMaterial node up front and she's ready to go, no extra steps. main character energy fr fr πŸ”₯

🌟 SEE ALSO 🌟

go read these next, bestie, they're all connected, iykyk:

  • SoXtMaterialEditor
  • SoXtSliderSet
  • SoXtSliderSetBase
  • SoXtComponent
  • SoMaterial
  • SoNode

and that's the whole page, you ate that πŸ“ this was the SoXtMaterialSliderSet(3IV) manual page, section 3IV, signed off with the footer SoXtMaterialSliderSet(3IV)() β€” no date on it, no extra version tea, just that. bye bestie, go edit some materials πŸ’–βœ¨πŸŽ€πŸ¦‹