Aller au contenu

Enumeration HrzProtocol.PolygonPatternSizeUnit

Defined in hrz/protocol/vector/polygon_pattern.proto.

Keep this in sync with hrz/core/shaders/glsl/flat_vectors/pattern_defs.glsl


POLYGON_PATTERN_SIZE_IN_METERS (0)

POLYGON_PATTERN_SIZE_IN_PIXELS (1)

In logical pixels.


POLYGON_PATTERN_SIZE_RELATIVE_TO_SPRITE_IN_METERS (2)

Scale applied to the size of the sprite, considering that size to be meters.


POLYGON_PATTERN_SIZE_RELATIVE_TO_SPRITE_IN_PIXELS (3)

Scale applied to the size of the sprite, considering that size to be logical pixels.