Class SoAppearanceKit
- All Implemented Interfaces:
SafeDisposable
SoAppearanceKit
is used to create a group of property nodes that will be used to affect subsequent shape nodes or nodekits in the scene graph.
This nodekit defines seven new parts: lightModel , environment , drawStyle , material , complexity , texture2 , and font . Note that it does not include binding nodes such as SoMaterialBinding
.
SoAppearanceKit
is derived from SoBaseKit
and thus also includes a callbackList part for adding callback nodes.
(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.
Note that SoSeparatorKit
includes an SoAppearanceKit
as a part.
File format/default:
AppearanceKit {
callbackList | NULL |
lightModel | NULL |
environment | NULL |
drawStyle | NULL |
material | NULL |
complexity | NULL |
texture2 | NULL |
font | NULL |
All Parts
Part Name | Part Type | Default Type | NULL Default |
callbackList | NodeKitListPart | yes | |
lightModel | LightModel | yes | |
environment | Environment | yes | |
drawStyle | DrawStyle | yes | |
material | Material | yes | |
complexity | Complexity | yes | |
texture2 | Texture2 | yes | |
font | Font | yes |
Extra Information for List Parts from Above Table
Part Name | Container Type | Possible Types |
callbackList | Separator | Callback, EventCallback |
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoring
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SoNodekitCatalog
Returns theSoNodekitCatalog
for this class.Methods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaults
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Constructor Details
-
SoAppearanceKit
public SoAppearanceKit()Constructor.
-
-
Method Details
-
getClassNodekitCatalog
Returns theSoNodekitCatalog
for this class.
-