G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
URootMotionModifier_SkewWarp Class Reference

Static Public Member Functions

Motion Warping
static URootMotionModifier_SkewWarp AddRootMotionModifierSkewWarp (UMotionWarpingComponent InMotionWarpingComp, const UAnimSequenceBase InAnimation, float32 InStartTime, float32 InEndTime, FName InWarpTargetName, EWarpPointAnimProvider InWarpPointAnimProvider, FTransform InWarpPointAnimTransform, FName InWarpPointAnimBoneName, bool bInWarpTranslation=true, bool bInIgnoreZAxis=true, bool bInWarpRotation=true, EMotionWarpRotationType InRotationType=EMotionWarpRotationType ::Default, EMotionWarpRotationMethod InRotationMethod=EMotionWarpRotationMethod ::Slerp, float32 InWarpRotationTimeMultiplier=1.000000, float32 InWarpMaxRotationRate=0.000000)
Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from URootMotionModifier_Warp
static UClass StaticClass ()
Static Public Member Functions inherited from URootMotionModifier
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Additional Inherited Members

Public Member Functions inherited from UObject
bool MarkPackageDirty () const
void RemoveFromRoot ()
bool GetIsRooted () const
bool IsTransient () const
bool Modify (bool bAlwaysMarkDirty=true)
void SetTransactional (bool bTransactional)
bool IsSupportedForNetworking () const
UClass GetClass () const
UObject GetOuter () const
UObject GetTypedOuter (TSubclassOf< UObject > Target) const
 Traverses the outer chain searching for the next object of a certain type.
UPackage GetOutermost () const
UPackage GetPackage () const
void AddToRoot ()
UWorld GetWorld () const
FName GetName () const
FString GetFullName (const UObject StopOuter=nullptr) const
FString GetPathName (const UObject StopOuter=nullptr) const
bool IsA (const UClass Class) const
 Returns true if this object is of the specified type, or a child of that type.
void SaveConfig ()
void LoadConfig ()
void ReloadConfig ()
void CopyScriptPropertiesFrom (const UObject OtherObject)
void opCast (?&Address) const
FString ToString () const
Public Attributes inherited from URootMotionModifier_Warp
UCurveFloat AddTranslationEasingCurve
 Custom curve used to add translation when there is none to warp. Only relevant when AddTranslationEasingFunc is set to Custom.
FTransform WarpPointAnimTransform
 @TODO: Hide from the UI when Target != Static
FName WarpPointAnimBoneName
 @TODO: Hide from the UI when Target != Bone
bool bWarpTranslation
 Whether to warp the translation component of the root motion.
bool bIgnoreZAxis
 Whether to ignore the Z component of the translation. Z motion will remain untouched.
FName WarpTargetName
 Name used to find the warp target for this modifier.
EWarpPointAnimProvider WarpPointAnimProvider
EAlphaBlendOption AddTranslationEasingFunc
 Easing function used when adding translation. Only relevant when there is no translation in the animation.
bool bWarpRotation
 Whether to warp the rotation component of the root motion.
EMotionWarpRotationType RotationType
 Whether rotation should be warp to match the rotation of the sync point or to face the sync point.
EMotionWarpRotationMethod RotationMethod
 The method of rotation to use.
float32 WarpRotationTimeMultiplier
 Allow to modify how fast the rotation is warped. e.g if the window duration is 2sec and this is 0.5, the target rotation will be reached in 1sec instead of 2sec.
float32 WarpMaxRotationRate
 Maximum rotation rate in degrees/sec. Will be the value used in constant rotation rate.
Public Attributes inherited from URootMotionModifier
float32 StartTime
 Start time of the warping window.
float32 EndTime
 End time of the warping window.
float32 PreviousPosition
 Previous playback time of the animation.
float32 CurrentPosition
 Current playback time of the animation.
float32 Weight
 Current blend weight of the animation.
FTransform StartTransform
 Character owner transform at the time this modifier becomes active.
float32 ActualStartTime
 Actual playback time when the modifier becomes active.
TWeakObjectPtr< const UAnimSequenceBase > Animation
 Source of the root motion we are warping.
Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Member Function Documentation

◆ AddRootMotionModifierSkewWarp()

URootMotionModifier_SkewWarp AddRootMotionModifierSkewWarp ( UMotionWarpingComponent InMotionWarpingComp,
const UAnimSequenceBase InAnimation,
float32 InStartTime,
float32 InEndTime,
FName InWarpTargetName,
EWarpPointAnimProvider InWarpPointAnimProvider,
FTransform InWarpPointAnimTransform,
FName InWarpPointAnimBoneName,
bool bInWarpTranslation = true,
bool bInIgnoreZAxis = true,
bool bInWarpRotation = true,
EMotionWarpRotationType InRotationType = EMotionWarpRotationType :: Default,
EMotionWarpRotationMethod InRotationMethod = EMotionWarpRotationMethod :: Slerp,
float32 InWarpRotationTimeMultiplier = 1.000000,
float32 InWarpMaxRotationRate = 0.000000 )
static

◆ StaticClass()

UClass StaticClass ( )
static