TerrainPointResult

Description

sealed class Tinman.Engine.Scenes.Queries.TerrainPointResult

Derived from

PointResult abstract

A query result that describes a point on the terrain surface.

Public / Constructors

Terrain​Point​Result


public constructor TerrainPointResult → (5)

distance in : float64

The value for ISceneQueryResult.Distance.

point in : Vec3D

The value for PointResult.Point.

normal in : Vec3D

The value for PointResult.Normal.

face in : CubemapFace

The value for Face.

parentTriangle in : TerrainTriangleResult

The value for ParentTriangle.

Creates a new instance of TerrainPointResult.

Public / Attributes

Face


public attribute Face → (get)

value : CubemapFace

The cubemap face.

The cubemap face of the picked point.

Parent​Triangle


public attribute ParentTriangle → (get)

value : TerrainTriangleResult

The parent result or null if none.

The parent triangle result.