Pārlūkot izejas kodu

Updating What's new, and move private member variable to unbreak typedoc.

Alex Tran 5 gadi atpakaļ
vecāks
revīzija
b6f80ded19

+ 1 - 0
dist/preview release/what's new.md

@@ -164,6 +164,7 @@
 - All camera view matrices are now calculated by Babylon to support left and right handed systems ([RaananW](https://github.com/RaananW))
 - WebXR Features Manager now has the ability to check if a feature can be enabled, and set native features optional or required ([RaananW](https://github.com/RaananW))
 - Optional camera gaze mode added to the pointer selection feature ([RaananW](https://github.com/RaananW))
+- Exposing feature points when running on top of BabylonNative ([Alex-MSFT](https://github.com/Alex-MSFT))
 
 ### Collisions
 

+ 2 - 1
src/XR/features/WebXRFeaturePointSystem.ts

@@ -30,6 +30,8 @@ export interface IWebXRFeaturePoint {
  */
 export class WebXRFeaturePointSystem extends WebXRAbstractFeature {
     private _enabled: boolean = false;
+    private _featurePointCloud: Array<IWebXRFeaturePoint> = [];
+
     /**
      * The module's name
      */
@@ -48,7 +50,6 @@ export class WebXRFeaturePointSystem extends WebXRAbstractFeature {
     /**
      * The currrent feature point cloud maintained across frames.
      */
-    private _featurePointCloud: Array<IWebXRFeaturePoint> = [];
     public readonly featurePointCloud: Array<IWebXRFeaturePoint> = this._featurePointCloud;
 
     /**