Camera

name: Camera
documentation:

Defines a view into the scene. Supports chasing positional elements.

extension
base: imml:MovableElement
choice: The following element types can be used in conjunction with this element
maxOccurs: unbounded
minOccurs: 0

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 *element*s

element
type: imml:Shader
name: Shader
maxOccurs: 1
minOccurs: 0

element
name: Network
type: imml:Network
minOccurs: 0
maxOccurs: 1

attribute
name: Enabled
type: imml:Boolean
use: optional
documentation:

If a valid ChaseTarget has been specified, enables the camera chase functionality.

attribute
name: ChaseTarget
type: xs:string
use: optional
documentation:

Name of the element in the current document context to chase

attribute
name: ChasePositionOffset
type: imml:Vector3
use: optional
documentation:

Desired camera position in the chased element's coordinate system.

attribute
name: ChaseLookAtOffset
type: imml:Vector3
use: optional
documentation:

The point in the chased element's coordinate system to look at.

attribute
name: ChaseDamping
type: xs:float
use: optional
documentation:

Physics coefficient which approximates internal friction of the spring.

attribute
name: ChaseStiffness
type: xs:float
use: optional
documentation:

Physics coefficient which controls the influence of the camera's position over the spring force. The stiffer the spring, the closer it will stay to the chased object.

attribute
name: ChaseMass
type: xs:float
use: optional
documentation:

The amount of mass to simulate the camera has when chasing.

attribute
name: Projection
type: imml:ProjectionType
use: optional
default: Perspective
documentation:

The style of projection to use

attribute
name: FOV
type: xs:float
use: optional
default: 60
documentation:

The field of view, expressed as a floating point angle