Skip to content

Class: Graphic3DMesh

Constructors

Properties

Methods

Constructors

constructor

new Graphic3DMesh(): Graphic3DMesh

Returns

Graphic3DMesh

Properties

meshMap

Static meshMap: Map<GeometryBase, Graphic3DMeshRenderer>

Defined in

packages/graphic/renderer/graphic3d/Graphic3DMesh.ts:9


meshDrawGroup

Static meshDrawGroup: Map<string, Graphic3DMeshRenderer>

Defined in

packages/graphic/renderer/graphic3d/Graphic3DMesh.ts:10


ribbonMap

Static ribbonMap: Map<string, Graphic3DRibbonRenderer>

Defined in

packages/graphic/renderer/graphic3d/Graphic3DMesh.ts:11


nodeMap

Static nodeMap: Map<string, DynamicFaceRenderer>

Defined in

packages/graphic/renderer/graphic3d/Graphic3DMesh.ts:12


faceMap

Static faceMap: Map<string, Graphic3DFaceRenderer>

Defined in

packages/graphic/renderer/graphic3d/Graphic3DMesh.ts:13

Methods

draw

draw(scene, geo, texture, count): Graphic3DMeshRenderer

Parameters

NameType
sceneScene3D
geoGeometryBase
textureBitmapTexture2DArray
countnumber

Returns

Graphic3DMeshRenderer

Defined in

packages/graphic/renderer/graphic3d/Graphic3DMesh.ts:15


drawRibbon

drawRibbon(id, scene, texture, trailSegment, count): Graphic3DRibbonRenderer

Parameters

NameType
idstring
sceneScene3D
textureBitmapTexture2DArray
trailSegmentnumber
countnumber

Returns

Graphic3DRibbonRenderer

Defined in

packages/graphic/renderer/graphic3d/Graphic3DMesh.ts:26


drawShape

drawShape(id, scene, texture): Graphic3DFaceRenderer

Parameters

NameType
idstring
sceneScene3D
textureBitmapTexture2DArray

Returns

Graphic3DFaceRenderer

Defined in

packages/graphic/renderer/graphic3d/Graphic3DMesh.ts:37


drawNode

drawNode<T>(id, c, nodeStruct, scene, texture, maxNodeCount, maxFaceCount?, standAloneMatrix?): T

Type parameters

NameType
Textends DynamicFaceRenderer

Parameters

NameType
idstring
cCtor<T>
nodeStructCtor<DynamicDrawStruct>
sceneScene3D
textureBitmapTexture2DArray
maxNodeCountnumber
maxFaceCount?number
standAloneMatrix?boolean

Returns

T

Defined in

packages/graphic/renderer/graphic3d/Graphic3DMesh.ts:48

Released under the MIT License