編輯

共用方式為


CursorModifier.GetModifiedTransform Method

Definition

Returns the modified Transform for the IMixedRealityCursor after considering this modifier.

public:
 virtual void GetModifiedTransform(Microsoft::MixedReality::Toolkit::Input::IMixedRealityCursor ^ cursor, [Runtime::InteropServices::Out] UnityEngine::Vector3 % position, [Runtime::InteropServices::Out] UnityEngine::Quaternion % rotation, [Runtime::InteropServices::Out] UnityEngine::Vector3 % scale);
public void GetModifiedTransform (Microsoft.MixedReality.Toolkit.Input.IMixedRealityCursor cursor, out UnityEngine.Vector3 position, out UnityEngine.Quaternion rotation, out UnityEngine.Vector3 scale);
abstract member GetModifiedTransform : Microsoft.MixedReality.Toolkit.Input.IMixedRealityCursor * Vector3 * Quaternion * Vector3 -> unit
override this.GetModifiedTransform : Microsoft.MixedReality.Toolkit.Input.IMixedRealityCursor * Vector3 * Quaternion * Vector3 -> unit
Public Sub GetModifiedTransform (cursor As IMixedRealityCursor, ByRef position As Vector3, ByRef rotation As Quaternion, ByRef scale As Vector3)

Parameters

cursor
IMixedRealityCursor

Cursor that is being modified.

position
UnityEngine.Vector3

Modified position.

rotation
UnityEngine.Quaternion

Modified rotation.

scale
UnityEngine.Vector3

Modified scale.

Implements

Applies to