Ygdrasil Node Classes

Node Messages reset
when
addChild
removeChild
debug
print
event

event message [message ...]
nodename
nodename
flag
string...
eventName [values]

Transform Messages position
orientation
size
x y z
x y z
size | sx sy sz

Object Messages file
wall
floor
draw
filename
boolean
boolean
boolean

User Messages showLocal
(passes other messages to navigator)

CAVETracker Messages sensor sensorNumber

CAVEHead

Light Messages on
off
toggle
position
diffuse



x y z
r g b
Events LightOn
LightOff

Space Messages volume volume (see below)

Sound Messages play
stop
file
falloffDistance
amplitude
loop
[filename [amplitude]]

filename
distance
amplitude
boolean
Events StartPlaying
StopPlaying

Environment Messages clip
skyColor
fog
nearClip farClip
r g b
linear|exp|exp2 r g b onset opaque

UserTrigger Events enter
exit
Note: all events have parameter "$user"

WandTrigger Events enter
exit
wand flags
Note: all events have parameters "$user" and "$wand".
wand flags refers to flags generated by a wand; the CAVEWand generates flags "button1", "button2", "button3".

Selector Messages select
selectNum
childName
childNumber

Switch Messages on
off
toggle
Events SwitchOn
SwitchOff

CAVENavigator Messages teleport
speed
rotSpeed
collide
toggleCollide
fly
toggleFly
printNav
x y z
speed
speed
boolean

boolean

 

CAVEWand Events button1
button2
button3
Flags button1
button2
button3

PointAtTrigger Events start
stop
wand flags
Note: all events have parameters "$user" and "$wand".
wand flags refers to flags generated by a wand; the CAVEWand generates flags "button1", "button2", "button3".

volume messages take one of these forms:

volume ( box minX minY minZ maxX maxY maxZ )
volume ( sphere centerX centerY centerZ radius )
volume ( cylinder bottomX bottomY bottomZ topX topY topZ radius )
volume ( point X Y Z )
volume ( infinite )

boolean message arguments can use the values "true", "false", "on", "off", "0", or "1".