Skip to content

Class: ShapeInfo

Hierarchy

  • Struct

    ShapeInfo

Constructors

Properties

Methods

Constructors

constructor

new ShapeInfo(): ShapeInfo

Returns

ShapeInfo

Inherited from

Struct.constructor

Properties

shapeIndex

shapeIndex: number = 0

Defined in

packages/graphic/renderer/graphic3d/ShapeInfo.ts:4


shapeType

shapeType: number = 0

Defined in

packages/graphic/renderer/graphic3d/ShapeInfo.ts:5


width

width: number = 0

Defined in

packages/graphic/renderer/graphic3d/ShapeInfo.ts:6


lineCap

lineCap: number = 0

Defined in

packages/graphic/renderer/graphic3d/ShapeInfo.ts:7


pathCount

pathCount: number = 0

Defined in

packages/graphic/renderer/graphic3d/ShapeInfo.ts:8


uScale

uScale: number = 0

Defined in

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


vScale

vScale: number = 0

Defined in

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


lineJoin

lineJoin: number = 0

Defined in

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


startPath

startPath: number = 0

Defined in

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


endPath

endPath: number = 0

Defined in

packages/graphic/renderer/graphic3d/ShapeInfo.ts:14


uSpeed

uSpeed: number = 0

Defined in

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


vSpeed

vSpeed: number = 0

Defined in

packages/graphic/renderer/graphic3d/ShapeInfo.ts:16


paths

paths: Vector4[] = []

Defined in

packages/graphic/renderer/graphic3d/ShapeInfo.ts:17

Methods

getValueSize

getValueSize(value): any

get any type value memory size

Parameters

NameTypeDescription
valueanyany type value

Returns

any

Inherited from

Struct.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

Struct.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

Struct.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

Struct.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

Struct.getValueType

Defined in

src/util/struct/Struct.ts:25