DefaultTransformSmoothingLogic.SmoothPosition Method
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.
C++
public:
virtual 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
override this.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
- source
- UnityEngine.Vector3
- goal
- UnityEngine.Vector3
- lerpTime
- Single
- deltaTime
- Single
UnityEngine.Vector3
Product | Versions |
---|---|
MRTK2 Unity 2018 | 2.7.0 |
MRTK2 Unity 2019 | 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.7.0, 2.8.0 |