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

CanvasCylinder Class

Public Statics

static const int MIN_RESOLUTION[Get]

Properties

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

Member Functions

Attempts to retrieve the cylinder segment corresponding to the allowed region of the clipped surface.
Parameters
segment
The cylinder segment to which the underlying ISurface should be clipped
Returns
True if clipping should be performed, false otherwise
void InjectAllCanvasCylinder
( CanvasRenderTexture canvasRenderTexture,
MeshFilter meshFilter,
Cylinder cylinder,
CylinderOrientation orientation )
void InjectCylinder
( Cylinder cylinder )
void InjectOrientation
( CylinderOrientation orientation )

Protected Functions

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