AtlasTexture.margin

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

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

Meta