Base interface for IMeshBound implementations that have a common Distance property.
interface
|
IMeshBoundDistance
|
extends
|
ICameraInfoDependent
|
||
base of
|
Batching
|
||||
Chunking
|
|||||
Texturing
|
The object that provides the current camera position.
property
|
CameraInfo
{
get
set
}
|
||
type
|
CameraInfo
|
||
value
|
|
The camera position provider. | |
inherited
|
ICameraInfoDependent.CameraInfo
|
Skips mesh sectors that are outside of the specified distance range.
property
|
Distance
{
get
set
}
|
||
type
|
float64
|
||
value
|
The distance value (see remarks). |
Remarks:
A mesh sector is skipped if:
sign(Distance) * length(C - P) - R > Distancewhere
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.