diamond static method

SimpleMarkerSceneSymbol diamond({
  1. required Color color,
  2. required double size,
  3. required double height,
  4. SceneSymbolAnchorPosition anchorPosition = SceneSymbolAnchorPosition.bottom,
})

Creates a simple marker scene symbol with diamond style.

Parameters:

  • color — The color of the symbol.
  • size — The size in meters of width and depth of the diamond symbol.
  • height — The height in meters of the diamond symbol.
  • anchorPosition — The anchor position SceneSymbolAnchorPosition of the cube symbol.

Return Value: A SimpleMarkerSceneSymbol.