csharp
public interface IFoliageSurfaceWhere a scatter asks what the ground is.
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)
FoliageSurface SampleAt(Vector2 position, string layer)What the ground is under a world XZ position.
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