Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/TRemoveOccludedTriangles
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Apply
(
const FTransformSRT3d& MeshLocalToOccluderSpace, |
Remove the occluded triangles single instance case w/out precomputed winding tree | Operations/RemoveOccludedTriangles.h | |
virtual bool Apply
(
const TArrayView< const FTransformSRT3d > MeshLocalToOccluderSpaces, |
Remove 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 Apply
(
const FTransformSRT3d& MeshLocalToOccluderSpace, |
Remove the occluded triangles single instance case | Operations/RemoveOccludedTriangles.h | |
virtual bool Apply
(
const TArrayView< const FTransformSRT3d > MeshLocalToOccluderSpaces, |
Remove 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 | Operations/RemoveOccludedTriangles.h |
Apply(const FTransformSRT3d &, TMeshAABBTree3< OccluderTriangleMeshType > *)
Description
Remove the occluded triangles single instance case w/out precomputed winding tree
| Name | Apply |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/RemoveOccludedTriangles.h |
| Include Path | #include "Operations/RemoveOccludedTriangles.h" |
virtual bool Apply
(
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 |
Apply(const TArrayView< const FTransformSRT3d >, TMeshAABBTree3< OccluderTriangleMeshType > , TFastWindingTree< OccluderTriangleMeshType > )
Description
Remove 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 | Apply |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/RemoveOccludedTriangles.h |
| Include Path | #include "Operations/RemoveOccludedTriangles.h" |
virtual bool Apply
(
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 |
Apply(const FTransformSRT3d &, TMeshAABBTree3< OccluderTriangleMeshType > , TFastWindingTree< OccluderTriangleMeshType > )
Description
Remove the occluded triangles single instance case
| Name | Apply |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/RemoveOccludedTriangles.h |
| Include Path | #include "Operations/RemoveOccludedTriangles.h" |
virtual bool Apply
(
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 |
Apply(const TArrayView< const FTransformSRT3d >, const TArrayView< TMeshAABBTree3< OccluderTriangleMeshType > >, const TArrayView< TFastWindingTree< OccluderTriangleMeshType > >, const TArrayView< const FTransformSRT3d >, bool)
Description
Remove 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
| Name | Apply |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/RemoveOccludedTriangles.h |
| Include Path | #include "Operations/RemoveOccludedTriangles.h" |
virtual bool Apply
(
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. |