Modifica

Condividi tramite


DefaultTransformSmoothingLogic.SmoothScale Method

Definition

Smooths from source to goal, provided lerptime and a deltaTime.

public:
 virtual UnityEngine::Vector3 SmoothScale(UnityEngine::Vector3 source, UnityEngine::Vector3 goal, float lerpTime, float deltaTime);
public UnityEngine.Vector3 SmoothScale (UnityEngine.Vector3 source, UnityEngine.Vector3 goal, float lerpTime, float deltaTime);
abstract member SmoothScale : UnityEngine.Vector3 * UnityEngine.Vector3 * single * single -> UnityEngine.Vector3
override this.SmoothScale : UnityEngine.Vector3 * UnityEngine.Vector3 * single * single -> UnityEngine.Vector3
Public Function SmoothScale (source As Vector3, goal As Vector3, lerpTime As Single, deltaTime As Single) As Vector3

Parameters

source
UnityEngine.Vector3
goal
UnityEngine.Vector3
lerpTime
Single
deltaTime
Single

Returns

UnityEngine.Vector3

Implements

Applies to