sealed class Tinman.Engine.Scenes.Queries.ShapeEdgeResult

Derived from

ShapeResult abstract

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

Public / Constructors


public constructor ShapeEdgeResult → (5)

distance in : RangeD

The value for ISceneQueryResult.Distance.

point in : Vec2D

The value for ShapeResult.Point.

shape in : IShape

The value for ShapeResult.Shape.

edge in : int32

The value for Edge.

parentObject in : SceneObjectResult

The value for IParentObjectContainer.ParentObject.

Creates a new instance of ShapeEdgeResult.

Public / Attributes


public attribute Edge → (get)

value : int32

The edge index, see IShape.EdgeAt.

The picked shape edge.