IMeshBoundDistance
Description
- Derived from
- Extended by
Base interface for IMeshBound implementations that have a common Distance property.
Public / Attributes
Distance
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. The default value is 0, i.e. no mesh sectors are skipped.
Extensions
UpdateDistance
Updates the IMeshBoundDistance.Distance property of this mesh traversal object, according to the given distance fade range.