Class: Shape3DStruct
Hierarchy
↳
Shape3DStruct
Constructors
Properties
- shapeType
- shapeOrder
- destPointStart
- destPointCount
- srcPointStart
- srcPointCount
- srcIndexStart
- srcIndexCount
- isClosed
- fill
- line
- lineWidth
- xa
- xb
- xc
- xd
- xe
- xf
- xg
- xh
Methods
Constructors
constructor
• new Shape3DStruct(): Shape3DStruct
Returns
Inherited from
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
Name | Type | Description |
---|---|---|
value | any | any type value |
Returns
any
Inherited from
DynamicDrawStruct.getValueSize
Defined in
Ref
▸ Ref<T
>(c
): { name
: string
; type
: string
}[]
Type parameters
Name | Type |
---|---|
T | extends Struct |
Parameters
Name | Type |
---|---|
c | Ctor <T > |
Returns
{ name
: string
; type
: string
}[]
Inherited from
Defined in
Get
▸ Get<T
>(c
): Struct
Type parameters
Name | Type |
---|---|
T | extends Struct |
Parameters
Name | Type |
---|---|
c | Ctor <T > |
Returns
Struct
Inherited from
Defined in
GetSize
▸ GetSize<T
>(c
): number
get any struct memory size
Type parameters
Name | Type |
---|---|
T | extends Struct |
Parameters
Name | Type |
---|---|
c | Ctor <T > |
Returns
number
Inherited from
Defined in
getValueType
▸ getValueType(): { name
: string
; type
: string
}[]
get reflection name
Returns
{ name
: string
; type
: string
}[]
Inherited from
DynamicDrawStruct.getValueType