Sebastien Vandenberghe пре 7 година
родитељ
комит
6b8ee3bce4
2 измењених фајлова са 4 додато и 1 уклоњено
  1. 1 0
      src/babylon.scene.ts
  2. 3 1
      src/babylon.sceneComponent.ts

+ 1 - 0
src/babylon.scene.ts

@@ -1171,6 +1171,7 @@
          * Add a component to the scene.
          * Note that the ccomponent could be registered on th next frame if this is called after 
          * the register component stage.
+         * @param component Defines the component to add to the scene
          */
         public _addComponent(component: ISceneComponent) {
             this._components.push(component);

+ 3 - 1
src/babylon.sceneComponent.ts

@@ -91,11 +91,12 @@
 
     /** 
      * Repressentation of a stage in the scene (Basically a list of ordered steps) 
+     * @hidden
      */
     export class Stage<T extends Function> extends Array<{ index: number, component: ISceneComponent, action: T }> {
         /**
          * Hide ctor from the rest of the world.
-         * @param items 
+         * @param items The items to add.
          */
         private constructor(items?: { index: number, component: ISceneComponent, action: T }[]) {
             super(...<any>items)
@@ -103,6 +104,7 @@
 
         /**
          * Creates a new Stage.
+         * @returns A new instance of a Stage
          */
         static Create<T extends Function>(): Stage<T> {
             return Object.create(Stage.prototype);