TRemoveOccludedTriangles::Apply

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

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/RemoveOccludedTriangles.h

Include

#include "Operations/RemoveOccludedTriangles.h"

Syntax

virtual bool Apply
(
    const TArrayView< const FTransform3d > MeshLocalToOccluderSpaces,
    TMeshAABBTree3< OccluderTriangleMeshType > * Spatial,
    TFastWindingTree< OccluderTriangleMeshType > * FastWindingTree
)

Remarks

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

Returns

true on success

Parameters

Parameter

Description

MeshLocalToOccluderSpaces

Transforms to take instances of the local mesh into the space of the occluders

Spatial

AABB trees for all occluders to consider

FastWindingTrees

Precomputed fast winding trees for occluder

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss