Skip to content

Class: Shape3DStruct

Hierarchy

Constructors

Properties

Methods

Constructors

constructor

new Shape3DStruct(): Shape3DStruct

Returns

Shape3DStruct

Inherited from

DynamicDrawStruct.constructor

Properties

shapeType

shapeType: number = 0

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:5


shapeOrder

shapeOrder: number = 0

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:6


destPointStart

destPointStart: number = 0

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:7


destPointCount

destPointCount: number = 0

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:8


srcPointStart

srcPointStart: number = 0

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:10


srcPointCount

srcPointCount: number = 0

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:11


srcIndexStart

srcIndexStart: number = 0

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:12


srcIndexCount

srcIndexCount: number = 0

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:13


isClosed

isClosed: number = 0

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:15


fill

fill: number = 0

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:16


line

line: number = 0

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:17


lineWidth

lineWidth: number = 10

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:18


xa

xa: number = 5

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:20


xb

xb: number = 4

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:21


xc

xc: number = 4

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:22


xd

xd: number = 2

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:23


xe

xe: number = 5

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:25


xf

xf: number = 4

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:26


xg

xg: number = 4

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:27


xh

xh: number = 2

Defined in

packages/graphic/renderer/shape3d/Shape3D.ts:28

Methods

getValueSize

getValueSize(value): any

get any type value memory size

Parameters

NameTypeDescription
valueanyany type value

Returns

any

Inherited from

DynamicDrawStruct.getValueSize

Defined in

src/util/struct/Struct.ts:48


Ref

Ref<T>(c): { name: string ; type: string }[]

Type parameters

NameType
Textends Struct

Parameters

NameType
cCtor<T>

Returns

{ name: string ; type: string }[]

Inherited from

DynamicDrawStruct.Ref

Defined in

src/util/struct/Struct.ts:93


Get

Get<T>(c): Struct

Type parameters

NameType
Textends Struct

Parameters

NameType
cCtor<T>

Returns

Struct

Inherited from

DynamicDrawStruct.Get

Defined in

src/util/struct/Struct.ts:99


GetSize

GetSize<T>(c): number

get any struct memory size

Type parameters

NameType
Textends Struct

Parameters

NameType
cCtor<T>

Returns

number

Inherited from

DynamicDrawStruct.GetSize

Defined in

src/util/struct/Struct.ts:112


getValueType

getValueType(): { name: string ; type: string }[]

get reflection name

Returns

{ name: string ; type: string }[]

Inherited from

DynamicDrawStruct.getValueType

Defined in

src/util/struct/Struct.ts:25