Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


VisibleInsideMask

The sprite will be visible only in areas where a mask is present.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
VisibleInsideMask = 1

Remarks

The sprite visibility is restricted to areas where one or more masks are present. By "one or more mask be present", we mean that at least one mask will be in scope when the given sprite is rendered.