Class BlockHolder
- Espace de noms
- easyar
Component qui contient Block et gère Block dans la scène.
BlockHolder
Remarques
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éthodes
blocks
Tous les Mega block contenus.
get blocks(): BlockController[];
Retours
getBlockById(id)
Obtenir Block par ID
getBlockById(id: string): BlockController;
Paramètres
id
Retours
holdBlock(blockInfo, blockTransformInput)
Créer un noeud Block sous ShadowRoot selon BlockInfo
holdBlock(blockInfo: BlockInfo, blockTransformInput?: LocalTransform | null): void;
Paramètres
blockInfoblockTransformInput