Grid

name: Grid
documentation:

A grid defines uniformly sized cells for placement of elements. An undefined grid defaults to a size of 1,1,1 with 1 row, column and layer.

Child elements added to the grid are limited in maximum size to the size of the cell they occupy. New elements are added to the next available cell in a column, row, layer order.

extension
base: imml: MovableElement

choice: The following element types can be used in conjunction with this element
maxOccurs: unbounded

element
type: imml:Repeater
name: Repeater
maxOccurs: unbounded
minOccurs: 0

element
type: imml:Stack
name: Stack
maxOccurs: unbounded
minOccurs: 0

element
type: imml:Grid
name: Grid
maxOccurs: unbounded
minOccurs: 0

element
type: imml:Model
name: Model
maxOccurs: unbounded
minOccurs: 0

element
type: imml:Effect
name: Effect
maxOccurs: unbounded
minOccurs: 0

element
type: imml:Text
name: Text
maxOccurs: unbounded
minOccurs: 0

element
type: imml:Primitive
name: Primitive
maxOccurs: unbounded
minOccurs: 0

element
type: imml:Sound
name: Sound
maxOccurs: unbounded
minOccurs: 0

element
type: imml:Light
name: Light
maxOccurs: unbounded
minOccurs: 0

element
type: imml:Camera
name: Camera
maxOccurs: unbounded
minOccurs: 0

element
type: imml:Widget
name: Widget
maxOccurs: unbounded
minOccurs: 0

attribute
name: Rows
type: xs:int
default: 1
documentation:

The number of horizontal segments to divide the grid into

attribute
name: Columns
type: xs:int
default: 1
documentation:

The number of vertical segments to divide the grid into

attribute
name: Layers
type: xs:int
default: 1
documentation:

The number of depth segments to divide the grid into

attribute
name: Size
type: imml:Vector3
default: 1,1,1
documentation:

The size of the element