instantreality 1.0

Component:
Shape
Status:
interface only
Structure type:
concrete
Standard:
Avalon

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
MFNode appearance MFNode inputOutput Appearance Can hold any positive number of Appearance nodes.
SFInt32 whichChoice SFInt32 inputOutput 0 Index of active child Appearance, counting from 0.
SFInt32 sortKey SFInt32 inputOutput 0 Change render order manually.
SFString sortType SFString inputOutput auto [auto, transparent, opaque] defines the shape type for sorting
MFString 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
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element