ShapeResult

Description

abstract class Tinman.Engine.Scenes.Queries.ShapeResult

Derived from

SceneQueryResult abstract
IParentObjectContainer

Extended by

ShapeEdgeResult sealed
ShapeTriangleResult sealed
ShapeVertexResult sealed

Abstract base class for query results that describe a 2D shape (see IShape).

Public / Attributes

Point


public attribute Point → (get)

value : Vec2D

The picked point in shape coordinates, see IShape.Bounds.

The picked point in shape coordinates.

Shape


public attribute Shape → (get)

value : IShape

[not-null]
The picked shape.

The picked shape.

Protected / Constructors

Shape​Result


protected constructor ShapeResult → (4)

distance in : RangeD

The value for ISceneQueryResult.Distance.

point in : Vec2D

The value for Point.

shape in : IShape

[not-null]
The value for Shape.

parentObject in : SceneObjectResult

The value for IParentObjectContainer.ParentObject.

Creates a new instance of ShapeResult.