Table of Contents

Class FRILerp

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public static class FRILerp
Inheritance
FRILerp
Inherited Members

Methods

DirectionSpring(ref Vector3, Vector3, float, float, ref Vector3)

public static void DirectionSpring(ref Vector3 currentForward, Vector3 targetForward, float spring, float drag, ref Vector3 velo)

Parameters

currentForward Vector3
targetForward Vector3
spring float
drag float
velo Vector3

Lerp(float, float, float, bool)

public static float Lerp(float from, float target, float speed, bool useTimeScale = true)

Parameters

from float
target float
speed float
useTimeScale bool

Returns

float

Lerp(Quaternion, Quaternion, float)

public static Quaternion Lerp(Quaternion from, Quaternion target, float speed)

Parameters

from Quaternion
target Quaternion
speed float

Returns

Quaternion

Lerp(Vector3, Vector3, float, bool)

public static Vector3 Lerp(Vector3 from, Vector3 target, float speed, bool useTimeScale = true)

Parameters

from Vector3
target Vector3
speed float
useTimeScale bool

Returns

Vector3

LerpFixed(Vector3, Vector3, float, bool)

public static Vector3 LerpFixed(Vector3 from, Vector3 target, float speed, bool useTimeScale = true)

Parameters

from Vector3
target Vector3
speed float
useTimeScale bool

Returns

Vector3

LerpUnclamped(float, float, float)

public static float LerpUnclamped(float from, float target, float speed)

Parameters

from float
target float
speed float

Returns

float

LerpUnclamped(Quaternion, Quaternion, float)

public static Quaternion LerpUnclamped(Quaternion from, Quaternion target, float speed)

Parameters

from Quaternion
target Quaternion
speed float

Returns

Quaternion

LerpUnclamped(Vector3, Vector3, float)

public static Vector3 LerpUnclamped(Vector3 from, Vector3 target, float speed)

Parameters

from Vector3
target Vector3
speed float

Returns

Vector3

PLerp(float, float, float, float)

public static float PLerp(float from, float target, float speed, float dt)

Parameters

from float
target float
speed float
dt float

Returns

float

PLerp(Quaternion, Quaternion, float, float)

public static Quaternion PLerp(Quaternion from, Quaternion target, float speed, float dt)

Parameters

from Quaternion
target Quaternion
speed float
dt float

Returns

Quaternion

PLerp(Vector3, Vector3, float, float)

public static Vector3 PLerp(Vector3 from, Vector3 target, float speed, float dt)

Parameters

from Vector3
target Vector3
speed float
dt float

Returns

Vector3

PositionSpring(ref Vector3, Vector3, float, float, ref Vector3)

public static void PositionSpring(ref Vector3 currentPosition, Vector3 target, float spring, float drag, ref Vector3 velo)

Parameters

currentPosition Vector3
target Vector3
spring float
drag float
velo Vector3

RotationSpring(ref Vector3, Vector3, ref Vector3, Vector3, float, float, ref Vector3)

public static void RotationSpring(ref Vector3 currentForward, Vector3 targetForward, ref Vector3 currentUp, Vector3 targetUp, float spring, float drag, ref Vector3 velo)

Parameters

currentForward Vector3
targetForward Vector3
currentUp Vector3
targetUp Vector3
spring float
drag float
velo Vector3

Slerp(Vector3, Vector3, float)

public static Vector3 Slerp(Vector3 from, Vector3 target, float speed)

Parameters

from Vector3
target Vector3
speed float

Returns

Vector3

SlerpUnclamped(Vector3, Vector3, float)

public static Vector3 SlerpUnclamped(Vector3 from, Vector3 target, float speed)

Parameters

from Vector3
target Vector3
speed float

Returns

Vector3