Class BlockHolder
- Namespace
- easyar
BlockHolder Komponente, die Blöcke hält, hält und verwaltet Blöcke in der Szene.
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)
Block-Knoten basierend auf BlockInfo unter ShadowRoot erstellen
holdBlock(blockInfo: BlockInfo, blockTransformInput?: LocalTransform | null): void;
Parameter
blockInfoblockTransformInput