Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshBakeFunctions.h |
| Include | #include "GeometryScript/MeshBakeFunctions.h" |
Syntax
USTRUCT (BlueprintType )
struct FGeometryScriptBakeRenderCaptureOptions
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bBaseColorMap | ||
| bool | bEmissiveMap | ||
| bool | bMetallicMap | ||
| bool | bNormalMap | World space normal map | |
| bool | bOpacityMap | ||
| bool | bPackedMRSMap | Packed Metallic/Roughness/Specular Map. If this is true the separated channel booleans are ignored | |
| bool | bRenderCaptureAntiAliasing | Whether to use anti-aliasing in the render captures, this may introduce artefacts if pixels at different scene depths get blended | |
| bool | bRoughnessMap | ||
| bool | bSpecularMap | ||
| bool | bSubsurfaceColorMap | ||
| TArray< FGeometryScriptRenderCaptureCamera > | Cameras | If not empty the given Render Capture Cameras are used to create the photos from which to Bake textures If empty then a default set of Render Capture Cameras with frustums containing the SourceActors bounding box is used Note: Providing a value is highly recommended, the default camera set is intended only to support legacy blueprints | |
| float | CleanupTolerance | This threshold is used to detect occlusion artefacts (e.g., silhouettes/blotches in the base color) so that texels exhibiting them can be cleaned up i.e., rejected and filled in using the values of nearby valid texels instead. | |
| double | FieldOfViewDegrees | Default field of view of the default render capture cameras. Only used if Cameras is empty | |
| double | NearPlaneDist | Default near plane distance for the viewing frustums of the default render capture cameras. | |
| EGeometryScriptBakeResolution | RenderCaptureResolution | The pixel resolution of the default render capture camera photo sets. Only used if Cameras is empty | |
| EGeometryScriptBakeResolution | Resolution | The pixel resolution of the generated textures | |
| EGeometryScriptBakeSamplesPerPixel | SamplesPerPixel | Number of samples per pixel |