Drag[en]gine Script Module DragonScript Script API 1.0
Immutable occlusion mesh resources. More...
|Normalized filename the occlusion mesh has been loaded from. More...|
|bool||equals (Object other)|
|OcclusionMesh is equal to another object. More...|
|Hash code for use as dictionary keys. More...|
|OcclusionMesh||new (String filename)|
|Load occlusion mesh from file. More...|
|static void||loadAsynchron (String filename, ResourceNotifier notifier)|
|Load occlusion mesh from file asynchronously. More...|
Immutable occlusion mesh resources.
This is a native class. It can not be subclassed.
Normalized filename the occlusion mesh has been loaded from.
Hash code for use as dictionary keys.
Load occlusion mesh from file asynchronously.
Registers a request in the game engine to load an occlusion mesh. Once finished or if the file is already loaded the notifier is used to deliver the loaded occlusion mesh or null if the loading failed.
Load occlusion mesh from file.
If the occlusion mesh file has been already loaded it is assigned to this object. If the occlusion mesh is not loaded yet the engine loads the occlusion mesh. This call blocks until the occlusion mesh is fully loaded and ready to be used. For asynchronous loading use loadAsynchron(). Multiple objects can point to the same loaded occlusion mesh resource. Once no object instance uses an occlusion mesh file anymore it is released from memory.