Messages |
file | string, [bool] | load the given filename_ with optional caching |
cache | bool | set the default object caching mode |
reload | reload the currently loaded object | |
showLocal | [bool] | set whether the object is drawn locally |
position | create a parent ygTransform and pass the message | |
orientation | create a parent ygTransform and pass the message | |
size | create a parent ygTransform and pass the message | |
updateInterval | create a parent ygTransform and pass the message | |
reliableKey | create a parent ygTransform and pass the message |
Comments |
constructor ygObject
destructor ~ygObject
method reset
1 set cache to true
method message
1 load the given filename_ with optional caching
2 set the default object caching mode
3 reload the currently loaded object
4 set whether the object is drawn locally
5 create a parent ygTransform and pass the message
method loadFile
1 if object has been loaded then remove it as a child
2 if cache mode is true then retrieve from object cache
3 else, load the file using pfdLoadFile
4 if loading was successful
4.1 rename pfGeode to ygObject name5 if loading failed, don't save any file name
4.2 add object as a child
4.3 set intersection traversal mask
method filename