Dome

Description

sealed class Tinman.Engine.Scenes.Entities.Dome

A scene entity that generates a 3D model that represents a dome.

The ISceneObject.QueryDistance uses ISpatialQuery.DistanceTo1 for the 3D model of the dome.
The ISceneObject.QueryRay method generates a ModelResult object for 3D model of the dome.

Public / Constructors

Dome


public constructor Dome → ()

Creates a new instance of Dome.

Public / Attributes

Icosahedron


public attribute Icosahedron → (get,set)

value : bool

true to use ModelGeometry.SphereIco to build the dome sphere,
false to use ModelGeometry.Sphere to build the dome sphere.

Use an icosahedron to build the dome sphere?

Defaults to false.

Subdivision


public attribute Subdivision → (get,set)

value : Vec4I

The subdivision coefficients (see remarks).

The subdivision coefficients to use for building the dome geometry.

Depending on the value of Icosahedron, the subdivision coefficients are interpreted as follows:

Defaults to (36,2,3,2).