ShapeVertexResult

Description

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

Shape​Vertex​Result


public constructor ShapeVertexResult → (7)

distance in : float64

The value for ISceneQueryResult.Distance.

point in : Vec2D

The value for ShapeResult.Point.

shape in : IShape

[not-null]
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

Parent​Edge


public attribute ParentEdge → (get)

value : ShapeEdgeResult

The parent query result or null if none.

The parent shape edge result.

Parent​Triangle


public attribute ParentTriangle → (get)

value : ShapeTriangleResult

The parent query result or null if none.

The parent shape triangle result.

Vertex


public attribute Vertex → (get)

value : int32

The vertex index, see IShape.VertexAt.

The picked shape vertex.