Skip to main content

flywave-mapview.bufferedgeometryaccessorbase

Home > @flywave/flywave-mapview > BufferedGeometryAccessorBase

BufferedGeometryAccessorBase class

Geometry accessor for both indexed and nonindexed BufferedGeometry.

Signature:

export declare abstract class BufferedGeometryAccessorBase implements IGeometryAccessor 

Implements: IGeometryAccessor

Constructors

Constructor

Modifiers

Description

(constructor)(object, geometryType, bufferGeometry)

Constructs a new instance of the BufferedGeometryAccessorBase class

Properties

Property

Modifiers

Type

Description

bufferGeometry

protected

readonly

THREE.BufferGeometry

color

readonly

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

Get one or more colors from materials.

end

protected

number

endCapSize

protected

number

geometryType

readonly

GeometryType

itemSize

protected

number

object

readonly

THREE.Mesh

position

protected

THREE.BufferAttribute

renderOrder

readonly

number

Get renderOrder of object.

start

protected

number

startCapSize

protected

number

Methods

Method

Modifiers

Description

getCount()

Get the number of accessible geometries in this buffer.

setRange(start, end, startCapSize, endCapSize)