RenderSprite(Sprite, Material, bool)
Draws a vector sprite using the provided material.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
public static void RenderSprite(Sprite sprite, Material mat, bool clear = true)