unreal.AvaRadialArrangeModifier
¶
- class unreal.AvaRadialArrangeModifier(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
AvaArrangeBaseModifier
Arranges child actors in a circular rings around its center
C++ Source:
Plugin: Avalanche
Module: AvalancheModifiers
File: AvaRadialArrangeModifier.h
Editor Properties: (see get_editor_property/set_editor_property)
arrangement
(AvaRadialArrangement): [Read-Write] Defines how to arrange the child elements around the center.count
(int32): [Read-Write] The number of child elements to limit in the arrangement, or -1 if unlimited. Children whose index is greater than or equal to this value will be hidden.end_angle
(float): [Read-Write] The end angle for the arrangement space. 0 = Up, -90 = Left, 90 = Rightflip_orient
(bool): [Read-Write] If true, will flip the orientation axis to the opposite direction.inner_radius
(float): [Read-Write] The radius from the center to the first inner ring.modifier_enabled
(bool): [Read-Write] Is the modifier enabled or disabledorient
(bool): [Read-Write] If true, will orient the selected axis torwards the center.orient_axis
(AvaAxis): [Read-Write] The axis to look at the center.outer_radius
(float): [Read-Write] The radius from the center to the last outer ring.rings
(int32): [Read-Write] The number of rings.start_angle
(float): [Read-Write] The start angle for the arrangement space and moving clockwise. 0 = Up, -90 = Left, 90 = Rightstart_from_outer_radius
(bool): [Read-Write] If true, will arrange the child elements starting from the outer radius and moving to the inner radius. Has no effect if only using one ring.
- property arrangement: AvaRadialArrangement¶
[Read-Write] Defines how to arrange the child elements around the center.
- Type:
- property count: int¶
[Read-Write] The number of child elements to limit in the arrangement, or -1 if unlimited. Children whose index is greater than or equal to this value will be hidden.
- Type:
(int32)
- property end_angle: float¶
[Read-Write] The end angle for the arrangement space. 0 = Up, -90 = Left, 90 = Right
- Type:
(float)
- property flip_orient: bool¶
[Read-Write] If true, will flip the orientation axis to the opposite direction.
- Type:
(bool)
- get_arrangement() AvaRadialArrangement ¶
Defines how to arrange the child elements around the center.
- Return type:
- get_count() int32 ¶
Gets the number of child elements to use in the arrangement. Children whose index is greater than or equal to this value will be hidden.
- Return type:
int32
- get_end_angle() float ¶
Gets the end angle for the arrangement space. 0 = Up, -90 = Left, 90 = Right
- Return type:
- get_rings() int32 ¶
Gets the number of rings.
- Return type:
int32
- get_start_angle() float ¶
Gets the start angle for the arrangement space and moving clockwise. 0 = Up, -90 = Left, 90 = Right
- Return type:
- get_start_from_outer_radius() bool ¶
If true, will arrange the child elements starting from the outer radius and moving to the inner radius. Has no effect if only using one ring.
- Return type:
- property inner_radius: float¶
[Read-Write] The radius from the center to the first inner ring.
- Type:
(float)
- property orient: bool¶
[Read-Write] If true, will orient the selected axis torwards the center.
- Type:
(bool)
- property outer_radius: float¶
[Read-Write] The radius from the center to the last outer ring.
- Type:
(float)
- set_arrangement(new_arrangement) None ¶
Defines how to arrange the child elements around the center.
- Parameters:
new_arrangement (AvaRadialArrangement) –
- set_count(new_count) None ¶
Sets the number of child elements to use in the arrangement. Children whose index is greater than or equal to this value will be hidden.
- Parameters:
new_count (int32) –
- set_end_angle(new_end_angle) None ¶
Sets the end angle for the arrangement space. 0 = Up, -90 = Left, 90 = Right
- Parameters:
new_end_angle (float) –
- set_flip_orient(new_flip_orient) None ¶
If true, will flip the center orientation to face outwards.
- Parameters:
new_flip_orient (bool) –
- set_inner_radius(new_inner_radius) None ¶
Sets the radius from the center to the first inner ring.
- Parameters:
new_inner_radius (float) –
- set_orient(new_orient) None ¶
If true, will orient the selected axis torwards the center.
- Parameters:
new_orient (bool) –
- set_orient_axis(new_orient_axis) None ¶
Sets the axis to look at the center.
- Parameters:
new_orient_axis (AvaAxis) –
- set_outer_radius(new_outer_radius) None ¶
Sets the radius from the center to the last outer ring.
- Parameters:
new_outer_radius (float) –
- set_start_angle(new_start_angle) None ¶
Sets the start angle for the arrangement space and moving clockwise. 0 = Up, -90 = Left, 90 = Right
- Parameters:
new_start_angle (float) –
- set_start_from_outer_radius(mew_start_from_outer_radius) None ¶
If true, will arrange the child elements starting from the outer radius and moving to the inner radius. Has no effect if only using one ring.
- Parameters:
mew_start_from_outer_radius (bool) –