Class BlockHolder
- Espacio de nombres
- easyar
Component que contiene Block y administra Block en la escena.
BlockHolder
Observaciones
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.
Métodos
blocks
Todos los Mega block contenidos.
get blocks(): BlockController[];
Devuelve
getBlockById(id)
Obtener Block por ID
getBlockById(id: string): BlockController;
Parámetros
id
Devuelve
holdBlock(blockInfo, blockTransformInput)
Crear un nodo Block bajo ShadowRoot según BlockInfo
holdBlock(blockInfo: BlockInfo, blockTransformInput?: LocalTransform | null): void;
Parámetros
blockInfoblockTransformInput