Constructor options for the Tiles3D entity.

interface Tiles3DOptions {
    classifications?: Classification[];
    colorMap?: ColorMap;
    dracoDecoderPath?: string;
    errorTarget?: number;
    ktx2DecoderPath?: string;
    name?: string;
    object3d?: Object3D<Object3DEventMap>;
    pointCloudAttributeMapping?: PointCloudBatchTableAttributeMapping;
    pointCloudMode?: PointCloudMode;
    pointSize?: number;
    url?: string;
}

Hierarchy (view full)

Properties

classifications?: Classification[]

The classifications for point clouds. Note: only applies to point cloud tiles.

ASPRS_CLASSIFICATIONS

colorMap?: ColorMap

The colormap used for point cloud coloring. Note: only applies to point cloud tiles.

dracoDecoderPath?: string

The path to the DRACO library files.

'https://unpkg.com/three@0.${REVISION}.0/examples/jsm/libs/draco/gltf/'

errorTarget?: number

The error target that drives tile subdivision.

8
ktx2DecoderPath?: string

The path to the KTX2 library files.

'https://unpkg.com/three@0.${REVISION}.0/examples/jsm/libs/basis/'

name?: string

The optional display name of this entity. Mostly used for debugging.

The root object of this entity. If none is provided, a new Group is created.

pointCloudAttributeMapping?: PointCloudBatchTableAttributeMapping

The mapping between well-known attributes of point cloud geometries and attributes in the batch table.

pointCloudMode?: PointCloudMode

The display mode for point clouds. Note: only applies to point cloud tiles.

color
pointSize?: number

The point size for point clouds. Note: only applies to point cloud tiles.

automatic size computation
url?: string

The URL to the root tileset. Might be undefined if the URL is provided externally (for example by the GoogleCloudAuthPlugin)