FDistanceFieldVolumeData

Distance field data payload and output of the mesh build process.

Windows
MacOS
Linux

Inheritance Hierarchy

FDeferredCleanupInterface

FDistanceFieldVolumeData

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/DistanceFieldAtlas.h

Include

#include "DistanceFieldAtlas.h"

Syntax

class FDistanceFieldVolumeData : public FDeferredCleanupInterface

Remarks

Distance field data payload and output of the mesh build process.

Variables

Name Description

Public variable

bool

 

bBuiltAsIfTwoSided

Whether the distance field was built assuming that every triangle is a frontface.

Public variable

bool

 

bMeshWasClosed

Whether the mesh was closed and therefore a valid distance field was supported.

Public variable

bool

 

bMeshWasPlane

Whether the mesh was a plane with very little extent in Z.

Public variable

TArray< uint8 >

 

CompressedDistanceFieldVolume

FP16 Signed distance field volume stored in local space.

Public variable

FVector2D

 

DistanceMinMax

Public variable

FBox

 

LocalBoundingBox

Local space bounding box of the distance field volume.

Public variable

FIntVector

 

Size

Dimensions of DistanceFieldVolume.

Public variable

FDistanceFieldV...

 

VolumeTexture

Constructors

Name Description

Public function

FDistanceFieldVolumeData()

Functions

Name Description

Public function

void

 

CacheDerivedData

(
    const FString& InDDCKey,
    UStaticMesh* Mesh,
    UStaticMesh* GenerateSource,
    float DistanceFieldResolutionScale,
    bool bGenerateDistanceFieldAsIfTwoS...
)

Public function Const

SIZE_T

 

GetResourceSizeBytes()

Public function Const

void

 

GetResourceSizeEx

(
    FResourceSizeEx& CumulativeResourc...
)

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