TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface IMeshBoundMinSize in Tinman.Terrain.Meshing

Base interface for IMeshBound implementations that have a common MinSize property.

interface IMeshBoundMinSize extends ICameraInfoDependent
  IMeshBound
  IViewportDependent
  base of Chunking
  ConeCulling
  Decaling
  DistanceCulling
  FrustumCulling
  HorizonCulling
  Regions
  ShadowMapping
  TerrainBounds

Attributes

CameraInfo

The object that provides the current camera position.

property CameraInfo { get set }
type CameraInfo
value [not-null] The camera position provider.
inherited ICameraInfoDependent.CameraInfo

HasMesh

Has this object been bound to an IMesh object?

property HasMesh { get }
type bool
value true if this object is currently bound to an IMesh, false if not.
inherited IMeshBound.HasMesh

Mesh

The CLOD mesh this object is currently bound to.

property Mesh { get }
type IMesh
value The CLOD mesh or null.
inherited IMeshBound.Mesh

MinSize

The mesh sector quadtree is traversed until the projected screen-size of a mesh sector falls below this limit.

property MinSize { get set }
type float32
value [>=0] Minimum sector size, in screen-space.

Remarks:

This value is the square root of the approximated pixel area of the mesh sector on the screen.

The default value is 256.0f pixels.

Viewport

The current viewport object.

property Viewport { get set }
type Viewport
value [not-null] The viewport object.
inherited IViewportDependent.Viewport

Methods

MeshBind

Binds this object to the given IMesh.

method MeshBind (IMesh mesh)
params mesh The mesh object.
inherited IMeshBound.MeshBind

MeshUnbind

Unbinds this object from its current IMesh.

method MeshUnbind ()
inherited IMeshBound.MeshUnbind