Base interface for classes that implement hierarchical mesh traversal, using the meshes sector quad-tree (see MeshTree, obtainable via Tree).
interface
|
IMeshTraversal
|
extends
|
IMeshBound
|
||
base of
|
IMeshAction
|
||||
MeshTraversal
|
The mesh tree input filter to use for querying sector culling and marks.
property
|
FilterIn
{
set
}
|
||
type
|
MeshTreeFilter
|
||
value
|
The
filter
or
null . |
Remarks:
The
default
value
is
null
(i.e.
all
mesh
sectors
are
visited).
See also:
MeshTree.GetRootThe mesh tree output filter to use for performing sector culling and marking.
property
|
FilterOut
{
get
set
}
|
||
type
|
MeshTreeFilter
|
||
value
|
The mesh tree filter object. |
Remarks:
This MeshTreeFilter is not reset automatically. The application is responsible to call Reset.
The
default
value
is
null
(i.e.
the
input
filter
is
used
in
that
case).
See also:
MeshTree.SectorCullHas 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
|
The CLOD mesh this object is currently bound to.
property
|
Mesh
{
get
}
|
||
type
|
IMesh
|
||
value
|
The
CLOD
mesh
or
null . |
||
inherited
|
IMeshBound.Mesh
|
The filtered MeshTree of this mesh traversal object.
property
|
Tree
{
get
}
|
||
type
|
MeshTree
|
||
value
|
|
The
filtered
MeshTree
object
or
null
if
this
object
is
not
bound.
|
Binds this object to the given IMesh.
method
|
MeshBind
(IMesh mesh)
|
||
params
|
mesh
|
The mesh object. | |
inherited
|
IMeshBound.MeshBind
|
Unbinds this object from its current IMesh.
method
|
MeshUnbind
()
|
||
inherited
|
IMeshBound.MeshUnbind
|
Visits the given mesh root sectors.
method
|
VisitFaces
(CubemapFace meshFace = CubemapFace.All)
|
||
params
|
meshFace
|
The mesh face to traverse. Defaults to All. |
Visits a quadrant of the given mesh sector on the current face, assuming that the corresponding child mesh sector does not exist.
method
|
VisitQuadrant
(int32 sector,
int32 childIdx)
|
||
params
|
sector
|
Index of center vertex of sector to visit. | |
childIdx
|
Index of non-existing child sector in sector. |
Remarks:
The quadtree data structure for visiting the given sector can be obtained by getting the Tree property of the current mesh (see MeshBind.
Visits the given mesh sector on the current face.
method
|
VisitSector
(int32 sector)
|
||
params
|
sector
|
Index of center vertex of sector to visit. |
Remarks:
The quadtree data structure for visiting the given sector can be obtained by getting the Tree property of the current mesh (see MeshBind.