RaTweening 1.0.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
RaTweening.RaTransform.RaTweenPunchRotation Class Reference

A RaTweenPunchBase<TargetT> tween handles the logics of tweening the Punch of the Local Rotation of a Transform

‍Note: RaTweenUtilExtensions for all extension methods

More...

Inheritance diagram for RaTweening.RaTransform.RaTweenPunchRotation:
RaTweening.Core.RaTweenPunchBase< Transform >

Public Member Functions

 RaTweenPunchRotation (Transform target, Vector3 punch, float duration, int vibrato=10, float elasticity=1f)
 
- Public Member Functions inherited from RaTweening.Core.RaTweenPunchBase< Transform >
 RaTweenPunchBase (TargetT target, Vector3 punch, float duration, int vibrato=10, float elasticity=1f)
 
RaTweenPunchBase< TargetT > SetPunch (Vector3 punch)
 The Direction and Strength in which the punch will occur. More...
 
RaTweenPunchBase< TargetT > SetVibrato (int vibrato)
 The amount the punch will vibrate. This will cause a shake within the punch, else it will be a smooth sine wave punch. More...
 
RaTweenPunchBase< TargetT > SetElasticity (float elasticity)
 Represents how much (0 to 1) the vector will go beyond the starting value when bouncing backwards.
1 creates a full oscillation between the punch direction and the opposite direction, while 0 oscillates only between the punch and the start value. More...
 
Type GetTargetTypeRaw ()
 
void SetTargetRaw (object value)
 

Protected Member Functions

override void SetDefaultValues ()
 
override Vector3 ReadValue (Transform target)
 
override RaTweenPunchBase< Transform > RaTweenPunchClone ()
 
override RaTween CreateSectionTween (Transform target, Vector3 end, float duration)
 
- Protected Member Functions inherited from RaTweening.Core.RaTweenPunchBase< Transform >
override void OnSetup ()
 
override void OnStart ()
 
override void OnLoop ()
 
override void OnComplete ()
 
override void ApplyReset (bool resumeAfterReset)
 
override void ApplyRewind (bool inclDelay)
 
override void ResetData ()
 
override void OnSetDuration (float duration)
 
override void SetDefaultValues ()
 
override void Dispose ()
 
override void Evaluate (float normalizedValue)
 
override float CalculateEvaluation ()
 
override RaTweenBase CloneSelf ()
 
abstract RaTween CreateSectionTween (TargetT target, Vector3 end, float duration)
 
abstract Vector3 ReadValue (TargetT target)
 
abstract RaTweenPunchBase< TargetT > RaTweenPunchClone ()
 

Additional Inherited Members

- Properties inherited from RaTweening.Core.RaTweenPunchBase< Transform >
override bool IsValid [get]
 

Detailed Description

A RaTweenPunchBase<TargetT> tween handles the logics of tweening the Punch of the Local Rotation of a Transform

‍Note: RaTweenUtilExtensions for all extension methods

Member Function Documentation

◆ RaTweenPunchClone()

override RaTweenPunchBase< Transform > RaTweening.RaTransform.RaTweenPunchRotation.RaTweenPunchClone ( )
protectedvirtual