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 texturesfiltering_type
(GeometryScriptBakeFilteringType): [Read-Write] Filtering Type to perform on samplesprojection_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 texturessample_filter_mask
(Texture2D): [Read-Write] Mask texture for filtering out samples/pixels from the output texturesamples_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:
- property filtering_type: GeometryScriptBakeFilteringType¶
[Read-Write] Filtering Type to perform on samples
- Type:
- 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:
- property sample_filter_mask: Texture2D¶
[Read-Write] Mask texture for filtering out samples/pixels from the output texture
- Type:
- property samples_per_pixel: GeometryScriptBakeSamplesPerPixel¶
[Read-Write] Number of samples per pixel