Class EasyARMegaComponent
- 네임스페이스
- easyar
EasyARMegaComponent xrframe 프레임워크에 정의된 Mega component입니다. component는 xrframe scene의 기본 논리 단위이며 lifecycle은 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;
매개 변수
sessionConfigsEasyARSession 생성에 필요한 매개변수입니다.
반환 값
{EasyARSession | null}