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

int32

 

AddCollisionSampleVertices

(
    double TargetSpacing,
    FGeometryCollection& Collection,
    const TArrayView< const int32 >& T...
)

Scatter additional vertices (w/ no associated triangle) as needed to satisfy minimum point spacing

Public function

void

 

ConvertToMeshDescription

(
    FMeshDescription& OutputMesh,
    FTransform& TransformOut,
    bool bCenterPivot,
    FGeometryCollection& Collection,
    const TArrayView< const int32 >& T...
)

Convert chosen Geometry groups inside a GeometryCollection to a single Mesh Description.

Public function

int32

 

CutMultipleWithMultiplePlanes

(
    const TArrayView< const FPlane >& ...,
    FInternalSurfaceMaterials& Interna...,
    FGeometryCollection& Collection,
    const TArrayView< const int32 >& T...,
    double Grout,
    double CollisionSampleSpacing,
    const TOptional< FTransform >& Tra...,
    bool bSetDefaultInternalMaterialsFr...
)

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...,
    double Grout,
    double CollisionSampleSpacing,
    const TOptional< FTransform >& Tra...,
    bool bIncludeOutsideCellInOutput,
    float CheckDistanceAcrossOutsideCel...,
    bool bSetDefaultInternalMaterialsFr...
)

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

 

CutWithMesh

(
    FMeshDescription* CuttingMesh,
    FTransform CuttingMeshTransform,
    FInternalSurfaceMaterials& Interna...,
    FGeometryCollection& Collection,
    const TArrayView< const int32 >& T...,
    double CollisionSampleSpacing,
    const TOptional< FTransform >& Tra...,
    bool bSetDefaultInternalMaterialsFr...
)

Cut multiple Geometry groups inside a GeometryCollection with a mesh, 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,
    double Grout,
    double CollisionSampleSpacing,
    const TOptional< FTransform >& Tra...,
    bool bIncludeOutsideCellInOutput,
    float CheckDistanceAcrossOutsideCel...,
    bool bSetDefaultInternalMaterialsFr...
)

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

 

RecomputeNormalsAndTangents

(
    bool bOnlyTangents,
    FGeometryCollection& Collection,
    const TArrayView< const int32 >& T...,
    bool bOnlyOddMaterials,
    const TArrayView< const int32 >& W...
)

Recompute normals and tangents of selected geometry, optionally restricted to faces with odd or given material IDs (i.e. to target internal faces)

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