Table of Contents

Class BlockHolder

Namespace
easyar

Eine Komponente, die Block hält und in der Szene verwaltet.

BlockHolder

Hinweise

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.

Methoden

blocks

Alle gehaltenen Mega-Blöcke.

get blocks(): BlockController[];

Rückgabewert

getBlockById(id)

Block anhand der ID abrufen

getBlockById(id: string): BlockController;

Parameter

id

Rückgabewert

holdBlock(blockInfo, blockTransformInput)

Einen Block-Knoten basierend auf BlockInfo unter ShadowRoot erstellen

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

Parameter

blockInfo
blockTransformInput

Rückgabewert