Vixen
02b45cc4
csharp
public interface IFoliageSurface

Where a scatter asks what the ground is.

Read the guide page for this →

Remarks

An interface for ISurfaceProbe's reason: the scatter is testable with no scene, no terrain and no physics world, and a project can answer with whatever it has. It is also what makes [§ The foliage tools]'s filters possible without foliage-specific code — a probe that answers for blockout meshes makes painting onto a wall work on the day they are probeable.

Methods (1)

Used by (11)

  • FlatVixen.Rendering.Terrain.Tests
  • FlatVixen.Rendering.Terrain.Tests
  • FoliageGrowthVixen.Foliage
  • FoliageScatterVixen.Foliage
  • GrassRendererVixen.Rendering.Terrain
  • GrassScatterVixen.Foliage
  • GroundVixen.Foliage.Tests
  • MeadowVixen.Rendering.Terrain.Tests
  • TerrainSurfaceVixen.Rendering.Terrain
  • FoliageEditVixen.Editor.Terrain
  • MeadowVixen.Editor.Terrain.Tests