unreal.PCGNormalToDensitySettings

class unreal.PCGNormalToDensitySettings(outer: Object | None = None, name: Name | str = 'None')

Bases: PCGSettings

Finds the angle against the specified direction and applies that to the density

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGNormalToDensity.h

Editor Properties: (see get_editor_property/set_editor_property)

  • category (Text): [Read-Write]

  • debug (bool): [Read-Write]

  • debug_settings (PCGDebugVisualizationSettings): [Read-Write]

  • density_mode (PCGNormalToDensityMode): [Read-Write] The operator to apply to the output density

  • description (Text): [Read-Write]

  • determinism_settings (PCGDeterminismSettings): [Read-Write]

  • enabled (bool): [Read-Write]

  • expose_to_library (bool): [Read-Write]

  • filter_on_tags (Set[str]): [Read-Write] Warning - this is deprecated and will be removed soon since we have a Filter By Tag node for this specific purpose

  • normal (Vector): [Read-Write] The normal to compare against

  • offset (double): [Read-Write] This is biases the value towards or against the normal (positive or negative)

  • pass_through_filtered_out_inputs (bool): [Read-Write] Warning - this is deprecated and will be removed soon since we have a Filter By Tag node for this specific purpose

  • seed (int32): [Read-Write]

  • strength (double): [Read-Write] This applies a curve to scale the result density with Result = Result^(1/Strength)

  • tags_applied_on_output (Set[str]): [Read-Write] Applies the specified tags on the output data. Note - this might be replaced by a dedicated Tagging node

  • use_seed (bool): [Read-Only] By default, settings won’t use a seed. Set this bool to true in the child ctor to allow edition and use it.

property density_mode: PCGNormalToDensityMode

[Read-Write] The operator to apply to the output density

Type:

(PCGNormalToDensityMode)

property normal: Vector

[Read-Write] The normal to compare against

Type:

(Vector)

property offset: float

[Read-Write] This is biases the value towards or against the normal (positive or negative)

Type:

(double)

property strength: float

[Read-Write] This applies a curve to scale the result density with Result = Result^(1/Strength)

Type:

(double)