API reference
API reference
Select your platform
No SDKs available
No versions available

PointableCanvasMesh Class

Remaps Pointable events on the surface of a CanvasMesh to Pointable events on the underlying Canvas.
This should be used to forward Pointable events to a PointableCanvas when using Curved Canvases.

Protected Methods

Start ()
Signature
override void Oculus.Interaction.PointableCanvasMesh.Start()
Returns
override void

Methods

InjectAllCanvasMeshPointable ( canvasMesh )
Injects all required dependencies for a dynamically instantiated PointableCanvasMesh.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.PointableCanvasMesh.InjectAllCanvasMeshPointable(CanvasMesh canvasMesh)
Parameters
canvasMesh: CanvasMesh
Returns
void
InjectCanvasMesh ( canvasMesh )
Sets the underlying CanvasMesh for a dynamically instantiated PointableCanvasMesh.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.PointableCanvasMesh.InjectCanvasMesh(CanvasMesh canvasMesh)
Parameters
canvasMesh: CanvasMesh
Returns
void
ProcessPointerEvent ( evt )
Implementation of IPointableElement.ProcessPointerEvent(PointerEvent); for details, please refer to the related documentation provided for that interface.
Signature
override void Oculus.Interaction.PointableCanvasMesh.ProcessPointerEvent(PointerEvent evt)
Parameters
Returns
override void