randomVariant

Generate a random variant in the given atlas. Param: atlasSize = Size of the atlas used. resultSize = Expected size of the result seed = Seed to use

@safe @nogc
randomVariant

Return Value

Type: Vector2I

Offset of the variant texture in the given atlas.

Meta