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

CanvasCylinder Class

Fields

const int MIN_RESOLUTION[Get]
float Radius[Get]
Cylinder Cylinder[Get]

Properties

float ArcDegrees[Get]
float Rotation[Get]
float Bottom[Get]
float Top[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