Table of Contents

Class RotateAroundVectorMotion

Lerps the given value and applies it to Transform.RotateAround(Vector3, Vector3, float).

public class RotateAroundVectorMotion : AbstractTweenMotion<Transform>, ITweenMotion, IMotion
Inheritance
RotateAroundVectorMotion
Implements
Derived
Inherited Members
Extension Methods

Constructors

RotateAroundVectorMotion(Transform, Vector3, Vector3, float)

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

Parameters

item Transform
point Vector3
axis Vector3
toAngle float

Fields

point

protected Vector3 point

Field Value

Vector3

Methods

OnUpdate(float)

public override void OnUpdate(float t)

Parameters

t float