Table of Contents

Class EasyARMegaComponent

名前空間
easyar

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

継承
EasyARMegaComponent

メソッド

schema

readonly schema: xrfs.IComponentSchema;

戻り値

closeSession()

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

closeSession(): void;

戻り値

{void}

createSession(sessionConfigs)

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

createSession(sessionConfigs: SessionConfigs): EasyARSession | null;

パラメーター

sessionConfigs

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

戻り値

{EasyARSession | null}