FPlanarCells

Stores planar facets that divide space into cells.

Windows
MacOS
Linux

References

Module

PlanarCut

Header

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

Include

#include "PlanarCut.h"

Syntax

struct FPlanarCells

Remarks

Stores planar facets that divide space into cells.

Variables

Name Description

Public variable

bool

 

AssumeConvexCells

Public variable

TFunction< int3...

 

CellFromPosition

Most cellular complexes we're interested in lend themselves to reasonably-fast ways to go directly from a point in space to a cell classification, so we don't try to compute it directly from this generic representation

Public variable

FInternalSurfac...

 

InternalSurfaceMaterials

Public variable

int32

 

NumCells

Public variable

TArray< TArray<...

 

PlaneBoundaries

Public variable

TArray< FVector...

 

PlaneBoundaryVertices

Public variable

TArray< TPair< ...

 

PlaneCells

Public variable

TArray< FPlane ...

 

Planes

Constructors

Name Description

Public function

FPlanarCells()

Public function

FPlanarCells

(
    const FPlane& Plane
)

Public function

FPlanarCells

(
    const TArrayView< const FBox > Boxe...
)

Public function

FPlanarCells

(
    const TArrayView< const FVector > S...,
    FVoronoiDiagram& Voronoi
)

Public function

FPlanarCells

(
    const FBox& Region,
    const FIntVector& CubesPerAxis
)

Public function

FPlanarCells

(
    const FBox& Region,
    const TArrayView< const FColor > Im...,
    int32 Width,
    int32 Height
)

Functions

Name Description

Public function

void

 

AddPlane

(
    const FPlane& P,
    int32 CellIdxBehind,
    int32 CellIdxInFront
)

Public function

void

 

AddPlane

(
    const FPlane& P,
    int32 CellIdxBehind,
    int32 CellIdxInFront,
    const TArray< int32 >& PlaneBounda...
)

Public function

void

 

EmptyGeometricData()

Public function Const

bool

 

HasValidPlaneBoundaryOrientations()

Debugging function to check that the plane boundary vertices are wound to match the orientation of the plane normal vectors

Public function

void

 

SetNoise

(
    FNoiseSettings Noise
)

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