unreal.GeometryScriptBakeTextureOptions

class unreal.GeometryScriptBakeTextureOptions(resolution: GeometryScriptBakeResolution = Ellipsis, bit_depth: GeometryScriptBakeBitDepth = Ellipsis, samples_per_pixel: GeometryScriptBakeSamplesPerPixel = Ellipsis, sample_filter_mask: Texture2D = Ellipsis, filtering_type: GeometryScriptBakeFilteringType = Ellipsis, projection_distance: float = 0.0, projection_in_world_space: bool = False)

Bases: StructBase

Geometry Script Bake Texture Options

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: MeshBakeFunctions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bit_depth (GeometryScriptBakeBitDepth): [Read-Write] The bit depth for each channel of the generated textures

  • filtering_type (GeometryScriptBakeFilteringType): [Read-Write] Filtering Type to perform on samples

  • projection_distance (float): [Read-Write] Maximum allowed distance for the projection from target mesh to source mesh for the sample to be considered valid. This is only relevant if a separate source mesh is provided.

  • projection_in_world_space (bool): [Read-Write] If true, uses the world space positions for the projection from target mesh to source mesh, otherwise it uses their object space positions. This is only relevant if a separate source mesh is provided.

  • resolution (GeometryScriptBakeResolution): [Read-Write] The pixel resolution of the generated textures

  • sample_filter_mask (Texture2D): [Read-Write] Mask texture for filtering out samples/pixels from the output texture

  • samples_per_pixel (GeometryScriptBakeSamplesPerPixel): [Read-Write] Number of samples per pixel

property bit_depth: GeometryScriptBakeBitDepth

[Read-Write] The bit depth for each channel of the generated textures

Type:

(GeometryScriptBakeBitDepth)

property filtering_type: GeometryScriptBakeFilteringType

[Read-Write] Filtering Type to perform on samples

Type:

(GeometryScriptBakeFilteringType)

property projection_distance: float

[Read-Write] Maximum allowed distance for the projection from target mesh to source mesh for the sample to be considered valid. This is only relevant if a separate source mesh is provided.

Type:

(float)

property projection_in_world_space: bool

[Read-Write] If true, uses the world space positions for the projection from target mesh to source mesh, otherwise it uses their object space positions. This is only relevant if a separate source mesh is provided.

Type:

(bool)

property resolution: GeometryScriptBakeResolution

[Read-Write] The pixel resolution of the generated textures

Type:

(GeometryScriptBakeResolution)

property sample_filter_mask: Texture2D

[Read-Write] Mask texture for filtering out samples/pixels from the output texture

Type:

(Texture2D)

property samples_per_pixel: GeometryScriptBakeSamplesPerPixel

[Read-Write] Number of samples per pixel

Type:

(GeometryScriptBakeSamplesPerPixel)