Vixen
02b45cc4
csharp
public readonly record struct TerrainHit

Where a ray met the ground.

Read the guide page for this →

Fields and properties (3)

  • public Vector3 Position

    The point, in the terrain's own space, with Y in metres.

  • public float Distance

    How far along the ray it was.

  • public Vector2 Ground

    The point on the ground plane, which is what a brush is stamped at.

Methods (1)

  • public TerrainHit(Vector3 Position, float Distance)

    Where a ray met the ground.

Used by (4)

  • TerrainPickVixen.Terrain
  • TerrainPickTestsVixen.Terrain.Tests
  • SculptSessionTestsVixen.Editor.Terrain.Tests
  • TerrainModeVixen.Editor.Terrain