跳到主要内容

flywave-mapview.ilineaccessor

Home > @flywave/flywave-mapview > ILineAccessor

ILineAccessor interface

Interface to access lines. Allows read access for some important attributes.

Signature:

export interface ILineAccessor 

Properties

Property

Modifiers

Type

Description

color

THREE.Color | undefined | Array<THREE.Color | undefined>

Get the color from materials.

geometryType

GeometryType

Hint for the original type of geometry.

renderOrder

number

Render order.

width

number | undefined

Get the width. May have to be reconstructed from triangulated line mesh.

Methods

Method

Description

clear()

Clear the object from the mesh.

getVertices()

Get vertices from the object.

isLineAccessor()

Helper for function isLineAccessor.