Table of Contents

Class EasyARMegaComponent

名前空間
easyar

EasyARMegaComponent xrframe フレームワークで定義された Mega component。component は xrframe scene の基本的な論理単位であり、ライフサイクルは xrframe によって制御されます。詳細は XrFramework 公式ドキュメントを参照してください: <https://developers.weixin.qq.com/miniprogram/dev/component/xr-frame/core/component.html>。

継承
EasyARMegaComponent

メソッド

schema

readonly schema: xrfs.IComponentSchema;

戻り値

closeSession()

EasyARSession を閉じます。閉じた後は使用できません。

closeSession(): void;

戻り値

{void}

createSession(sessionConfigs)

EasyARSession を作成します。作成に失敗した場合は null を返します。

createSession(sessionConfigs: SessionConfigs): EasyARSession | null;

パラメーター

sessionConfigs

EasyARSession の作成に必要なパラメーター。

戻り値

{EasyARSession | null}