SoEnvironmentElement(3)
π NAME π
okay bestie, gather round, this is SoEnvironmentElement(3) from the Coin manual (yes, section 3, the library-call girlies β¨). And what does it do? Girl. It's yet to be documented. That's literally the whole NAME entry. Not me being lazy, I promise β the docs themselves said it first π
π¦ SYNOPSIS π¦
#include <Inventor/elements/SoEnvironmentElement.h>
Inherits SoReplacedElement.
Inherited by SoGLEnvironmentElement.
β¨ Public Types β¨
enum FogType { NONE, HAZE, FOG, SMOKE }β the fog vibe menu, four flavours, no substitutions π«Ά
π Public Member Functions π
virtual void init (SoState *state)β sets this element up with its default values, the lil reset button of the environment world.virtual void print (FILE *file) constβFIXME: write doc.(the docs are being shy, not me π)
π
Public Member Functions inherited from SoReplacedElement
virtual SbBool matches (const SoElement *element) constvirtual SoElement * copyMatchInfo () constSbUniqueId getNodeId () const
πΈ Public Member Functions inherited from SoElement
const SoType getTypeId (void) constint getStackIndex (void) constvirtual void push (SoState *state)virtual void pop (SoState *state, const SoElement *prevTopElement)void setDepth (const int depth)int getDepth (void) constvirtual ~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 float ambientIntensity, const SbColor &ambientColor, const SbVec3f &attenuation, const int32_t fogType, const SbColor &fogColor, const float fogVisibility, const float fogStart=0.0f)βFIXME: write doc.static void get (SoState *const state, float &ambientIntensity, SbColor &ambientColor, SbVec3f &attenuation, int32_t &fogType, SbColor &fogColor, float &fogVisibility, float &fogStart)βFIXME: write doc.static float getAmbientIntensity (SoState *const state)βFIXME: write doc.static float getFogVisibility (SoState *const state)βFIXME: write doc.static const SbVec3f & getLightAttenuation (SoState *const state)βFIXME: write doc.static const SbColor & getAmbientColor (SoState *const state)βFIXME: write doc.static const SbColor & getFogColor (SoState *const state)βFIXME: write doc.static int32_t getFogType (SoState *const state)βFIXME: write doc.static void getDefault (float &ambientIntensity, SbColor &ambientColor, SbVec3f &attenuation, int32_t &fogType, SbColor &fogColor, float &fogVisibility, float &fogNear)β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 ~SoEnvironmentElement ()β Destructor.virtual void setElt (SoState *const state, const float ambientIntensity, const SbColor &ambientColor, const SbVec3f &attenuation, const int32_t fogType, const SbColor &fogColor, const float fogVisibility, const float fogNear)βFIXME: doc.
π Protected Member Functions inherited from SoReplacedElement
virtual ~SoReplacedElement ()
πΊ Protected Member Functions inherited from SoElement
SoElement (void)void capture (SoState *const state) constvirtual void captureThis (SoState *state) constvoid setTypeId (const SoType typeId)void setStackIndex (const int index)SoElement * getNextInStack (void) constSoElement * getNextFree (void) const
β Protected Attributes β
float ambientIntensitySbColor ambientColorSbVec3f attenuationint32_t fogTypeSbColor fogColorfloat fogVisibilityfloat fogStart
π Protected Attributes inherited from SoReplacedElement
SbUniqueId nodeId
π Protected Attributes inherited from SoElement
SoType typeIdint stackIndexint depth
π 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)
π« Static Protected Attributes inherited from SoElement
static int classStackIndexstatic SoTypeList * stackToType
πΈ Detailed Description πΈ
The SoEnvironmentElement class is yet to be documented.
FIXME: write doc.
(Yeah bestie, that's the entire detailed description. The main character has main character energy but zero lore. It's giving mystery β¨)
π Member Enumeration Documentation π
enum SoEnvironmentElement::FogType
FIXME: write doc.
π Constructor & Destructor Documentation π
SoEnvironmentElement::~SoEnvironmentElement (void ) [protected], [virtual]
Destructor. She's protected and virtual, so she goes out on her own terms π«Ά
π₯ Member Function Documentation π₯
SoType SoEnvironmentElement::getClassTypeId (void ) [static]
This static method returns the SoType object associated with objects of this class.
int SoEnvironmentElement::getClassStackIndex (void ) [static]
This static method returns the state stack index for the class.
void * SoEnvironmentElement::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 SoEnvironmentElement::initClass (void ) [static]
Initialize relevant common data for all instances, like the type system.
void SoEnvironmentElement::init (SoState * state) [virtual]
Initializes the element to its default value. The defaults for the environment settings are:
SoEnvironmentElement::ambientIntensity = 0.2
SoEnvironmentElement::ambientColor = SbColor(1.0, 1.0, 1.0)
SoEnvironmentElement::attenuation = SbVec3f(0.0, 0.0, 1.0)
SoEnvironmentElement::fogType = SoEnvironmentElement::NONE
SoEnvironmentElement::fogColor = SbColor(1.0, 1.0, 1.0)
SoEnvironmentElement::fogVisibility = 0.0
SoEnvironmentElement::fogStart = 0.0
Reimplemented from SoReplacedElement.
Reimplemented in SoGLEnvironmentElement.
void SoEnvironmentElement::print (FILE * file) const [virtual]
FIXME: write doc.
Reimplemented from SoReplacedElement.
void SoEnvironmentElement::setElt (SoState *const state, const float ambientIntensity, const SbColor & ambientColor, const SbVec3f & attenuation, const int32_t fogType, const SbColor & fogColor, const float fogVisibility, const float fogNear) [protected], [virtual]
FIXME: doc.
Reimplemented in SoGLEnvironmentElement.
π Member Data Documentation π
float SoEnvironmentElement::ambientIntensity [protected]βFIXME: write doc.SbColor SoEnvironmentElement::ambientColor [protected]βFIXME: write doc.SbVec3f SoEnvironmentElement::attenuation [protected]βFIXME: write doc.int32_t SoEnvironmentElement::fogType [protected]βFIXME: write doc.SbColor SoEnvironmentElement::fogColor [protected]βFIXME: write doc.float SoEnvironmentElement::fogVisibility [protected]βFIXME: write doc.float SoEnvironmentElement::fogStart [protected]βFIXME: write doc.
π¦ Author π¦
Generated automatically by Doxygen for Coin from the source code.
ok that's the whole page bestie, no notes π
Version 4.0.10, dated Thu Jun 25 2026 00:00:00 β and that's SoEnvironmentElement(3), signing off, mwah π«Άβ¨
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms