Class KmaxStylus
- Namespace
- KmaxXR
- Assembly
- Kmax.XR.dll
public class KmaxStylus : KmaxPointer
- Inheritance
-
KmaxStylus
- Inherited Members
-
Constructors
KmaxStylus()
Fields
public KmaxStylus.IntEvent OnButtonPressed
Field Value
- KmaxStylus.IntEvent
public KmaxStylus.IntEvent OnButtonReleased
Field Value
- KmaxStylus.IntEvent
OnObjectEntered
public KmaxStylus.RayCastEvent OnObjectEntered
Field Value
- KmaxStylus.RayCastEvent
OnObjectExited
public KmaxStylus.RayCastEvent OnObjectExited
Field Value
- KmaxStylus.RayCastEvent
StylusButtnCenter
public const int StylusButtnCenter = 16
Field Value
- int
StylusButtnLeft
public const int StylusButtnLeft = 17
Field Value
- int
StylusButtnRigth
public const int StylusButtnRigth = 18
Field Value
- int
Properties
EndpointPose
public override Pose EndpointPose { get; }
Property Value
- Pose
Id
public override int Id { get; }
Property Value
- int
ScreenPosition
public override Vector2 ScreenPosition { get; }
Property Value
- Vector2
Methods
Raycast(PointerEventData)
public override void Raycast(PointerEventData eventData)
Parameters
eventData
PointerEventData
UpdateState()
public override void UpdateState()