sealed class Tinman.Engine.Scenes.Queries.ShapeVertexResult

Derived from

ShapeResult abstract

A query result that describes a vertex of a 2D shape (see IShape).

Public / Constructors


public constructor ShapeVertexResult → (7)

distance in : float64

The value for ISceneQueryResult.Distance.

point in : Vec2D

The value for ShapeResult.Point.

shape in : IShape

The value for ShapeResult.Shape.

vertex in : int32

The value for Vertex.

parentEdge in : ShapeEdgeResult

The value for ParentEdge.

parentTriangle in : ShapeTriangleResult

The value for ParentTriangle.

parentObject in : SceneObjectResult

The value for IParentObjectContainer.ParentObject.

Creates a new instance of ShapeVertexResult.

Public / Attributes


public attribute ParentEdge → (get)

value : ShapeEdgeResult

The parent query result or null if none.

The parent shape edge result.


public attribute ParentTriangle → (get)

value : ShapeTriangleResult

The parent query result or null if none.

The parent shape triangle result.


public attribute Vertex → (get)

value : int32

The vertex index, see IShape.VertexAt.

The picked shape vertex.