SoAmbientColorElement(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– SoAmbientColorElement πŸ’–

okay bestie, so this is a page from the Coin manual β€” that's the <rainbow>SoAmbientColorElement(3)</rainbow> one, from the <pink>3</pink> section of the manual. Grab a boba, we're doing this. πŸ§‹


✨ NAME ✨

SoAmbientColorElement β€” and the class is, and I quote, yet to be documented. πŸ’€ Not me telling you that and it being the entire name section. That's literally what it says.


🌸 SYNOPSIS 🌸

#include <Inventor/elements/SoAmbientColorElement.h>

Inherits SoReplacedElement. Yes bestie, it's giving legacy hierarchy energy. πŸ‘‘

πŸŽ€ Public Member Functions πŸŽ€

  • virtual void init (SoState *state) β€” FIXME: write doc.
  • int32_t getNum (void) const β€” FIXME: write doc.
  • const SbColor & get (const int index) const β€” FIXME: write doc.
  • const SbColor * getArrayPtr (void) const β€” no doc note at all on this one in the list. It's just there. Mysterious. Iconic. πŸ¦‹

Public Member Functions inherited from SoReplacedElement

  • virtual SbBool matches (const SoElement *element) const
  • virtual SoElement * copyMatchInfo () const
  • SbUniqueId getNodeId () const
  • virtual void print (FILE *file) const

Public Member Functions inherited from SoElement

  • const SoType getTypeId (void) const
  • int getStackIndex (void) const
  • virtual void push (SoState *state)
  • virtual void pop (SoState *state, const SoElement *prevTopElement)
  • void setDepth (const int depth)
  • int getDepth (void) const
  • virtual ~SoElement ()

⭐ Static Public Member Functions ⭐

  • static SoType getClassTypeId (void)
  • static int getClassStackIndex (void)
  • static void * createInstance (void)
  • static void initClass (void)
  • static void set (SoState *const state, SoNode *const node, const int32_t numcolors, const SbColor *const colors) β€” FIXME: write doc.
  • static const SoAmbientColorElement * getInstance (SoState *state) β€” FIXME: write doc.

Static Public Member Functions inherited from SoReplacedElement

  • static SoType getClassTypeId (void)
  • static int getClassStackIndex (void)
  • static void initClass (void)

Static Public Member Functions inherited from SoElement

  • static void initClass (void)
  • static SoType getClassTypeId (void)
  • static int getClassStackIndex (void)
  • static void initElements (void)
  • static int getNumStackIndices (void)
  • static SoType getIdFromStackIndex (const int stackIndex)

🫢 Protected Member Functions 🫢

  • virtual ~SoAmbientColorElement ()

Protected Member Functions inherited from SoReplacedElement

  • virtual ~SoReplacedElement ()

Protected Member Functions inherited from SoElement

  • SoElement (void)
  • void capture (SoState *const state) const
  • virtual void captureThis (SoState *state) const
  • void setTypeId (const SoType typeId)
  • void setStackIndex (const int index)
  • SoElement * getNextInStack (void) const
  • SoElement * getNextFree (void) const

πŸ’… Additional Inherited Members πŸ’…

Static Protected Member Functions inherited from SoReplacedElement

  • static SoElement * getElement (SoState *const state, const int stackIndex, SoNode *const node)

Static Protected Member Functions inherited from SoElement

  • static SoElement * getElement (SoState *const state, const int stackIndex)
  • static const SoElement * getConstElement (SoState *const state, const int stackIndex)
  • static int createStackIndex (const SoType id)

Protected Attributes inherited from SoReplacedElement

  • SbUniqueId nodeId

Protected Attributes inherited from SoElement

  • SoType typeId
  • int stackIndex
  • int depth

Static Protected Attributes inherited from SoElement

  • static int classStackIndex
  • static SoTypeList * stackToType

🌈 Detailed Description 🌈

The SoAmbientColorElement class is yet to be documented.

fr fr that's the whole thing. We move. πŸ™ˆ

πŸ“ Constructor & Destructor Documentation πŸ“

SoAmbientColorElement::~SoAmbientColorElement () [protected], [virtual]

Destructor. She's protected and she's virtual and she's doing her job. πŸŽ€


πŸ’œ Member Function Documentation πŸ’œ

SoType SoAmbientColorElement::getClassTypeId (void ) [static]

This static method returns the SoType object associated with objects of this class.

int SoAmbientColorElement::getClassStackIndex (void ) [static]

This static method returns the state stack index for the class.

void * SoAmbientColorElement::createInstance (void ) [static]

This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.

Creates a new instance of the class type corresponding to the SoType object.

void SoAmbientColorElement::initClass (void ) [static]

Initialize relevant common data for all instances, like the type system.

void SoAmbientColorElement::init (SoState * state) [virtual]

FIXME: write doc.

Reimplemented from SoReplacedElement.

const SbColor * SoAmbientColorElement::getArrayPtr (void ) const

Return a pointer to the color array. This method is not part of the OIV API.

lowkey the most documented thing on this whole page and it's still like two sentences. periodt. ✨

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code.


k so that's the whole vibe check, bestie β€” no cap, every flag and every inherited member made it in. πŸ¦‹

This page came to you from Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and the manual page is SoAmbientColorElement(3). Doxygen generated it, Coin ships it, and I just served it to you with glitter on top. πŸ’…βœ¨

πŸ“¦ where this page comes from