Aller au contenu

Message HrzProtocol.ModelVectorRepr

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


color: HrzProtocol.ColorProperty

Controls the colour of the model. Set white for the original colour of the image.


scale: HrzProtocol.Vec3fProperty

Controls the size of the model. Set (1, 1, 1) for the default size.


world_offset: HrzProtocol.Vec3fProperty

Controls the offset of the sprite in local North-East-Up (ENU) space. Set (0, 0, 0) for no offset (Note that z=0 is the ground level).


rotation: HrzProtocol.Vec3fProperty

Controls the rotation of the model. Set (0, 0, 0) for no rotation.


url: string

URL of the model, in the glTF format.


http_headers: HrzProtocol.HttpHeaderList

preserve_query_parameters: bool

Pass main URL query parameters when requesting external resources, such as textures.


frame: HrzProtocol.CoordinatesFrame

Because there are competing conventions for which axis is up, and how the axes are oriented one to another, the frame property is needed in order to have the model be properly oriented.


impostor_params: HrzProtocol.ImpostorParams

clip_id: int32

lighting: HrzProtocol.LightingSettings

feature_color_blend_mode: HrzProtocol.BlendMode

Determine how the texture colour and the colour property are combined.


feature_color_blend_strength: float

The proportion of the colour property to combine with the texture colour. Range is 0-1.


rotation_order: HrzProtocol.EulerRotationOrder

The order in which to apply the three components of the model’s rotation property.


clip_to_tile: bool

Discard symbols outside the borders of the tiles. Useful for hiding margins often added by vector data tilers.