Class RotateAroundTransformMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Tween.Transforms
Lerps the given value and applies it to Transform.RotateAround(Vector3, Vector3, float) where the point is the current position of the transform.
public class RotateAroundTransformMotion : RotateAroundVectorMotion, ITweenMotion, IMotion
- Inheritance
-
AbstractTweenMotion<Transform>RotateAroundTransformMotion
- Implements
- Inherited Members
- Extension Methods
Constructors
RotateAroundTransformMotion(Transform, Transform, Vector3, float)
public RotateAroundTransformMotion(Transform item, Transform point, Vector3 axis, float toAngle)
Parameters
item
Transformpoint
Transformaxis
Vector3toAngle
float
Methods
OnUpdate(float)
public override void OnUpdate(float t)
Parameters
t
float