浏览代码

add missing @hidden

David Catuhe 6 年之前
父节点
当前提交
9ec5577bf8
共有 4 个文件被更改,包括 8 次插入8 次删除
  1. 1 1
      src/Cameras/camera.ts
  2. 1 1
      src/Materials/Textures/internalTexture.ts
  3. 4 4
      src/Misc/decorators.ts
  4. 2 2
      src/Physics/physicsImpostor.ts

+ 1 - 1
src/Cameras/camera.ts

@@ -803,7 +803,7 @@ export class Camera extends Node {
                 result = result || target.isInFrustum(cam._frustumPlanes);
             });
             return result;
-        }else {
+        } else {
             return target.isInFrustum(this._frustumPlanes);
         }
     }

+ 1 - 1
src/Materials/Textures/internalTexture.ts

@@ -16,7 +16,7 @@ declare type BaseTexture = import("../../Materials/Textures/baseTexture").BaseTe
  */
 export class InternalTexture {
 
-    /** hidden */
+    /** @hidden */
     public static _UpdateRGBDAsync = (internalTexture: InternalTexture, data: ArrayBufferView[][], sphericalPolynomial: Nullable<SphericalPolynomial>, lodScale: number, lodOffset: number): Promise<void> => {
         throw _DevTools.WarnImport("environmentTextureTools");
     }

+ 4 - 4
src/Misc/decorators.ts

@@ -213,22 +213,22 @@ export function serializeAsCameraReference(sourceName?: string) {
  * Class used to help serialization objects
  */
 export class SerializationHelper {
-    /** hidden */
+    /** @hidden */
     public static _ImageProcessingConfigurationParser = (sourceProperty: any): ImageProcessingConfiguration => {
         throw _DevTools.WarnImport("ImageProcessingConfiguration");
     }
 
-    /** hidden */
+    /** @hidden */
     public static _FresnelParametersParser = (sourceProperty: any): FresnelParameters => {
         throw _DevTools.WarnImport("FresnelParameters");
     }
 
-    /** hidden */
+    /** @hidden */
     public static _ColorCurvesParser = (sourceProperty: any): ColorCurves => {
         throw _DevTools.WarnImport("ColorCurves");
     }
 
-    /** hidden */
+    /** @hidden */
     public static _TextureParser = (sourceProperty: any, scene: Scene, rootUrl: string): Nullable<BaseTexture> => {
         throw _DevTools.WarnImport("Texture");
     }

+ 2 - 2
src/Physics/physicsImpostor.ts

@@ -223,7 +223,7 @@ export class PhysicsImpostor {
     private _deltaRotation: Quaternion;
     private _deltaRotationConjugated: Quaternion;
 
-    /** hidden */
+    /** @hidden */
     public _isFromLine: boolean;
 
     //If set, this is this impostor's parent
@@ -294,7 +294,7 @@ export class PhysicsImpostor {
             return 0;
         }
         const plugin = this._physicsEngine.getPhysicsPlugin();
-        if (!plugin .setBodyPressure) {
+        if (!plugin.setBodyPressure) {
             return 0;
         }
         return plugin.getBodyPressure!(this);