ObjectSymbol3DLayer is used to render Point geometries using a volumetric 3D shape (e.g., a sphere or cylinder) with a Symbol3D in a SceneView.

Referenced by: PointSymbol3D, PolygonSymbol3D

Properties

PropertyDetails
anchorThe positioning of the object relative to the geometry.
Valid values:
  • bottom
  • center
  • origin
  • relative
  • top
anchorPosition[]When anchor equals relative, this property specifies the positioning of the object relative to the geometry as a fraction of the symbol layer’s bounding box. Otherwise it is ignored.
castShadowsBoolean to control the shadow casting behaviour of the rendered geometries.
depthObject depth in meters, positive only
enable
headingRotation angle around Z axis in degrees. At 0 degrees, the model points in the direction of the Y-axis. Positive values indicate clockwise rotation (when looked at from the top). Detailed description.
heightObject height in meters, positive only
materialThe material used to shade the geometry.
resourceThe primitive shape (primitive) or external 3D model (href) used to visualize the points.
rollRotation angle around Y axis in degrees. At 0 degrees, the model is level. A positive value lifts the left part and lowers the right part of the model. Detailed description.
tiltRotation angle around X axis in degrees. At 0 degrees, the model is level. A positive value lifts the front and lowers the back of the model. Detailed description.
typeSpecifies the type of symbol used.
Valid value of this property Object
widthObject width in meters, positive only

Additional information

Object symbol layer Example

{
"type": "Object",
"resource": {
"primitive": "sphere"
},
"width": 50000,
"height": 50000,
"material": {
"color": [
128,
255,
0
]
}
}

Object symbol layer with 3-axis rotation Example

{
"type": "Object",
"resource": {
"primitive": "diamond"
},
"width": 50000,
"height": 50000,
"material": {
"color": [
128,
255,
0
]
},
"heading": 12,
"tilt": 10,
"roll": 5
}

Object symbol layer with relative anchor Example

Places a diamond symbol such that its Southern tip coincides with the point geometry (assuming ENU coordinates).

{
"type": "Object",
"resource": {
"primitive": "diamond"
},
"width": 10000,
"anchor": "relative",
"anchorPosition": [
0,
-0.5,
0
],
"material": {
"color": [
128,
255,
0
]
}
}

Object symbol layer with casting shadows disabled Example

{
"type": "Object",
"resource": {
"primitive": "cone"
},
"width": 50,
"height": 100,
"castShadows": false
}