본문으로 건너뛰기

VRStartEvent

Since version 4.0.0

VR 세션에 진입한 직후에 발생하는 이벤트

interface VRStartEvent

Properties

이벤트를 발생시킨 컴포넌트의 인스턴스.

이벤트 타입.
이벤트 이름과 값이 같습니다.

Properties

target

>=4.0.0
target

View360

이벤트를 발생시킨 컴포넌트의 인스턴스.

Example
viewer.on("ready", evt => {
console.log(evt.target); // = viewer
});

type

>=4.0.0
type

string

이벤트 타입.
이벤트 이름과 값이 같습니다.

Example
viewer.on("ready", evt => {
console.log(evt.type); // "ready"
});