unreal.AvaNormalModifier

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

Bases: AvaGeometryBaseModifier

Ava Normal Modifier

C++ Source:

  • Plugin: Avalanche

  • Module: AvalancheModifiers

  • File: AvaNormalModifier.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angle_threshold (float): [Read-Write] Angle to compare and split normal when threshold method is chosen

  • angle_weighted (bool): [Read-Write] Recompute normals and weight them by angle

  • area_weighted (bool): [Read-Write] Recompute normals and weight them by area

  • invert (bool): [Read-Write] Recompute normals and invert normals and triangles

  • modifier_enabled (bool): [Read-Write] Is the modifier enabled or disabled

  • poly_group_layer (str): [Read-Write] PolyGroup to use to split normal from when PolyGroup method is chosen

  • split_method (AvaNormalModifierSplitMethod): [Read-Write] Recompute normals and use a split method

get_angle_threshold() float

Get Angle Threshold

Return type:

float

get_angle_weighted() bool

Get Angle Weighted

Return type:

bool

get_area_weighted() bool

Get Area Weighted

Return type:

bool

get_invert() bool

Get Invert

Return type:

bool

get_poly_group_layer_idx() int32

Get Poly Group Layer Idx

Return type:

int32

get_split_method() AvaNormalModifierSplitMethod

Get Split Method

Return type:

AvaNormalModifierSplitMethod

set_angle_threshold(angle_threshold) None

Set Angle Threshold

Parameters:

angle_threshold (float)

set_angle_weighted(angle_weighted) None

Set Angle Weighted

Parameters:

angle_weighted (bool)

set_area_weighted(area_weighted) None

Set Area Weighted

Parameters:

area_weighted (bool)

set_invert(invert) None

Set Invert

Parameters:

invert (bool)

set_poly_group_layer_idx(poly_group_layer) None

Set Poly Group Layer Idx

Parameters:

poly_group_layer (int32)

set_split_method(split_method) None

Set Split Method

Parameters:

split_method (AvaNormalModifierSplitMethod)