Table of Contents

Class BlockHolder

Espaço de nomes
easyar

Componente que detém o Block, mantém e gerencia o Block na cena.

BlockHolder

Comentários

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 os Mega blocks detidos.

get blocks(): BlockController[];

Retorna

getBlockById(id)

Obter o Block por ID

getBlockById(id: string): BlockController;

Parâmetros

id

Retorna

holdBlock(blockInfo, blockTransformInput)

Criar nó do Block sob ShadowRoot com base no BlockInfo

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

Parâmetros

blockInfo
blockTransformInput

Retorna