Table of Contents

Class EasyARMegaComponent

Spazio dei nomi
easyar

EasyARMegaComponent Componente Mega definito nel framework xrframe. I componenti sono le unità logiche fondamentali di una scena xrframe e il loro ciclo di vita viene controllato da xrframe. Per 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()

closeSession Chiude l'EasyARSession. Dopo la chiusura non può più essere utilizzato.

closeSession(): void;

Valore restituito

{void}

createSession(sessionConfigs)

createSession Crea una EasyARSession. In caso di fallimento, restituisce null.

createSession(sessionConfigs: SessionConfigs): EasyARSession | null;

Parametri

sessionConfigs

用于创建 EasyARSession 所需要的参数。

Valore restituito

{EasyARSession | null}