Aller au contenu

Message HrzProtocol.PolygonPattern

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


image_url: string

URL to the image containing either a single sprite or a sprite sheet, for patterns.


image_http_headers: HrzProtocol.HttpHeaderList

sprites: HrzProtocol.ImageSprite[]

Definition of the sprites for patterns. Stretchable areas are not taken into account, each sprite is used as-is. If no sprites are defined, the whole pattern image is used.


sprite_index: HrzProtocol.IntProperty

Index of the sprite to use for polygon pattern.


sprite_name: HrzProtocol.StringProperty

Name of the sprite to use for polygon pattern. If the name is valid, it overrides the sprite index property.


size: HrzProtocol.Vec2fProperty

Size of the polygon pattern instances.


size_unit: HrzProtocol.PolygonPatternSizeUnit

Unit of the size of polygon pattern instances.


rotation: HrzProtocol.FloatProperty

Rotation in radians, counter-clockwise, of the polygon pattern instances.


tiling_type: HrzProtocol.PolygonPatternTilingType

Controls how the polygon pattern grid is built, wrt. the curvature of the planet.


reference_latitude_type: HrzProtocol.PolygonPatternReferenceLatitudeType

Sets the reference latitude for building the polygon pattern grid to a static or dynamic value.


reference_latitude: float

Reference latitude, in WGS84 degrees, used to build the polygon pattern grid, when it is not dynamic.


color: HrzProtocol.ColorProperty

Color applied to the polygon pattern, according to the blend mode and strength.


color_blend_mode: HrzProtocol.BlendMode

Controls how the polygon pattern color is blended into the pattern sprite colors.


color_blend_strength: HrzProtocol.FloatProperty

Controls the strength of the blending of the polygon pattern color into the pattern sprite colors. Values are clamped between 0 and 1 (inclusive).