Property Depth
Depth
Gets or sets the depth of the model symbol layer.
Declaration
public double Depth { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The depth of the model symbol layer. |
Remarks
The input value must be a positive number. By default, the depth is measured in DIPs. To use meters instead, set the SceneSizeUnit property to Meters after adding the model symbol layer to a MultilayerPointSymbol.
The default value is 10.0 DIPs for a model symbol layer created from a primitive shape and 0.0 DIPs for a model symbol layer created from a URI before the symbol layer is Loaded. If not explicitly set, the depth is populated from metadata defined in the model and applied after the symbol layer is loaded. If the depth is explicitly set to 0 or a negative number, the depth dimension will collapse, resulting in a loss of proportion among the width, height, and depth.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |