Modifica

Condividi tramite


MathUtilities.ToTranslationRotation(Matrix4x4, Vector3, Quaternion) Method

Definition

Extract the translation and rotation components of a Unity matrix

public:
 static void ToTranslationRotation(UnityEngine::Matrix4x4 unityMtx, [Runtime::InteropServices::Out] UnityEngine::Vector3 % translation, [Runtime::InteropServices::Out] UnityEngine::Quaternion % rotation);
public static void ToTranslationRotation (UnityEngine.Matrix4x4 unityMtx, out UnityEngine.Vector3 translation, out UnityEngine.Quaternion rotation);
static member ToTranslationRotation : UnityEngine.Matrix4x4 * Vector3 * Quaternion -> unit
Public Shared Sub ToTranslationRotation (unityMtx As Matrix4x4, ByRef translation As Vector3, ByRef rotation As Quaternion)

Parameters

unityMtx
UnityEngine.Matrix4x4
translation
UnityEngine.Vector3
rotation
UnityEngine.Quaternion

Applies to