Table of Contents

Class BlockHolder

Spazio dei nomi
easyar

BlockHolder Componente che detiene il Block, nel contesto, detiene e gestisce il Block.

BlockHolder

Osservazioni

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the BlockHolder class.

Metodi

blocks

Tutti i Mega block detenuti.

get blocks(): BlockController[];

Valore restituito

getBlockById(id)

Ottieni il Block in base all'ID

getBlockById(id: string): BlockController;

Parametri

id

Valore restituito

holdBlock(blockInfo, blockTransformInput)

Crea un nodo Block sotto ShadowRoot in base a BlockInfo

holdBlock(blockInfo: BlockInfo, blockTransformInput?: LocalTransform | null): void;

Parametri

blockInfo
blockTransformInput

Valore restituito