staticObject derived from ygNode

Description: loads models from any one of the accepted Performer model formats

notes:
Category: Geometry
Author: Dave Pape
Revision: 11/01/01
10/15/02 Dave Pape - added optional cache flag to "file" message, added "reload" message,
included cache-state in netFilename for clients

    Messages
file string, [bool] load the given filename with optional caching
wall [bool] set collision detection status
floor [bool] set walk navigation status
draw [bool] set if the object is drawn
showLocal [bool] set whether the object is drawn locally
cache [bool] set the default object caching mode
reload reload the currently loaded object
    Keys
file YG_NET_STRING
isect YG_NET_INT
drawn YG_NET_BOOL
    Comments

constructor staticObject

destructor ~staticObject

method reset

1 reset intersection mask
2 set drawn to true
3 set cache to true
4 set show local to true
5 if an object has been loaded
5.1 reset intersection traversal mask
5.2 if drawn and showLocal are true then allow drawing

method message

1 load the given filename with optional caching
2 set collision detection status
3 set walk navigation status
4 set if the object is drawn
5 set whether the object is drawn locally
6 set the default object caching mode
7 reload the currently loaded object
7.1
 This is slightly contorted just to avoid changing the class interface 

method loadFile

method setWall

method setFloor

method setDraw

method showLocal

method setCache

method filename

method acceptNetKey