Skip to content

Class: RibbonStruct

Hierarchy

  • Struct

    RibbonStruct

Constructors

Properties

Methods

Constructors

constructor

new RibbonStruct(): RibbonStruct

Returns

RibbonStruct

Inherited from

Struct.constructor

Properties

index

index: number = 1

Defined in

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


segment

segment: number = 5

Defined in

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


visible

visible: number = 1

Defined in

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


width

width: number = 0.25

Defined in

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


uv

uv: Vector4

Defined in

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


uvSpeed

uvSpeed: Vector2

Defined in

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


smooth

smooth: number = 0

Defined in

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


faceMode

faceMode: number = FaceMode.FaceToCamera

Defined in

packages/graphic/renderer/graphic3d/Graphic3DRibbonRenderer.ts:18


up

up: Vector4

Defined in

packages/graphic/renderer/graphic3d/Graphic3DRibbonRenderer.ts:19


ids

ids: Float32Array

Defined in

packages/graphic/renderer/graphic3d/Graphic3DRibbonRenderer.ts:20


ribbonPoint

ribbonPoint: Object3D[] = []

Defined in

packages/graphic/renderer/graphic3d/Graphic3DRibbonRenderer.ts:21

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

Released under the MIT License