Table of Contents

Class BlockHolder

Espacio de nombres
easyar

BlockHolder Componente que posee el Block, lo mantiene y gestiona 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 blocks poseídos.

get blocks(): BlockController[];

Devuelve

getBlockById(id)

Obtener Block según ID

getBlockById(id: string): BlockController;

Parámetros

id

Devuelve

holdBlock(blockInfo, blockTransformInput)

Crear nodo de Block bajo ShadowRoot según BlockInfo

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

Parámetros

blockInfo
blockTransformInput

Devuelve