Table of Contents

Class BlockHolder

Spazio dei nomi
easyar

Component che contiene Block e gestisce Block nella scena.

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

get blocks(): BlockController[];

Valore restituito

getBlockById(id)

Ottieni Block per 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