FilterBonesByVolume

Populate an array of transform indices w/ those that match a custom volume-based filter

Choose your operating system:

Windows

macOS

Linux

References

Module

PlanarCut

Header

/Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Public/PlanarCut.h

Include

#include "PlanarCut.h"

Source

/Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Private/PlanarCut.cpp

Syntax

void FilterBonesByVolume
(
    FGeometryCollection & Collection,
    const TArrayView< const int32 > & TransformIndices,
    const TArrayView< const double > & Volumes,
    TFunctionRef< bool BoneIdx)> Filter,
    TArray< int32 > & OutSmallBones
)

Remarks

Populate an array of transform indices w/ those that match a custom volume-based filter

Parameters

Parameter

Description

Collection

The collection to be processed

TransformIndices

The transform indices to process, or empty if all should be processed

Volumes

Volumes of geometry; 1:1 w/ TransformIndices array

Filter

Geometry for which the volume filter returns true will be chosen

OutSmallBones

Output array, to be filled with transform indices for small pieces of geometry