ScreenLabelResult

Description

sealed class Tinman.Engine.Scenes.Queries.ScreenLabelResult

A query result that describes a screen label.

Public / Constructors

Screen​Label​Result


public constructor ScreenLabelResult → (5)

distance in : float64

The value for ISceneQueryResult.Distance.

screenLabel in : IScreenLabel

[not-null]
The value for ScreenLabel.

bounds in : Box2I

The value for Bounds.

point in : Vec2I

The value for Point.

parentObject opt : SceneObjectResult = null

The value for IParentObjectContainer.ParentObject.

Creates a new instance of ScreenLabelResult.

Public / Attributes

Bounds


public attribute Bounds → (get)

value : Box2I

The screen bounds.

The screen bounds of the screen label that have been passed to IScreenLabel.RenderScreenLabel.

Point


public attribute Point → (get)

value : Vec2I

The screen coordinates within Bounds.

The screen coordinates within Bounds that have generated this result.

Screen​Label


public attribute ScreenLabel → (get)

value : IScreenLabel

[not-null]
The screen label.

The picked screen label.