Struct Vector3Smoothed
Assembly: cs.temp.dll.dll
[Serializable]
public struct Vector3Smoothed
Constructors
Declaration
public Vector3Smoothed(Vector3 value, float smoothingTime)
Parameters
Type |
Name |
Description |
Vector3 |
value |
|
Single |
smoothingTime |
|
Properties
Declaration
public Vector3 Current { get; set; }
Property Value
Declaration
public Vector3 Goal { get; set; }
Property Value
Declaration
public float SmoothTime { get; set; }
Property Value
Methods
Declaration
public void SetGoal(Vector3 newGoal)
Parameters
Type |
Name |
Description |
Vector3 |
newGoal |
|
Declaration
public void Update(float deltaTime)
Parameters
Type |
Name |
Description |
Single |
deltaTime |
|