SceneQueryResult

Description

abstract class Tinman.Engine.Scenes.Queries.SceneQueryResult

Abstract base class for ISceneQueryResult implementations.

Public / Methods

Sort​By​Distance​Asc


[Pure]
public static method SortByDistanceAsc → (2)

in : ISceneQueryResult

The first result.

in : ISceneQueryResult

The second result.

returns → int32

The comparison result, see SystemUtil.CompareFloat64.

Compares the given scene query results by their distance.

Protected / Constructors

Scene​Query​Result

2 overloads


protected constructor SceneQueryResult1 → (1)

distance in : float64

The value for ISceneQueryResult.Distance.

Creates a new instance of SceneQueryResult.


protected constructor SceneQueryResult2 → (1)

distance in : RangeD

The value for ISceneQueryResult.Distance.

Creates a new instance of SceneQueryResult.