Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore
Settings for computing distance fields.
| Name | FComputeDistanceFieldSettings |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/VolumeTextureBakeFunctions.h |
| Include Path | #include "GeometryScript/VolumeTextureBakeFunctions.h" |
Syntax
USTRUCT (BlueprintType )
struct FComputeDistanceFieldSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bRequirePower2 | bool | Whether to round voxel count on each dimension up to the nearest power of two. | GeometryScript/VolumeTextureBakeFunctions.h |
|
| ComputeMode | EDistanceFieldComputeMode | Whether to compute distances only in a band around the surface (faster) or compute the full grid Note: If full grid is computed, the distances will still be more accurately computed in the narrow band In narrow band mode, values outside the band will have a large magnitude with the correct sign | GeometryScript/VolumeTextureBakeFunctions.h |
|
| NarrowBandUnits | EDistanceFieldUnits | Whether Narrow Band Width is expressed as a number of voxels (rounded up to nearest int) or a distance. | GeometryScript/VolumeTextureBakeFunctions.h |
|
| NarrowBandWidth | float | Width of the narrow band where distances are computed accurately. | GeometryScript/VolumeTextureBakeFunctions.h |
|
| VoxelsPerDimensions | FIntVector | Number of voxels to use along each axis. | GeometryScript/VolumeTextureBakeFunctions.h |
|