Class BlockHolder
- Spazio dei nomi
- easyar
Componente che detiene il Block, nella scena 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)
Ottenere il Block in base all'ID.
getBlockById(id: string): BlockController;
Parametri
id
Valore restituito
holdBlock(blockInfo, blockTransformInput)
Creare un nodo Block sotto ShadowRoot in base a BlockInfo.
holdBlock(blockInfo: BlockInfo, blockTransformInput?: LocalTransform | null): void;
Parametri
blockInfoblockTransformInput