Skip to content

enterXRAsync override in EngineHook.ts fails TypeScript type checking #170

@ryantrem

Description

@ryantrem

EngineHook.ts has an override of WebXRExperienceHelper.enterXRAsync to force the clear color. To do this, it accesses the scene property of WebXRExperienceHelper, but this is private (I'm guessing it used to be public). This results in a TypeScript type checking error. We should:

  1. Ideally just remove this if @bghgary's big refactor fixes it (I'm guessing it does).
  2. If we must keep it, we should change this.scene to this.sessionManager.scene.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions