AtlasTexture.margin

The margin around the region. The Rect2's Rect2.size parameter ("w" and "h" in the editor) resizes the texture so it fits within the margin.

  1. Rect2 margin [@property getter]
    struct AtlasTexture
    @nogc nothrow @property
    Rect2
    margin
    ()
  2. Rect2 margin [@property setter]

Meta