Skip to content

Latest commit

 

History

History
75 lines (38 loc) · 947 Bytes

File metadata and controls

75 lines (38 loc) · 947 Bytes

sapi-pro


sapi-pro / DPSource

Interface: DPSource

抽象DynamicProperty类,支持实体和世界

Methods

clearDynamicProperties()

clearDynamicProperties(): void

Returns

void


getDynamicProperty()

getDynamicProperty(identifier): string | number | boolean | Vector3 | undefined

Parameters

identifier

string

Returns

string | number | boolean | Vector3 | undefined


getDynamicPropertyIds()

getDynamicPropertyIds(): string[]

Returns

string[]


getDynamicPropertyTotalByteCount()

getDynamicPropertyTotalByteCount(): number

Returns

number


setDynamicProperty()

setDynamicProperty(identifier, value?): void

Parameters

identifier

string

value?

string | number | boolean | Vector3

Returns

void