Responsible for Occlusion Object functions. More...
#include <OccludableObj.h>

Protected Member Functions | |
| virtual void | SubmitRegistration (float mat) |
| Called when wanting to make an object block sounds. | |
| virtual void | SubmitDeregistration () |
| Called when wanting to stop an object from blocking sounds. | |
| void | SetOcclusionModel (Model *mod) |
| Stores an Objects Occlusion Model for calculating collisions. | |
| void | UpdateOcclusionData (const Matrix &mat) |
| Updates Objects Occlusion Model for proper scaling and positioning. | |
Responsible for Occlusion Object functions.
Check OccludableSnd to make Sounds blockable. By default the Terrain is blockable if Terrain material is assigned to 1 then does nothing.
|
protected |
Stores an Objects Occlusion Model for calculating collisions.
This will normally be either the graphics object currently in use, or a low poly version of the same model.
Example:
| mod |
|
protectedvirtual |
Called when wanting to stop an object from blocking sounds.
Example:
|
protectedvirtual |
Called when wanting to make an object block sounds.
Objects must be registered with a material to determine how much sound the object blocks.
Example:
|
protected |
Updates Objects Occlusion Model for proper scaling and positioning.
Example:
| mat |