# Class: ThreeLayer

threejs图层.

# Hierarchy

  • Evented

    ThreeLayer

# Implements

  • CustomLayerInterface

# Table of contents

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new ThreeLayer(options: ThreeLayerOptions): ThreeLayer

# Parameters
Name Type
options ThreeLayerOptions

Returns: ThreeLayer

Overrides: Evented.constructor

# Properties

# context

context: ThreeJsContext


# id

id: string

Implementation of: CustomLayerInterface.id


# renderingMode

Optional renderingMode: "2d" | "3d"

Implementation of: CustomLayerInterface.renderingMode


# type

type: "custom"

Implementation of: CustomLayerInterface.type

# Methods

# onAdd

onAdd(map: any, gl: any): void

# Parameters
Name Type
map any
gl any

Returns: void

Implementation of: CustomLayerInterface.onAdd


# onRemove

onRemove(): void

Returns: void

Implementation of: CustomLayerInterface.onRemove


# render

render(gl: any, matrix: any): void

# Parameters
Name Type
gl any
matrix any

Returns: void

Implementation of: CustomLayerInterface.render

vjmap / Exports / WebSocketEvent