Class: Graphic3DMesh
Constructors
Properties
Methods
Constructors
constructor
• new Graphic3DMesh(): Graphic3DMesh
Returns
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
Name | Type |
---|---|
scene | Scene3D |
geo | GeometryBase |
texture | BitmapTexture2DArray |
count | number |
Returns
Defined in
packages/graphic/renderer/graphic3d/Graphic3DMesh.ts:15
drawRibbon
▸ drawRibbon(id
, scene
, texture
, trailSegment
, count
): Graphic3DRibbonRenderer
Parameters
Name | Type |
---|---|
id | string |
scene | Scene3D |
texture | BitmapTexture2DArray |
trailSegment | number |
count | number |
Returns
Defined in
packages/graphic/renderer/graphic3d/Graphic3DMesh.ts:26
drawShape
▸ drawShape(id
, scene
, texture
): Graphic3DFaceRenderer
Parameters
Name | Type |
---|---|
id | string |
scene | Scene3D |
texture | BitmapTexture2DArray |
Returns
Defined in
packages/graphic/renderer/graphic3d/Graphic3DMesh.ts:37
drawNode
▸ drawNode<T
>(id
, c
, nodeStruct
, scene
, texture
, maxNodeCount
, maxFaceCount?
, standAloneMatrix?
): T
Type parameters
Name | Type |
---|---|
T | extends DynamicFaceRenderer |
Parameters
Name | Type |
---|---|
id | string |
c | Ctor <T > |
nodeStruct | Ctor <DynamicDrawStruct > |
scene | Scene3D |
texture | BitmapTexture2DArray |
maxNodeCount | number |
maxFaceCount? | number |
standAloneMatrix? | boolean |
Returns
T