Editar

Partilhar via


InterpolationUtilities.ExpDecay Method

Definition

Overloads

ExpDecay(Single, Single, Single, Single)
ExpDecay(Color, Color, Single, Single)
ExpDecay(Quaternion, Quaternion, Single, Single)
ExpDecay(Vector2, Vector2, Single, Single)
ExpDecay(Vector3, Vector3, Single, Single)

ExpDecay(Single, Single, Single, Single)

public:
 static float ExpDecay(float from, float to, float hLife, float dTime);
public static float ExpDecay (float from, float to, float hLife, float dTime);
static member ExpDecay : single * single * single * single -> single
Public Shared Function ExpDecay (from As Single, to As Single, hLife As Single, dTime As Single) As Single

Parameters

from
Single
to
Single
hLife
Single
dTime
Single

Returns

Applies to

ExpDecay(Color, Color, Single, Single)

public:
 static UnityEngine::Color ExpDecay(UnityEngine::Color from, UnityEngine::Color to, float hLife, float dTime);
public static UnityEngine.Color ExpDecay (UnityEngine.Color from, UnityEngine.Color to, float hLife, float dTime);
static member ExpDecay : UnityEngine.Color * UnityEngine.Color * single * single -> UnityEngine.Color
Public Shared Function ExpDecay (from As Color, to As Color, hLife As Single, dTime As Single) As Color

Parameters

from
UnityEngine.Color
to
UnityEngine.Color
hLife
Single
dTime
Single

Returns

UnityEngine.Color

Applies to

ExpDecay(Quaternion, Quaternion, Single, Single)

public:
 static UnityEngine::Quaternion ExpDecay(UnityEngine::Quaternion from, UnityEngine::Quaternion to, float hLife, float dTime);
public static UnityEngine.Quaternion ExpDecay (UnityEngine.Quaternion from, UnityEngine.Quaternion to, float hLife, float dTime);
static member ExpDecay : UnityEngine.Quaternion * UnityEngine.Quaternion * single * single -> UnityEngine.Quaternion
Public Shared Function ExpDecay (from As Quaternion, to As Quaternion, hLife As Single, dTime As Single) As Quaternion

Parameters

from
UnityEngine.Quaternion
to
UnityEngine.Quaternion
hLife
Single
dTime
Single

Returns

UnityEngine.Quaternion

Applies to

ExpDecay(Vector2, Vector2, Single, Single)

public:
 static UnityEngine::Vector2 ExpDecay(UnityEngine::Vector2 from, UnityEngine::Vector2 to, float hLife, float dTime);
public static UnityEngine.Vector2 ExpDecay (UnityEngine.Vector2 from, UnityEngine.Vector2 to, float hLife, float dTime);
static member ExpDecay : UnityEngine.Vector2 * UnityEngine.Vector2 * single * single -> UnityEngine.Vector2
Public Shared Function ExpDecay (from As Vector2, to As Vector2, hLife As Single, dTime As Single) As Vector2

Parameters

from
UnityEngine.Vector2
to
UnityEngine.Vector2
hLife
Single
dTime
Single

Returns

UnityEngine.Vector2

Applies to

ExpDecay(Vector3, Vector3, Single, Single)

public:
 static UnityEngine::Vector3 ExpDecay(UnityEngine::Vector3 from, UnityEngine::Vector3 to, float hLife, float dTime);
public static UnityEngine.Vector3 ExpDecay (UnityEngine.Vector3 from, UnityEngine.Vector3 to, float hLife, float dTime);
static member ExpDecay : UnityEngine.Vector3 * UnityEngine.Vector3 * single * single -> UnityEngine.Vector3
Public Shared Function ExpDecay (from As Vector3, to As Vector3, hLife As Single, dTime As Single) As Vector3

Parameters

from
UnityEngine.Vector3
to
UnityEngine.Vector3
hLife
Single
dTime
Single

Returns

UnityEngine.Vector3

Applies to