Class CursorModifier
Inheritance
CursorModifier
Implements
IEventSystemHandler
MonoBehaviour
Assembly: cs.temp.dll.dll
public class CursorModifier : MonoBehaviour, ICursorModifier, IMixedRealityFocusChangedHandler, IEventSystemHandler, MonoBehaviour
Properties
Declaration
public Vector3 CursorNormalOffset { get; set; }
Property Value
Declaration
public Vector3 CursorNormalOffset { get; set; }
Property Value
Declaration
public AnimatorParameter[] CursorParameters { get; }
Property Value
Type |
Description |
AnimatorParameter[] |
|
Declaration
public AnimatorParameter[] CursorParameters { get; }
Property Value
Type |
Description |
AnimatorParameter[] |
|
Declaration
public Vector3 CursorPositionOffset { get; set; }
Property Value
Declaration
public Vector3 CursorPositionOffset { get; set; }
Property Value
Declaration
public Vector3 CursorScaleOffset { get; set; }
Property Value
Declaration
public Vector3 CursorScaleOffset { get; set; }
Property Value
Declaration
public bool HideCursorOnFocus { get; set; }
Property Value
Declaration
public bool HideCursorOnFocus { get; set; }
Property Value
Declaration
public Transform HostTransform { get; set; }
Property Value
Type |
Description |
Transform |
|
Declaration
public Transform HostTransform { get; set; }
Property Value
Type |
Description |
Transform |
|
Declaration
public bool SnapCursorPosition { get; set; }
Property Value
Declaration
public bool SnapCursorPosition { get; set; }
Property Value
Declaration
public bool UseGazeBasedNormal { get; set; }
Property Value
Declaration
public bool UseGazeBasedNormal { get; set; }
Property Value
Methods
Declaration
public bool GetCursorVisibility()
Returns
Declaration
public bool GetCursorVisibility()
Returns
Declaration
public Vector3 GetModifiedPosition(IMixedRealityCursor cursor)
Parameters
Returns
Declaration
public Vector3 GetModifiedPosition(IMixedRealityCursor cursor)
Parameters
Returns
Declaration
public Quaternion GetModifiedRotation(IMixedRealityCursor cursor)
Parameters
Returns
Type |
Description |
Quaternion |
|
Declaration
public Quaternion GetModifiedRotation(IMixedRealityCursor cursor)
Parameters
Returns
Type |
Description |
Quaternion |
|
Declaration
public Vector3 GetModifiedScale(IMixedRealityCursor cursor)
Parameters
Returns
Declaration
public Vector3 GetModifiedScale(IMixedRealityCursor cursor)
Parameters
Returns
Declaration
public void GetModifiedTransform(IMixedRealityCursor cursor, out Vector3 position, out Quaternion rotation, out Vector3 scale)
Parameters
Type |
Name |
Description |
IMixedRealityCursor |
cursor |
|
Vector3 |
position |
|
Quaternion |
rotation |
|
Vector3 |
scale |
|
Declaration
public void GetModifiedTransform(IMixedRealityCursor cursor, out Vector3 position, out Quaternion rotation, out Vector3 scale)
Parameters
Type |
Name |
Description |
IMixedRealityCursor |
cursor |
|
Vector3 |
position |
|
Quaternion |
rotation |
|
Vector3 |
scale |
|
Explicit Interface Implementations
Declaration
void IMixedRealityFocusChangedHandler.OnBeforeFocusChange(FocusEventData eventData)
Parameters
Declaration
void IMixedRealityFocusChangedHandler.OnBeforeFocusChange(FocusEventData eventData)
Parameters
Declaration
void IMixedRealityFocusChangedHandler.OnFocusChanged(FocusEventData eventData)
Parameters
Declaration
void IMixedRealityFocusChangedHandler.OnFocusChanged(FocusEventData eventData)
Parameters
Implements
IEventSystemHandler
MonoBehaviour