Table of Contents

Class RotateAroundTransformMotion

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
RotateAroundTransformMotion
Implements
Inherited Members
Extension Methods

Constructors

RotateAroundTransformMotion(Transform, Transform, Vector3, float)

public RotateAroundTransformMotion(Transform item, Transform point, Vector3 axis, float toAngle)

Parameters

item Transform
point Transform
axis Vector3
toAngle float

Methods

OnUpdate(float)

public override void OnUpdate(float t)

Parameters

t float