Table of Contents

Class EasyARMegaComponent

Spazio dei nomi
easyar

EasyARMegaComponent Component Mega definito nel framework xrframe. I component sono le unità logiche di base di una xrframe scene e il loro ciclo di vita è controllato da xrframe. Per i dettagli, consultare la documentazione ufficiale di XrFramework: <https://developers.weixin.qq.com/miniprogram/dev/component/xr-frame/core/component.html>.

Ereditarietà
EasyARMegaComponent

Metodi

schema

readonly schema: xrfs.IComponentSchema;

Valore restituito

closeSession()

Chiude EasyARSession. Dopo la chiusura non deve più essere usato.

closeSession(): void;

Valore restituito

{void}

createSession(sessionConfigs)

Crea EasyARSession. Restituisce null se la creazione non riesce.

createSession(sessionConfigs: SessionConfigs): EasyARSession | null;

Parametri

sessionConfigs

Parametri necessari per creare EasyARSession.

Valore restituito

{EasyARSession | null}