Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SpriteMask.MaskSource

Sets which source to use when generating the mask.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.SpriteMaskModule
public enum SpriteMask.MaskSource

Fields

Value

Description

SpriteUse a Sprite as a source for the mask.
SupportedRenderersUse a supported Renderer as a source of the mask.