ModelCameraWorld

Description

sealed class Tinman.Engine.Models.ModelCameraWorld

Derived from

ICameraWorld

An implementation of the ICameraWorld that uses an IModel for spatial queries.

Public / Constructors

ModelCameraWorld


public constructor ModelCameraWorld → (1)

unit opt : UnitOfMeasure = null

The unit of measure for world-space. If null, UnitOfMeasure.Metre will be used.

Creates a new instance of ModelCameraWorld.

Public / Attributes

BoundingSphere


public attribute BoundingSphere → (get,set)

value : Sphere

The bounding sphere.

Returns the bounding sphere that contains all world features.

MinimumDistance


public attribute MinimumDistance → (get,set)

value : float64

[>=0]
The minimum distance to the model.

The minimum distance to keep to the model surface.

Defaults to 0.

Model


public attribute Model → (get,set)

value : IModel

The model or null.

The model to use for spatial querying.