ygWorld derived from ygNode | Example | Source | Header |
Messages |
quit | [bool] | quit the application |
load | file, node | load the given filename below optional node |
save | file, node | save the scene to given filename below optional node |
create | string, [string] | create a new child node with optional name |
delete | node, [bool] | delete the scene below optional node and optional retain root node |
editType | class, node | set the debug state of a node type from optional node down |
setdebug | string, [string] | set the debug state of a node type from optional node down |
unsetdebug | string, [string] | unset the debug state of a node type from optional node down |
graph | string, integer | graph the scene from optional node and to optional depth |
viewer | [string] | assume the viewpoint of another user |
Events |
load | generate load event for alerts | |
save | generate save event for alerts |
Debugs |
SentMessages |
Comments |
method frameTime_
method frameDeltaTime_
method frameNumber_
method world_
constructor ygWorld
destructor ~ygWorld
method createRoot
method setRoot
method root
method pfscene
method viewer
method reset
1 reset viewer
2 call resetTree recursively on all localroot children
method app
method frame
1 prevent loss of time from long delays
method scheduleMessage
method sendMessage
method message
1 quit the application
2 load the given filename below optional node
2.0.1 generate load event for alerts3 save the scene to given filename below optional node
3.0.1 generate save event for alerts4 create a new child node with optional name
5 delete the scene below optional node and optional retain root node
5.1 do not allow localroot to be deleted6 set the debug state of a node type from optional node down
6.0.1 allways find grid nodes
6.0.1 allways find grid nodes7 set the debug state of a node type from optional node down
8 unset the debug state of a node type from optional node down
9 graph the scene from optional node and to optional depth
10 assume the viewpoint of another user
method addUser
method removeUser
method numUsers
method user
method setClip
method setSkyColor
method fogOff
method setFog
method deleteFromNode
method deleteLocalScene
method deleteTree
method saveToFile
method loadFromFile
method saveTree
method sendClassMessage
method quit
method updateDebug
method createDebugNode
method makeSphereGeoset