Table of Contents

Class BlockHolder

Espaço de nomes
easyar

BlockHolder Componente que mantém Blocks, contendo e gerenciando Blocks no cenário.

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 mantidos.

get blocks(): BlockController[];

Retorna

getBlockById(id)

Obter Block por ID

getBlockById(id: string): BlockController;

Parâmetros

id

Retorna

holdBlock(blockInfo, blockTransformInput)

Criar nó Block sob ShadowRoot com base no BlockInfo

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

Parâmetros

blockInfo
blockTransformInput

Retorna