IMeshBoundDistance

Description

interface Tinman.Terrain.Meshing.IMeshBoundDistance

Derived from

ICameraInfoDependent

Extended by

Batching sealed
Chunking sealed
Texturing sealed

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

Public / Attributes

Distance


public attribute Distance → (get,set)

value : float64

The distance value (see remarks).

Skips mesh sectors that are outside of the specified distance range.

A mesh sector is skipped if:

sign(Distance) * length(C - P) - R > Distance

where C is the camera position, P is the position of the mesh sector center vertex and R is the radius of the bounding sphere of the mesh sector.

Extensions

Update​Distance


public static method UpdateDistance → (1)

range in : Fade

The distance fade range.

Updates the IMeshBoundDistance.Distance property of this mesh traversal object, according to the given distance fade range.