PlanarCut

Windows
MacOS
Linux

Classes

Name

Description

Public struct

FInternalSurfaceMaterials

Auxiliary structure for FPlanarCells to carry material info

Public struct

FNoiseSettings

Copyright Epic Games, Inc. All Rights Reserved.

Public struct

FPlanarCells

Stores planar facets that divide space into cells.

Public class

IPlanarCutPlugin

The public interface to this module

Functions

Name Description

Public function

void

 

ComputeTriangleNormals

(
    const TArrayView< const FVector > V...,
    const TArrayView< const FIntVector ...,
    TArray< FVector >& TriangleNormals
)

TODO: this functionality shouldn't live in this api probably; get it from geometry processing modules or something else?

Public function

int32

 

CutMultipleWithMultiplePlanes

(
    const TArrayView< const FPlane >& ...,
    FInternalSurfaceMaterials& Interna...,
    FGeometryCollection& Collection,
    const TArrayView< const int32 >& T...,
    const TOptional< FTransform >& Tra...,
    bool bFlattenToSingleLayer,
    bool bSetDefaultInternalMaterialsFr...,
    TFunction< void...
)

Cut multiple Geometry groups inside a GeometryCollection with Planes, and add each cut cell back to the GeometryCollection as a new child of their source Geometry.

Public function

int32

 

CutMultipleWithPlanarCells

(
    FPlanarCells& Cells,
    FGeometryCollection& Collection,
    const TArrayView< const int32 >& T...,
    const TOptional< FTransform >& Tra...,
    bool bIncludeOutsideCellInOutput,
    float CheckDistanceAcrossOutsideCel...,
    bool bSetDefaultInternalMaterialsFr...,
    TFunction< void...
)

Cut multiple Geometry groups inside a GeometryCollection with PlanarCells, and add each cut cell back to the GeometryCollection as a new child of their source Geometry.

Public function

int32

 

CutWithPlanarCells

(
    FPlanarCells& Cells,
    FGeometryCollection& Collection,
    int32 TransformIdx,
    const TOptional< FTransform >& Tra...,
    bool bIncludeOutsideCellInOutput,
    float CheckDistanceAcrossOutsideCel...,
    bool bSetDefaultInternalMaterialsFr...,
    TFunction< void...
)

Cut a Geometry inside a GeometryCollection with PlanarCells, and add each cut cell back to the GeometryCollection as a new child of the input Geometry.

Public function

void

 

DefaultVertexInterpolation

(
    const FGeometryCollection& V0Colle...,
    int32 V0,
    const FGeometryCollection& V1Colle...,
    int32 V1,
    float T,
    int32 VOut,
    FGeometryCollection& Dest
)

Helper function that interpolates the standard vertex attributes in a reasonable way

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