ModelResult

Description

sealed class Tinman.Engine.Scenes.Queries.ModelResult

Derived from

PointResult abstract
IParentObjectContainer

A query result that describes a 3D model (see IModel).

Public / Constructors

Model​Result


public constructor ModelResult → (6)

distance in : float64

[>=0]
The pick ray distance.

point in : Vec3D

The value for PointResult.Point.

normal in : Vec3D

The value for PointResult.Normal.

model in : IModel

[not-null]
The value for Model.

transform in : AffineTransform

The value for Transform.

parentObject opt : SceneObjectResult = null

The value for IParentObjectContainer.ParentObject.

Creates a new instance of ModelResult.

Public / Attributes

Model


public attribute Model → (get)

value : IModel

[not-null]
The picked 3D model.

The picked 3D model.

Transform


public attribute Transform → (get)

value : AffineTransform

The model transformation.

The transformation from model-space (in model units) to terrain-space (in terrain units).