Aller au contenu

Message HrzProtocol.SingleModelLayer

Defined in hrz/protocol/layer/single_model_layer.proto.

This is a layer that contains a simple 3D model. It has to be in glTF format.


url: string

http_headers: HrzProtocol.HttpHeaderList

attribution: string

preserve_query_parameters: bool

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


transform: HrzProtocol.Transform

geographic: HrzProtocol.GeographicPosition

clamp_to_ground: bool

Automatically clamps the model to the ground. The altitude of the geographic position is used as the offset from the ground.


visible: bool

color: HrzProtocol.Color

materials: HrzProtocol.Material[]

material_properties: HrzProtocol.MaterialProperties

animation: HrzProtocol.ModelAnimation

loading_priority: int32

Only values between -127 and 127 (inclusive) are valid.


clip_id: int32

scene_views: HrzProtocol.SceneViewBitset

Select what views the model will be visible in.


visibility_constraints: HrzProtocol.LayerVisibilityConstraintList

lighting: HrzProtocol.LightingSettings