Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/TRemoveOccludedTriangles
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Select
(
const FTransformSRT3d& MeshLocalToOccluderSpace, |
Select the occluded triangles single instance case w/out precomputed winding tree | Operations/RemoveOccludedTriangles.h | |
virtual bool Select
(
const TArrayView< const FTransformSRT3d > MeshLocalToOccluderSpaces, |
Select the occluded triangles, considering the given occluder AABB tree (which may represent more geometry than a single mesh) See simpler invocations below for the single instance case or the case where you'd like the spatial data structures built for you | Operations/RemoveOccludedTriangles.h | |
virtual bool Select
(
const FTransformSRT3d& MeshLocalToOccluderSpace, |
Select the occluded triangles single instance case | Operations/RemoveOccludedTriangles.h | |
virtual bool Select
(
const TArrayView< const FTransformSRT3d > MeshLocalToOccluderSpaces, |
Select the occluded triangles, considering the given occluder AABB trees (which may represent more geometry than a single mesh) See simpler invocations below for the single instance case or the case where you'd like the spatial data structures built for you Selection will be stored in the RemovedT array, but no triangles will be removed. | Operations/RemoveOccludedTriangles.h |
Select(const FTransformSRT3d &, TMeshAABBTree3< OccluderTriangleMeshType > *)
Description
Select the occluded triangles single instance case w/out precomputed winding tree
| Name | Select |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/RemoveOccludedTriangles.h |
| Include Path | #include "Operations/RemoveOccludedTriangles.h" |
virtual bool Select
(
const FTransformSRT3d & MeshLocalToOccluderSpace,
TMeshAABBTree3 < OccluderTriangleMeshType > * Occluder
)
true on success
Parameters
| Name | Remarks |
|---|---|
| LocalToWorld | Transform to take the local mesh into the space of the occluder geometry |
| Occluder | AABB tree of occluding geometry |
Select(const TArrayView< const FTransformSRT3d >, TMeshAABBTree3< OccluderTriangleMeshType > , TFastWindingTree< OccluderTriangleMeshType > )
Description
Select the occluded triangles, considering the given occluder AABB tree (which may represent more geometry than a single mesh) See simpler invocations below for the single instance case or the case where you'd like the spatial data structures built for you
| Name | Select |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/RemoveOccludedTriangles.h |
| Include Path | #include "Operations/RemoveOccludedTriangles.h" |
virtual bool Select
(
const TArrayView < const FTransformSRT3d > MeshLocalToOccluderSpaces,
TMeshAABBTree3 < OccluderTriangleMeshType > * Spatial,
TFastWindingTree < OccluderTriangleMeshType > * FastWindingTree
)
true on success
Parameters
| Name | Remarks |
|---|---|
| MeshLocalToOccluderSpaces | Transforms to take instances of the local mesh into the space of the occluders |
| Spatials | AABB trees for all occluders |
| FastWindingTrees | Precomputed fast winding trees for occluders |
Select(const FTransformSRT3d &, TMeshAABBTree3< OccluderTriangleMeshType > , TFastWindingTree< OccluderTriangleMeshType > )
Description
Select the occluded triangles single instance case
| Name | Select |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/RemoveOccludedTriangles.h |
| Include Path | #include "Operations/RemoveOccludedTriangles.h" |
virtual bool Select
(
const FTransformSRT3d & MeshLocalToOccluderSpace,
TMeshAABBTree3 < OccluderTriangleMeshType > * Spatial,
TFastWindingTree < OccluderTriangleMeshType > * FastWindingTree
)
true on success
Parameters
| Name | Remarks |
|---|---|
| LocalToWorld | Transform to take the local mesh into the space of the occluder geometry |
| Occluder | AABB tree of occluding geometry |
Select(const TArrayView< const FTransformSRT3d >, const TArrayView< TMeshAABBTree3< OccluderTriangleMeshType > >, const TArrayView< TFastWindingTree< OccluderTriangleMeshType > >, const TArrayView< const FTransformSRT3d >, bool)
Description
Select the occluded triangles, considering the given occluder AABB trees (which may represent more geometry than a single mesh) See simpler invocations below for the single instance case or the case where you'd like the spatial data structures built for you Selection will be stored in the RemovedT array, but no triangles will be removed.
| Name | Select |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/RemoveOccludedTriangles.h |
| Include Path | #include "Operations/RemoveOccludedTriangles.h" |
virtual bool Select
(
const TArrayView < const FTransformSRT3d > MeshLocalToOccluderSpaces,
const TArrayView < TMeshAABBTree3 < OccluderTriangleMeshType > * > Spatials,
const TArrayView < TFastWindingTree < OccluderTriangleMeshType > * > FastWindingTrees,
const TArrayView < const FTransformSRT3d > SpatialTransforms,
bool bTestOccludedByAny
)
true on success
Parameters
| Name | Remarks |
|---|---|
| MeshLocalToOccluderSpaces | Transforms to take instances of the local mesh into the space of the occluders |
| Spatials | AABB trees for all occluders |
| FastWindingTrees | Precomputed fast winding trees for occluders |
| SpatialTransforms | Transforms AABB/winding tree to shared occluder space (if empty, Identity is used) |
| bTestOccludedByAny | If true, a triangle is occluded if it is fully occluded by any occluder. Otherwise, we test if it's occluded by the combination of all occluders. |