import type { JSONSupport } from "../../core/JSONSupport.js"; import type { ObjectSymbol3DLayerPrimitiveType } from "../types.js"; /** @since 5.0 */ export interface ObjectSymbol3DLayerResourceProperties extends Partial> {} /** @since 5.0 */ export default class ObjectSymbol3DLayerResource extends JSONSupport { /** @since 5.0 */ constructor(properties?: ObjectSymbol3DLayerResourceProperties); /** * The URL to the 3D model in [glTF format](https://www.khronos.org/gltf/). The URL should point to a glTF file (.gltf * or .glb) which can reference additional binary (.bin) and image files (.jpg, .png). See the guide topic on * [Visualizing points with 3D symbols](https://developers.arcgis.com/javascript/latest/visualizing-points-3d/) to * learn how to use a custom 3D model. * * See [Supported GLTF features](https://developers.arcgis.com/javascript/latest/references/core/geometry/support/meshUtils/#supported-gltf-features) * in the meshUtils documentation for details about which glTF extensions are currently supported. * In addition for [ObjectSymbol3DLayer](https://developers.arcgis.com/javascript/latest/references/core/symbols/ObjectSymbol3DLayer/) the [MSFT_lod](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Vendor/MSFT_lod) * extension can be used to provide models with multiple levels of details. * * @since 5.0 */ accessor href: string | null | undefined; /** * Uses a built-in shape. See the table below for possible values. * * * Value | Description * ------|------------ * sphere | ![s3d-object-sphere](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-sphere.avif) * cylinder | ![s3d-object-cylinder](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-cylinder.avif) * cube | ![s3d-object-cube](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-cube.avif) * cone | ![s3d-object-cone](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-cone.avif) * inverted-cone | ![s3d-object-inverted-cone](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-inverted-cone.avif) * diamond | ![s3d-object-diamond](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-diamond.avif) * tetrahedron | ![s3d-object-tetrahedron](https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbols3d-object-tetrahedron.avif) * * @since 5.0 */ primitive?: ObjectSymbol3DLayerPrimitiveType | null; }