PlanarCut

Windows
MacOS
Linux

Classes

Name

Description

Public struct

FInternalSurfaceMaterials

Auxiliary structure for FPlanarCells to carry material info

Public struct

FNoiseSettings

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(const FGeometryColl...
)

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(const FGeometryColl...
)

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(const FGeometryColl...
)

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback