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

CanvasCylinder Class

Oculus::Interaction::UnityCanvas::CanvasCylinder extends Oculus.Interaction.UnityCanvas.CanvasMesh.
Oculus::Interaction::UnityCanvas::CanvasCylinder extends Oculus.Interaction.ICurvedPlane.
Oculus::Interaction::UnityCanvas::CanvasCylinder extends Oculus.Interaction.Surfaces.ICylinderClipper.

Overview

Static Fields

static const int

Properties

float
Radius[Get]
The cylinder the curved plane lies on.
float
The horizontal size of the plane, in degrees.
float
The rotation of the center of the plane relative to the Cylinder's forward Z axis, in degrees.
float
Bottom[Get]
The bottom of the plane relative to the Cylinder Y position, in Cylinder local space.
float
Top[Get]
The top of the plane relative to the Cylinder Y position, in Cylinder local space.
float

Public Member Functions

bool
Get the segment defining a portion of a cylinder surface.
void
InjectAllCanvasCylinder
( CanvasRenderTexture canvasRenderTexture,
MeshFilter meshFilter,
Cylinder cylinder,
CylinderOrientation orientation )
void
InjectCylinder
( Cylinder cylinder )
void

Object Data

override void
Start ( )
override void
override Vector3
MeshInverseTransform
( Vector3 localPosition )
override void
GenerateMesh
( out List< Vector3 > verts,
out List< int > tris,
out List< Vector2 > uvs )

Details

Public Statics

const int Oculus.Interaction.UnityCanvas.CanvasCylinder.MIN_RESOLUTION
No description available.

Properties

float Oculus.Interaction.UnityCanvas.CanvasCylinder.Radius
No description available.
Cylinder Oculus.Interaction.UnityCanvas.CanvasCylinder.Cylinder
The cylinder the curved plane lies on.
float Oculus.Interaction.UnityCanvas.CanvasCylinder.ArcDegrees
The horizontal size of the plane, in degrees.
float Oculus.Interaction.UnityCanvas.CanvasCylinder.Rotation
The rotation of the center of the plane relative to the Cylinder's forward Z axis, in degrees.
float Oculus.Interaction.UnityCanvas.CanvasCylinder.Bottom
The bottom of the plane relative to the Cylinder Y position, in Cylinder local space.
float Oculus.Interaction.UnityCanvas.CanvasCylinder.Top
The top of the plane relative to the Cylinder Y position, in Cylinder local space.
float Oculus.Interaction.UnityCanvas.CanvasCylinder.CylinderRelativeScale
No description available.

Member Functions

bool Oculus.Interaction.UnityCanvas.CanvasCylinder.GetCylinderSegment
( out CylinderSegment segment )
Get the segment defining a portion of a cylinder surface.
Parameters
segment
The segment defining the clip area of a cylinder
Returns
True if clipping should be performed
void Oculus.Interaction.UnityCanvas.CanvasCylinder.InjectAllCanvasCylinder
( CanvasRenderTexture canvasRenderTexture,
MeshFilter meshFilter,
Cylinder cylinder,
CylinderOrientation orientation )
No description available.
void Oculus.Interaction.UnityCanvas.CanvasCylinder.InjectCylinder
( Cylinder cylinder )
No description available.
void Oculus.Interaction.UnityCanvas.CanvasCylinder.InjectOrientation
( CylinderOrientation orientation )
No description available.

Object Data

override void Oculus.Interaction.UnityCanvas.CanvasCylinder.Start ( )
No description available.
override void Oculus.Interaction.UnityCanvas.CanvasCylinder.UpdateImposter ( )
No description available.
override Vector3 Oculus.Interaction.UnityCanvas.CanvasCylinder.MeshInverseTransform
( Vector3 localPosition )
No description available.
override void Oculus.Interaction.UnityCanvas.CanvasCylinder.GenerateMesh
( out List< Vector3 > verts,
out List< int > tris,
out List< Vector2 > uvs )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon