Vector3Smoothed Struct
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.
Encapsulated vector that smoothly moves toward a goal.
C#
[System.Serializable]
public struct Vector3Smoothed
[<System.Serializable>]
type Vector3Smoothed = struct
Public Structure Vector3Smoothed
- Inheritance
-
Vector3Smoothed
- Attributes
Vector3Smoothed(Vector3, Single) |
Initializes a Vector3Smoothed struct. |
Current |
The current value of the vector. |
Goal |
The desired destination value for the vector. |
Smooth |
The length of time the smoothing should use to reach the goal. |
Set |
Updates the value of the Goal property. |
Update(Single) |
Update the vector towards the goal. |
Táirge | Leaganacha |
---|---|
MRTK3 Spatial Manipulation | 3.0, 3.1, 3.2 |