Table of Contents

Class BlockHolder

Espaço de nomes
easyar

Component que mantém Block e gerencia 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 block mantidos.

get blocks(): BlockController[];

Retorna

getBlockById(id)

Obter Block por ID

getBlockById(id: string): BlockController;

Parâmetros

id

Retorna

holdBlock(blockInfo, blockTransformInput)

Criar um nó Block em ShadowRoot de acordo com BlockInfo

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

Parâmetros

blockInfo
blockTransformInput

Retorna