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β anSoLightModelnode that affects any shapes that follow this nodekit in the scene graph. this part isNULLby default.(SoEnvironment)environmentβ anSoEnvironmentnode that affects any nodes that follow this nodekit in the scene graph. this part isNULLby default.(SoDrawStyle)drawStyleβ anSoDrawStylenode that affects any shapes that follow this nodekit in the scene graph. this part isNULLby default.(SoMaterial)materialβ anSoMaterialnode that affects any shapes that follow this nodekit in the scene graph. this part isNULLby default.(SoComplexity)complexityβ anSoComplexitynode that affects any shapes that follow this nodekit in the scene graph. this part isNULLby default.(SoTexture2)texture2β anSoTexture2node that affects any shapes that follow this nodekit in the scene graph. this part isNULLby default.(SoFont)fontβ anSoFontnode that affects any text nodes that follow this nodekit in the scene graph. this part isNULLby 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 theSoNodekitCatalogfor this class.static SoType getClassTypeId()β returns type identifier for this class.
π CATALOG PARTS
all parts π«
callbackListβ part typeNodeKitListPart, default type--,NULLby default: yeslightModelβ part typeLightModel, default type--,NULLby default: yesenvironmentβ part typeEnvironment, default type--,NULLby default: yesdrawStyleβ part typeDrawStyle, default type--,NULLby default: yesmaterialβ part typeMaterial, default type--,NULLby default: yescomplexityβ part typeComplexity, default type--,NULLby default: yestexture2β part typeTexture2, default type--,NULLby default: yesfontβ part typeFont, default type--,NULLby default: yes
extra information for list parts from above table π§
callbackListβ container typeSeparator, 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:SoSeparatorKitincludes anSoAppearanceKitas 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 ππ
β¨
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms