Class SoAppearanceKit

All Implemented Interfaces:
SafeDisposable

public class SoAppearanceKit extends SoBaseKit
Appearance nodekit class. The 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.

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.

NOTES

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
}

CATALOG PARTS

All Parts

    Part NamePart TypeDefault TypeNULL 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 NameContainer TypePossible Types
    callbackList Separator Callback, EventCallback

See Also:
  • Constructor Details

    • SoAppearanceKit

      public SoAppearanceKit()
      Constructor.
  • Method Details