unreal.ActorModifierSplinePathModifier¶
- class unreal.ActorModifierSplinePathModifier(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ActorModifierCoreBaseThis modifier allows to sample a spline and update the actor transform based on the spline path
C++ Source:
Plugin: ActorModifier
Module: ActorModifierLayout
File: ActorModifierSplinePathModifier.h
Editor Properties: (see get_editor_property/set_editor_property)
base_orientation(Rotator): [Read-Write] Base rotation added on top of the orientation rotation computeddistance(float): [Read-Write] Distance to sample the spline atmodifier_enabled(bool): [Read-Write] Is the modifier enabled or disabledorient(bool): [Read-Write] Orient actor based on spline tangentpoint_index(int32): [Read-Write] Point index to sample the spline atprogress(float): [Read-Write] Percentage progress to sample the spline atsample_mode(ActorModifierLayoutSplinePathSampleMode): [Read-Write] How to sample the splinescale(bool): [Read-Write] Apply scale based on spline point scalespline_actor_weak(Actor): [Read-Write] Spline actor to retrieve the USplineComponent fromtime(float): [Read-Write] Time to sample the spline at
- get_point_index() int32¶
Get Point Index
- Return type:
int32
- get_sample_mode() ActorModifierLayoutSplinePathSampleMode¶
Get Sample Mode
- Return type: