Table of Contents

Class BlockHolder

Espace de noms
easyar

Composant détenant le Block, tenant et gérant le 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 détenus

get blocks(): BlockController[];

Retours

getBlockById(id)

Obtenir le bloc par ID

getBlockById(id: string): BlockController;

Paramètres

id

Retours

holdBlock(blockInfo, blockTransformInput)

Créer un nœud Block sous ShadowRoot selon BlockInfo

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

Paramètres

blockInfo
blockTransformInput

Retours