SOAPPEARANCEKIT(3iv)

πŸ’– SoAppearanceKit(3IV) β€” the appearance nodekit, bestie edition ✨

okay so real quick, this whole page is SoAppearanceKit(3IV) and it's genuinely one of the cutest little nodekits in the Inventor universe, no cap. let's get into it 🫢


🌸 NAME

SoAppearanceKit β€” the appearance nodekit class. she's giving glow-up, she's giving lewk, she's giving "affect every shape that comes after me" πŸ’…


🧬 INHERITS FROM

SoBase > SoFieldContainer > SoNode > SoBaseKit > SoAppearanceKit

the family tree is long, she comes from a good line, periodt.


✨ SYNOPSIS

#include <Inventor/nodekits/SoAppearanceKit.h>

Parts from class SoAppearanceKit:

(SoLightModel)      lightModel
(SoEnvironment)     environment
(SoDrawStyle)       drawStyle
(SoMaterial)        material
(SoComplexity)      complexity
(SoTexture2)        texture2
(SoFont)            font

Parts from class SoBaseKit:

(SoNodeKitListPart)  callbackList

Methods from class SoAppearanceKit:

                     SoAppearanceKit()
static const SoNodekitCatalog *
                     getClassNodekitCatalog() const
static SoType        getClassTypeId()

Methods from class SoBaseKit:

virtual const SoNodekitCatalog *
                          getNodekitCatalog() const
virtual SoNode *          getPart(const SbName &partName, SbBool
                               makeIfNeeded)
SbString                  getPartString(const SoBase *part)
virtual SoNodeKitPath *   createPathToPart(const SbName &partName, SbBool
                               makeIfNeeded, const SoPath *pathToExtend =
                               NULL)
virtual SbBool            setPart(const SbName &partName, SoNode *newPart)
SbBool                    set(char *partName, char *parameters)
SbBool                    set(char *nameValuePairs)
static SbBool             isSearchingChildren()
static void               setSearchingChildren(SbBool newVal)

Methods from class SoNode:

void                setOverride(SbBool state)
SbBool              isOverride() const
SoNode *            copy(SbBool copyConnections = FALSE) const
virtual SbBool      affectsState() const
static SoNode *     getByName(const SbName &name)
static int          getByName(const SbName &name, SoNodeList &list)

Methods from class SoFieldContainer:

void                setToDefaults()
SbBool              hasDefaultValues() const
SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
void                copyFieldValues(const SoFieldContainer *fc, SbBool
                         copyConnections = FALSE)
void                get(SbString &fieldDataString)
virtual int         getFields(SoFieldList &resultList) const
virtual SoField *   getField(const SbName &fieldName) const
SbBool              getFieldName(const SoField *field, SbName &fieldName)
                         const
SbBool              isNotifyEnabled() const
SbBool              enableNotify(SbBool flag)

Methods from class SoBase:

void                ref()
void                unref() const
void                unrefNoDelete() const
void                touch()
virtual SoType      getTypeId() const
SbBool              isOfType(SoType type) const
virtual void        setName(const SbName &name)
virtual SbName      getName() const

Macros from class SoBaseKit:

SO_GET_PART(kit, partName, partClass)
SO_CHECK_PART(kit, partName, partClass)

🌈 DESCRIPTION

okay so the SoAppearanceKit is literally the vibe-setter. you use it to create a lil group of property nodes that will affect all the shape nodes or nodekits that come after it in the scene graph. it's the friend who walks into the room first and sets the whole energy πŸ”₯

this nodekit defines seven brand-new parts: lightModel, environment, drawStyle, material, complexity, texture2, and font. and ngl, one important lil thing: it does not include binding nodes such as SoMaterialBinding. like, not in there, bestie, don't go looking πŸ₯²

SoAppearanceKit is derived from SoBaseKit and so it also includes a callbackList part for adding callback nodes. iconic inheritance behavior, we love to see it ✨


πŸŽ€ PARTS

  • (SoLightModel) lightModel β€” an SoLightModel node that affects any shapes that follow this nodekit in the scene graph. this part is NULL by default.
  • (SoEnvironment) environment β€” an SoEnvironment node that affects any nodes that follow this nodekit in the scene graph. this part is NULL by default.
  • (SoDrawStyle) drawStyle β€” an SoDrawStyle node that affects any shapes that follow this nodekit in the scene graph. this part is NULL by default.
  • (SoMaterial) material β€” an SoMaterial node that affects any shapes that follow this nodekit in the scene graph. this part is NULL by default.
  • (SoComplexity) complexity β€” an SoComplexity node that affects any shapes that follow this nodekit in the scene graph. this part is NULL by default.
  • (SoTexture2) texture2 β€” an SoTexture2 node that affects any shapes that follow this nodekit in the scene graph. this part is NULL by default.
  • (SoFont) font β€” an SoFont node that affects any text nodes that follow this nodekit in the scene graph. this part is NULL by default.

(and yes, every single one of them is NULL by default. the whole kit starts out bare-faced and then you dress her up πŸ’–)


πŸ¦‹ METHODS

  • SoAppearanceKit() β€” constructor. she's born ✨
  • static const SoNodekitCatalog * getClassNodekitCatalog() const β€” returns the SoNodekitCatalog for this class.
  • static SoType getClassTypeId() β€” returns type identifier for this class.

πŸ‘‘ CATALOG PARTS

all parts πŸ’«

  • callbackList β€” part type NodeKitListPart, default type --, NULL by default: yes
  • lightModel β€” part type LightModel, default type --, NULL by default: yes
  • environment β€” part type Environment, default type --, NULL by default: yes
  • drawStyle β€” part type DrawStyle, default type --, NULL by default: yes
  • material β€” part type Material, default type --, NULL by default: yes
  • complexity β€” part type Complexity, default type --, NULL by default: yes
  • texture2 β€” part type Texture2, default type --, NULL by default: yes
  • font β€” part type Font, default type --, NULL by default: yes

extra information for list parts from above table 🧚

  • callbackList β€” container type Separator, permissible types: Callback, EventCallback

πŸ’œ FILE FORMAT/DEFAULTS

AppearanceKit {
    callbackList  NULL
    lightModel    NULL
    environment   NULL
    drawStyle     NULL
    material      NULL
    complexity    NULL
    texture2      NULL
    font          NULL
}

πŸ“Œ NOTE

heads up bestie: SoSeparatorKit includes an SoAppearanceKit as a part. so she's not just out here solo, she's also a component. main character energy, honestly πŸ‘‘

🌟 SEE ALSO

SoBaseKit, SoCameraKit, SoLightKit, SoNodeKit, SoNodeKitDetail, SoNodeKitListPart, SoNodeKitPath, SoNodekitCatalog, SoSceneKit, SoSeparatorKit, SoShapeKit, SoWrapperKit


and that's the whole page, babe πŸ’– this was SoAppearanceKit(3IV), published as SoAppearanceKit(3IV)() β€” go forth and make your scene graph absolutely gorgeous. slay, no cap, periodt πŸŒˆπŸ’…βœ¨