unreal.AvaSplineSweepModifier
¶
- class unreal.AvaSplineSweepModifier(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
AvaGeometryBaseModifier
Ava Spline Sweep Modifier
C++ Source:
Plugin: Avalanche
Module: AvalancheModifiers
File: AvaSplineSweepModifier.h
Editor Properties: (see get_editor_property/set_editor_property)
capped
(bool): [Read-Write] Whether start and end are closed, loop must be falselooped
(bool): [Read-Write] Whether we close the whole spline path, if spline loops this will be truemodifier_enabled
(bool): [Read-Write] Is the modifier enabled or disabledprogress_end
(float): [Read-Write] Sample end range of the splineprogress_offset
(float): [Read-Write] Sample range offset of the spline, for closed loop spline range can wrap aroundprogress_start
(float): [Read-Write] Sample start range of the splinesample_distance
(float): [Read-Write] Custom sample distance for steps per distance modesample_mode
(AvaSplineSweepSampleMode): [Read-Write] How do we sample the splinescale_end
(float): [Read-Write] End scale of the spline meshscale_start
(float): [Read-Write] Start scale of the spline meshspline_actor_weak
(Actor): [Read-Write] Spline actor to retrieve the USplineComponent fromsteps
(int32): [Read-Write] The sample count defines the precision of the sweep
- property capped: bool¶
[Read-Write] Whether start and end are closed, loop must be false
- Type:
(bool)
- get_sample_mode() AvaSplineSweepSampleMode ¶
Get Sample Mode
- Return type:
- get_steps() int32 ¶
Get Steps
- Return type:
int32
- property looped: bool¶
[Read-Write] Whether we close the whole spline path, if spline loops this will be true
- Type:
(bool)
- property progress_offset: float¶
[Read-Write] Sample range offset of the spline, for closed loop spline range can wrap around
- Type:
(float)
- property sample_distance: float¶
[Read-Write] Custom sample distance for steps per distance mode
- Type:
(float)
- property sample_mode: AvaSplineSweepSampleMode¶
[Read-Write] How do we sample the spline
- Type:
- set_sample_mode(mode) None ¶
Set Sample Mode
- Parameters:
mode (AvaSplineSweepSampleMode) –