Class BlockHolder
- Namespace
- easyar
Component, das Block hält und Block 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 blocks.
get blocks(): BlockController[];
Rückgabewert
getBlockById(id)
Block nach ID abrufen
getBlockById(id: string): BlockController;
Parameter
id
Rückgabewert
holdBlock(blockInfo, blockTransformInput)
Erstellt anhand von BlockInfo einen Block-Knoten unter ShadowRoot
holdBlock(blockInfo: BlockInfo, blockTransformInput?: LocalTransform | null): void;
Parameter
blockInfoblockTransformInput