ITransformSmoothingLogic.SmoothPosition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Smooths from source to goal, provided lerptime and a deltaTime.
public:
UnityEngine::Vector3 SmoothPosition(UnityEngine::Vector3 source, UnityEngine::Vector3 goal, float lerpTime, float deltaTime);
public UnityEngine.Vector3 SmoothPosition (UnityEngine.Vector3 source, UnityEngine.Vector3 goal, float lerpTime, float deltaTime);
abstract member SmoothPosition : UnityEngine.Vector3 * UnityEngine.Vector3 * single * single -> UnityEngine.Vector3
Public Function SmoothPosition (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