Drag[en]gine Script Module DragonScript
1.21
|
Layer masks. More...
Static Public Attributes | |
static final int | audio = 2 |
Geometry affectsing audio. More... | |
static final int | custom = 3 |
First custom layer bit. More... | |
static final int | default = 0 |
Default layer mask for normal rendering. More... | |
static final int | envmap = 1 |
Geometry visible in environment maps. More... | |
Layer masks.
Used to define what scene elements can interact with each other. The following world elements use layer masks:
|
static |
Geometry affectsing audio.
Elements without this layer mask bit set are not affecting sounds propagating from speakers to microphones. Otherwise the skin textures assigned to the element affect the sound propagation if they have appropriate audio properties set. Skin textures can also set an "affects audio" property to prevent particular element textures to affect sound. By using the layer mask bit the entire element is easily excluded from audio processing altogether.
|
static |
First custom layer bit.
Add any number of layer bits starting with this value to properly support more default layer mask bits added in the future.
|
static |
Default layer mask for normal rendering.
|
static |
Geometry visible in environment maps.
Elements without this layer mask bit set are not included in environment map probes even if the graphic module would otherwise do.