@ApiStatus.NonExtendable public interface UnstitchAtlasSource extends AtlasSource
AtlasSource that copies rectangular regions from
other images.| Modifier and Type | Interface and Description |
|---|---|
static interface |
UnstitchAtlasSource.Region
A region to copy from a
UnstitchAtlasSource image. |
| Modifier and Type | Field and Description |
|---|---|
static Vector2Float |
DEFAULT_DIVISOR
The default divisor value for the coordinates of
the regions to copy from the source image of a
unstitch atlas source. |
static double |
DEFAULT_X_DIVISOR
Deprecated.
Use
DEFAULT_DIVISOR X component instead |
static double |
DEFAULT_Y_DIVISOR
Deprecated.
Use
DEFAULT_DIVISOR Y component instead |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Vector2Float |
divisor()
Returns the divisor used for determining the units used
by in the coordinates of regions.
|
@NotNull @Unmodifiable java.util.List<UnstitchAtlasSource.Region> |
regions()
Returns the list of regions to copy from the source
image.
|
@NotNull net.kyori.adventure.key.Key |
resource()
Returns the location of the resource to copy from
within the pack (relative to textures directory,
implied .png extension).
|
default double |
xDivisor()
Deprecated.
Use
divisor() X component instead |
default double |
yDivisor()
Deprecated.
Use
divisor() Y component instead |
directory, filter, palettedPermutations, single, single, unstitch, unstitchstatic final Vector2Float DEFAULT_DIVISOR
unstitch atlas source.@Deprecated @ApiStatus.ScheduledForRemoval(inVersion="2.0.0") static final double DEFAULT_X_DIVISOR
DEFAULT_DIVISOR X component instead@Deprecated @ApiStatus.ScheduledForRemoval(inVersion="2.0.0") static final double DEFAULT_Y_DIVISOR
DEFAULT_DIVISOR Y component instead@NotNull @NotNull net.kyori.adventure.key.Key resource()
@NotNull @NotNull @Unmodifiable java.util.List<UnstitchAtlasSource.Region> regions()
@NotNull @NotNull Vector2Float divisor()
@Deprecated @ApiStatus.ScheduledForRemoval(inVersion="2.0.0") default double xDivisor()
divisor() X component instead@Deprecated @ApiStatus.ScheduledForRemoval(inVersion="2.0.0") default double yDivisor()
divisor() Y component instead