Primitive¶
name: Primitive
documentation:
Provides basic rendering of four main types of primitve: Box, Cone, Cylinder and Sphere.
complexContent
extension
base: imml:Movableelement
choice: The following element types can be used in conjunction with this element
maxOccurs: unbounded
Allow multiple of these elements
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
element
type: imml:Trigger
name: Trigger
maxOccurs: unbounded
minOccurs: 0
element
type: imml:MaterialGroup
name: MaterialGroup
maxOccurs: unbounded
minOccurs: 0
element
name: Define
maxOccurs: unbounded
minOccurs: 0
type: imml:Parameter
documentation:
A key/value pair defining a variable attached to this node
Allow only one of these elements
element
type: imml:Physics
name: Physics
maxOccurs: 1
minOccurs: 0
element
name: Network
type: imml:Network
minOccurs: 0
maxOccurs: 1
attribute
name: Pivot
use: optional
type: imml:Vector3
documentation:
The pivot point for the element to pivot on when performing transformations
attribute
name: Type
type: imml:PrimitiveType
use: required
documentation:
The type of primitive to represent: Box, Cone, Cylinder or Sphere
attribute
name: Complexity
type: imml:PrimitiveComplexity
use: optional
default: Medium
documentation:
The complexity of the primitive. The higher the complexity, the greater the quality.
attribute
name: Visible
type: imml:Boolean
use: optional
documentation:
When true, the element is visible
attribute
name: CastShadows
type: imml:Boolean
use: optional
default: False
documentation:
If true and the element is Visible, it should cast shadows
attribute
name: Size
use: optional
type: imml:Vector3
documentation:
Size of the element