Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/VolumeTextureBakeFunctions.h |
| Include | #include "GeometryScript/VolumeTextureBakeFunctions.h" |
Syntax
USTRUCT (BlueprintType )
struct FComputeDistanceFieldSettings
Remarks
Settings for computing distance fields.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bRequirePower2 | Whether to round voxel count on each dimension up to the nearest power of two. | |
| EDistanceFieldComputeMode | ComputeMode | 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 | |
| EDistanceFieldUnits | NarrowBandUnits | Whether Narrow Band Width is expressed as a number of voxels (rounded up to nearest int) or a distance. | |
| float | NarrowBandWidth | Width of the narrow band where distances are computed accurately. | |
| FIntVector | VoxelsPerDimensions | Number of voxels to use along each axis. |