SwitchAppearance
The SwitchAppearance node contains one or more Appearance nodes between which can be switched.
Inheritance
Code
XML encoding
<SwitchAppearance whichChoice='0' sortKey='0' sortType='auto' logFeature='' />
Classic encoding
SwitchAppearance {
whichChoice 0
sortKey 0
sortType "auto"
logFeature [""]
}
Interface
Filter: X3D only | Avalon only | All
| id | Name | DataType | PartType | Default | ValueType | Description |
|---|---|---|---|---|---|---|
| appearance | MFNode | inputOutput | Appearance | Can hold any positive number of Appearance nodes. | ||
| whichChoice | SFInt32 | inputOutput | 0 | Index of active child Appearance, counting from 0. | ||
| sortKey | SFInt32 | inputOutput | 0 | Change render order manually. | ||
| sortType | SFString | inputOutput | auto | [auto, transparent, opaque] | defines the shape type for sorting | |
| logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
| metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |
