instantreality 1.0

Component:
Core
Status:
fully implemented
Structure type:
concrete
Standard:
Avalon

Scene

Scene is the root node that contains an X3D scene graph. Add nodes and children to build a scene. Only one Scene root node is allowed per file. Hint: Scene fields expose the functionality of the Script node's Browser class. Note: Scene nodes within Inlined worlds report identical values as topmost root Scene node. Warning: browser support for fields in this node is partial/experimental.

Inheritance

Code

XML encoding
<Scene isPickable='TRUE'
description=''
bboxCenter='0 0 0'
render='TRUE'
bboxSize='-1 -1 -1'
showBBox='FALSE'
logFeature=''
glueTypeName='Block'
 />
Classic encoding
Scene {
	isPickable TRUE
	description ""
	bboxCenter 0 0 0
	render TRUE
	bboxSize -1 -1 -1
	showBBox FALSE
	logFeature [""]
	glueTypeName "Block"
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
MFNode addChildren MFNode inputOnly The addChildren event appends nodes to the children field of a grouping node. Any nodes passed to the addChildren inputOnly field that are already in the children list of the grouping node are ignored
SFVec3f bboxCenter SFVec3f initializeOnly 0 0 0 Bounding box center: position offset from origin of local coordinate system.
SFVec3f bboxSize SFVec3f initializeOnly -1 -1 -1 Bounding box size: automatically calculated, can be specified as an optimization or constraint.
MFNode children MFNode inputOutput Node field that contains a list of children nodes
SFString description SFString initializeOnly Text description used to select the layer
SFString glueTypeName SFString inputOutput Block Node-type (e.g. ProtoType) name which should be used to glut imported data.
SFBool isPickable SFBool inputOutput TRUE The isPickable field determines if pick traversal is to be performed for this layer.
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
MFNode removeChildren MFNode inputOnly The removeChildren event removes nodes from the children fieldof the grouping node . Any nodes in the removeChildren event that are not in the children list of the grouping node are ignored
SFBool render SFBool inputOutput TRUE Flag to control the visibility of the node or subtree
SFBool showBBox SFBool inputOutput FALSE Show Bounding Box of Subtree.
SFNode viewport SFNode inputOutput NULL ViewportBase The viewport field constrains the output of the layer to a sub-region of the render surface.