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

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