Vixen
c7401864

IWaterFieldSource

interface Core/Vixen.Water/WaterQuery.cs:17
csharp
public interface IWaterFieldSource

Where a query's field comes from, when the field itself can be replaced.

Read the guide page for this →

Remarks

⚠ A field is not always the same object for the query's whole life. A zone reshaped to a new resolution builds a new WaterField — the old arrays cannot hold a window with a different texel count — and a query holding the field object itself would keep answering from the dead one forever. A query holding a source instead reads whichever field is live at the moment it is asked, which is the liveness Query promises.

Fields and properties (1)

  • WaterField? Field

    The field that is live right now, or null before the first rasterisation.

Used by (2)

  • WaterQueryVixen.Water
  • WaterZoneStateVixen.Water