instantreality 1.0

Component:
Layout
Status:
partly implemented
Structure type:
concrete
Standard:
X3D3.2

Layout

The Layout node is used in the layout field of the LayoutLayer and LayoutGroup nodes. The Layout node provides all the parameters that are required to define the size and location of a 2D rectangular region that is associated with the containing node. Also, it contains a field that defines how the content of the containing node shall be scaled.

Inheritance

Code

XML encoding
<Layout align='CENTER CENTER'
offset='0,0'
offsetUnits='WORLD WORLD'
scaleMode='NONE NONE'
size='1,1'
sizeUnits='WORLD WORLD'
logFeature=''
 />
Classic encoding
Layout {
	align ["CENTER CENTER"]
	offset [0,0]
	offsetUnits ["WORLD WORLD"]
	scaleMode ["NONE NONE"]
	size [1,1]
	sizeUnits ["WORLD WORLD"]
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
MFString align MFString inputOutput CENTER CENTER [LEFT, CENTER, RIGHT, BOTTOM, TOP] The align field values align the sized rectangle to an edge or center of the parent rectangle.
MFFloat offset MFFloat inputOutput 0,0 The values of the offset field are used to translate the location of this rectangle after the initial alignment.
MFString offsetUnits MFString inputOutput WORLD WORLD [WORLD, FRACTION, PIXEL] The offsetUnits field specifies how to interpret the offset values.
MFString scaleMode MFString inputOutput NONE NONE [NONE, FRACTION, STRETCH, PIXEL] The scaleMode field specifies how the scale of the parent is modified.
MFFloat size MFFloat inputOutput 1,1 The width and height of the layout rectangle is defined by two values in the size field.
MFString sizeUnits MFString inputOutput WORLD WORLD [WORLD, FRACTION, PIXEL] The sizeUnits field specifies how to interpret the size values.
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