CanvasRenderer
class in UnityEngine · UnityEngine.UIModule · inherits from Component
In Tassix
What a UI Graphic draws: its mesh, color and texture, as the canvas collects them.
Properties 9
int absoluteDepth { get; }Rect clippingRect { get; }bool cull { get; set; }bool cullTransparentMesh { get; set; }bool hasMoved { get; }bool hasPopInstruction { get; set; }bool hasRectClipping { get; }int materialCount { get; set; }int popMaterialCount { get; set; }Methods 16
void Clear()void DisableRectClipping()void EnableRectClipping(Rect rect)float GetAlpha()Color GetColor()float GetInheritedAlpha()Mesh? GetMesh()Material? GetPopMaterial(int index)void SetAlpha(float alpha)void SetAlphaTexture(Texture texture)void SetColor(Color color)void SetMesh(Mesh mesh)The geometry to draw: a copy of the mesh's vertices, UVs, colors and triangles (the mesh can be reused).
void SetPopMaterial(Material material, int index)void SetTexture(Texture texture)Not in Tassix yet 11
AddUIVertexStream CreateUIVertexStream GetSecondaryTexture GetSecondaryTextureCount GetSecondaryTextureName SetSecondaryTexture SetSecondaryTextureCount SplitUIVertexStreams clippingSoftness onRequestRebuild relativeDepth