csharp
public interface IPostProcessShapeSourceWhere a volume's shape comes from when the built-ins are not enough.
Remarks
The seam Custom resolves through, and the whole of what a water body needs from [32](../../../docs/plan/32-post-process-volumes.md): the priority, the blend radius and the optional fields are unchanged, and being underwater costs a containment test rather than a system.
⚠ Asked once per custom volume per fold, so the answer should be an object that lives as long as the entity does. A source that builds a shape per call is an allocation per volume per frame, and this is called from the frame's own fold.
Methods (1)
IPostProcessShape? ShapeFor(Entity entity)The shape an entity's volume has, or if this does not know.
Used by (3)
- BelowZeroVixen.Rendering.Tests
- PostProcessVolumeSystemVixen.Rendering
- WaterZoneSystemVixen.Rendering.Water