ShapeTriangleResult

Description

sealed class Tinman.Engine.Scenes.Queries.ShapeTriangleResult

Derived from

ShapeResult abstract

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

Public / Constructors

ShapeTriangleResult


public constructor ShapeTriangleResult → (5)

distance in : RangeD

The value for ISceneQueryResult.Distance.

point in : Vec2D

The value for ShapeResult.Point.

shape in : IShape

[not-null]
The value for ShapeResult.Shape.

triangle in : int32

The value for Triangle.

parentObject in : SceneObjectResult

The value for IParentObjectContainer.ParentObject.

Creates a new instance of ShapeTriangleResult.

Public / Attributes

Triangle


public attribute Triangle → (get)

value : int32

The triangle index, see IShape.TriangleAt.

The picked shape triangle.