BaseRayStabilizer.UpdateStability Method

Definition

Overloads

UpdateStability(Vector3, Quaternion)

Call this each frame to smooth out changes to a position and rotation, if supported.

UpdateStability(Vector3, Vector3)

Call this each frame to smooth out changes to a position and direction, if supported.

UpdateStability(Vector3, Quaternion)

Call this each frame to smooth out changes to a position and rotation, if supported.

public:
 virtual void UpdateStability(UnityEngine::Vector3 position, UnityEngine::Quaternion rotation);
public virtual void UpdateStability (UnityEngine.Vector3 position, UnityEngine.Quaternion rotation);
abstract member UpdateStability : UnityEngine.Vector3 * UnityEngine.Quaternion -> unit
override this.UpdateStability : UnityEngine.Vector3 * UnityEngine.Quaternion -> unit
Public Overridable Sub UpdateStability (position As Vector3, rotation As Quaternion)

Parameters

position
UnityEngine.Vector3

Input position to smooth.

rotation
UnityEngine.Quaternion

Input rotation to smooth.

Implements

Applies to

UpdateStability(Vector3, Vector3)

Call this each frame to smooth out changes to a position and direction, if supported.

public:
 abstract void UpdateStability(UnityEngine::Vector3 position, UnityEngine::Vector3 direction);
public abstract void UpdateStability (UnityEngine.Vector3 position, UnityEngine.Vector3 direction);
abstract member UpdateStability : UnityEngine.Vector3 * UnityEngine.Vector3 -> unit
Public MustOverride Sub UpdateStability (position As Vector3, direction As Vector3)

Parameters

position
UnityEngine.Vector3

Input position to smooth.

direction
UnityEngine.Vector3

Input direction to smooth.

Implements

Applies to