unreal.GeometryScriptWeightMapDensity

class unreal.GeometryScriptWeightMapDensity(handle: GeometryScriptWeightMapHandle = Ellipsis, relative_density: float = 0.0)

Bases: StructBase

Specify a weight map for controlling relative density of a mesh

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: MeshSimplifyFunctions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • handle (GeometryScriptWeightMapHandle): [Read-Write] The weight map to reference

  • relative_density (float): [Read-Write] Controls the effect of the weight map: Positive values increase local mesh density for larger weights, negative values decrease density, and zero gives no effect

property handle: GeometryScriptWeightMapHandle

[Read-Write] The weight map to reference

Type:

(GeometryScriptWeightMapHandle)

property relative_density: float

[Read-Write] Controls the effect of the weight map: Positive values increase local mesh density for larger weights, negative values decrease density, and zero gives no effect

Type:

(float)