unreal.GeometryScriptNonUniformPointSamplingOptions

class unreal.GeometryScriptNonUniformPointSamplingOptions(max_sampling_radius: float = 0.0, size_distribution: GeometryScriptSamplingDistributionMode = Ellipsis, size_distribution_power: float = 0.0, weight_mode: GeometryScriptSamplingWeightMode = Ellipsis, invert_weights: bool = False)

Bases: StructBase

Geometry Script Non Uniform Point Sampling Options

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: MeshSamplingFunctions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • invert_weights (bool): [Read-Write] If true, weight values are inverted

  • max_sampling_radius (float): [Read-Write] If MaxSampleRadius > SampleRadius, then output sample radius will be in range [SampleRadius, MaxSampleRadius]

  • size_distribution (GeometryScriptSamplingDistributionMode): [Read-Write] SizeDistribution setting controls the distribution of sample radii

  • size_distribution_power (double): [Read-Write] SizeDistributionPower is used to control how extreme the Size Distribution shift is. Valid range is [1,10]

  • weight_mode (GeometryScriptSamplingWeightMode): [Read-Write] WeightMode controls how any active Weight scheme is used to affect sample radius

property invert_weights: bool

[Read-Write] If true, weight values are inverted

Type:

(bool)

property max_sampling_radius: float

[Read-Write] If MaxSampleRadius > SampleRadius, then output sample radius will be in range [SampleRadius, MaxSampleRadius]

Type:

(float)

property size_distribution: GeometryScriptSamplingDistributionMode

[Read-Write] SizeDistribution setting controls the distribution of sample radii

Type:

(GeometryScriptSamplingDistributionMode)

property size_distribution_power: float

[Read-Write] SizeDistributionPower is used to control how extreme the Size Distribution shift is. Valid range is [1,10]

Type:

(double)

property weight_mode: GeometryScriptSamplingWeightMode

[Read-Write] WeightMode controls how any active Weight scheme is used to affect sample radius

Type:

(GeometryScriptSamplingWeightMode)