Skip to content

@simversus/yjvisDocs


@simversus/yjvis / PixelData

Class: PixelData

Extends

  • DataSet

Constructors

new PixelData()

new PixelData(): PixelData

Returns

PixelData

Inherited from

DataSet.constructor

Defined in

core/baseObject.ts:112

Properties

attributes

readonly attributes: AttributeData[] = []

Inherited from

DataSet.attributes

Defined in

data/DataSet.ts:5


box

box: Box

Defined in

data/PixelData.ts:11


classHierarchy

classHierarchy: ClassEnum[]

Deprecated

Inherited from

DataSet.classHierarchy

Defined in

core/baseObject.ts:96


direction

direction: Mat3

Defined in

data/PixelData.ts:5


fields

fields: Partial<Record<FieldType, AttributeData>> = {}

Inherited from

DataSet.fields

Defined in

data/DataSet.ts:7


indexToWorld

indexToWorld: Mat4

Defined in

data/PixelData.ts:6


label

label: string

自定义标识

Inherited from

DataSet.label

Defined in

core/baseObject.ts:104


origin

origin: Number3

Defined in

data/PixelData.ts:9


spacing

spacing: Number3

Defined in

data/PixelData.ts:8


userData

userData: any

用户自定义数据

Inherited from

DataSet.userData

Defined in

core/baseObject.ts:100


uuid

uuid: number

唯一标识符

Inherited from

DataSet.uuid

Defined in

core/baseObject.ts:92


worldToIndex

worldToIndex: Mat4

Defined in

data/PixelData.ts:7

Accessors

mtime

get mtime(): number

Returns

number

Inherited from

DataSet.mtime

Defined in

core/baseObject.ts:118

Methods

changed()

changed(): void

标记对象为已修改

Returns

void

Inherited from

DataSet.changed

Defined in

core/baseObject.ts:128


is()

is(t): boolean

Parameters

t: ClassEnum

Returns

boolean

Inherited from

DataSet.is

Defined in

core/baseObject.ts:122


release()

release(): void

销毁该对象

Returns

void

Inherited from

DataSet.release

Defined in

core/baseObject.ts:134


setScalar()

setScalar(data): void

Parameters

data: AttributeData

Returns

void

Inherited from

DataSet.setScalar

Defined in

data/DataSet.ts:9