Class ParticleMaskVolume
Trigger volume in which surface particles get faded out. Place over the cabin so dust does not show through the glass - glass writes no depth and can not occlude particles behind it. Picked up by SurfaceParticleSystem on vehicle initialization; vehicles without a volume are unaffected.
Namespace: NWH.VehiclePhysics2.Effects
Assembly: NWH.VehiclePhysics2.dll
Syntax
[RequireComponent(typeof(Collider))]
public class ParticleMaskVolume : MonoBehaviour
Properties
MaskCollider
Trigger collider defining the volume.
Declaration
public Collider MaskCollider { get; }
Property Value
| Type | Description |
|---|---|
| Collider |