Solver.SnapGoalTo Method

Definition

Overloads

SnapGoalTo(Vector3, Quaternion, Vector3)

SnapGoalTo only sets the goal orientation. Not really useful.

SnapGoalTo(Vector3, Quaternion)
Obsolete.

SnapGoalTo only sets the goal orientation. Not really useful.

SnapGoalTo(Vector3, Quaternion, Vector3)

SnapGoalTo only sets the goal orientation. Not really useful.

C++
public:
 virtual void SnapGoalTo(UnityEngine::Vector3 position, UnityEngine::Quaternion rotation, UnityEngine::Vector3 scale);

Parameters

position
UnityEngine.Vector3
rotation
UnityEngine.Quaternion
scale
UnityEngine.Vector3

Applies to

MRTK2 Unity 2018 2.7.0 et autres versions
Produit Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0

SnapGoalTo(Vector3, Quaternion)

Caution

Use SnapGoalTo(Vector3, Quaternion, Vector3) instead.

SnapGoalTo only sets the goal orientation. Not really useful.

C++
public:
 virtual void SnapGoalTo(UnityEngine::Vector3 position, UnityEngine::Quaternion rotation);

Parameters

position
UnityEngine.Vector3
rotation
UnityEngine.Quaternion
Attributes

Applies to

MRTK2 Unity 2018 2.7.0 et autres versions
Produit Versions (Obsolète)
MRTK2 Unity 2018 (2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0)
MRTK2 Unity 2019 (2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0)
MRTK2 Unity 2020 (2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0)