unreal.ActorModifierRadialArrangeModifier¶
- class unreal.ActorModifierRadialArrangeModifier(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ActorModifierArrangeBaseModifierArranges child actors in a circular rings around its center
C++ Source:
Plugin: ActorModifier
Module: ActorModifierLayout
File: ActorModifierRadialArrangeModifier.h
Editor Properties: (see get_editor_property/set_editor_property)
arrangement(ActorModifierRadialArrangeMode): [Read-Write] Defines how to arrange the child elements around the center.base_orientation(Rotator): [Read-Write] Base rotation added on top of the orientation rotation computedcount(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(ActorModifierAlignment): [Read-Write] deprecated: Use OrientationAxis insteadorientation_axis(ActorModifierAxis): [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 end_angle: float¶
[Read-Write] The end angle for the arrangement space. 0 = Up, -90 = Left, 90 = Right
- Type:
(float)
- get_arrangement() ActorModifierRadialArrangeMode¶
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_orientation_axis() ActorModifierAxis¶
Gets the axis to look at the center.
- 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_axis: ActorModifierAlignment¶
[Read-Write] deprecated: Use OrientationAxis instead
- Type:
- property outer_radius: float¶
[Read-Write] The radius from the center to the last outer ring.
- Type:
(float)
- set_arrangement(arrangement) None¶
Defines how to arrange the child elements around the center.
- Parameters:
arrangement (ActorModifierRadialArrangeMode)
- set_count(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:
count (int32)
- set_end_angle(end_angle) None¶
Sets the end angle for the arrangement space. 0 = Up, -90 = Left, 90 = Right
- Parameters:
end_angle (float)
- set_flip_orient(flip_orient) None¶
If true, will flip the center orientation to face outwards.
- Parameters:
flip_orient (bool)
- set_inner_radius(inner_radius) None¶
Sets the radius from the center to the first inner ring.
- Parameters:
inner_radius (float)
- set_orient(orient) None¶
If true, will orient the selected axis torwards the center.
- Parameters:
orient (bool)
- set_orientation_axis(axis) None¶
Sets the axis to look at the center.
- Parameters:
axis (ActorModifierAxis)
- set_outer_radius(outer_radius) None¶
Sets the radius from the center to the last outer ring.
- Parameters:
outer_radius (float)
- set_start_angle(start_angle) None¶
Sets the start angle for the arrangement space and moving clockwise. 0 = Up, -90 = Left, 90 = Right
- Parameters:
start_angle (float)