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

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 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 )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon