SetCanvasCursorStartDest
(
start
, worldDest
, worldNormal
, canvasDest
, canvasNormal
)
|
Overriding the SetCanvasCursorStartDest from OVRCursor, setting the starting point and the destination point of the cursor in both world and canvas space.
Signature
override void SetCanvasCursorStartDest(Vector3 start, Vector3 worldDest, Vector3 worldNormal, Vector3 canvasDest, Vector3 canvasNormal) Parameters start: Vector3Â
Vector3 of the starting point position
worldDest: Vector3Â
Vector3 of the destination point position in world space
worldNormal: Vector3Â
Vector3 representing the normal of the cursor in world space
canvasDest: Vector3Â
Vector3 of the destination point position in canvas space
canvasNormal: Vector3Returns override void |
SetClickState
(
state
)
|
Signature
void SetClickState(PointerEventData.FramePressState state) Parameters state: PointerEventData.FramePressStateReturns void |
SetCursorRay
(
t
)
|
Overriding the SetCursorRay from OVRCursor, setting the transform of the cursor ray.
Signature
override void SetCursorRay(Transform t) Parameters t: TransformÂ
Transform that's used to set the cursor's starting point and forward direction
Returns override void |
SetCursorStartDest
(
start
, dest
, normal
)
|
Overriding the SetCursorStartDest from OVRCursor, setting the starting point and the destination point of the cursor.
Signature
override void SetCursorStartDest(Vector3 start, Vector3 dest, Vector3 normal) Parameters start: Vector3Â
Vector3 of the starting point position
dest: Vector3Â
Vector3 of the destination point position
normal: Vector3Â
Vector3 representing the normal of the cursor
Returns override void |