GltfConversions.GetTrsProperties Method
Definition
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.
Overloads
| GetTrsProperties(GltfNode, Vector3, Quaternion, Vector3) |
Get TRS properties from GltfNode |
| GetTrsProperties(Matrix4x4, Vector3, Quaternion, Vector3) |
Get TRS properties from matrix |
GetTrsProperties(GltfNode, Vector3, Quaternion, Vector3)
Get TRS properties from GltfNode
public:
[System::Runtime::CompilerServices::Extension]
static UnityEngine::Matrix4x4 GetTrsProperties(Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfNode ^ node, [Runtime::InteropServices::Out] UnityEngine::Vector3 % position, [Runtime::InteropServices::Out] UnityEngine::Quaternion % rotation, [Runtime::InteropServices::Out] UnityEngine::Vector3 % scale);
public static UnityEngine.Matrix4x4 GetTrsProperties (this Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfNode node, out UnityEngine.Vector3 position, out UnityEngine.Quaternion rotation, out UnityEngine.Vector3 scale);
static member GetTrsProperties : Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfNode * Vector3 * Quaternion * Vector3 -> UnityEngine.Matrix4x4
<Extension()>
Public Function GetTrsProperties (node As GltfNode, ByRef position As Vector3, ByRef rotation As Quaternion, ByRef scale As Vector3) As Matrix4x4
Parameters
- node
- GltfNode
- position
- UnityEngine.Vector3
- rotation
- UnityEngine.Quaternion
- scale
- UnityEngine.Vector3
Returns
- UnityEngine.Matrix4x4
Applies to
GetTrsProperties(Matrix4x4, Vector3, Quaternion, Vector3)
Get TRS properties from matrix
public:
[System::Runtime::CompilerServices::Extension]
static void GetTrsProperties(UnityEngine::Matrix4x4 matrix, [Runtime::InteropServices::Out] UnityEngine::Vector3 % position, [Runtime::InteropServices::Out] UnityEngine::Quaternion % rotation, [Runtime::InteropServices::Out] UnityEngine::Vector3 % scale);
public static void GetTrsProperties (this UnityEngine.Matrix4x4 matrix, out UnityEngine.Vector3 position, out UnityEngine.Quaternion rotation, out UnityEngine.Vector3 scale);
static member GetTrsProperties : UnityEngine.Matrix4x4 * Vector3 * Quaternion * Vector3 -> unit
<Extension()>
Public Sub GetTrsProperties (matrix As Matrix4x4, ByRef position As Vector3, ByRef rotation As Quaternion, ByRef scale As Vector3)
Parameters
- matrix
- UnityEngine.Matrix4x4
- position
- UnityEngine.Vector3
- rotation
- UnityEngine.Quaternion
- scale
- UnityEngine.Vector3