Jelajahi Sumber

Fix doc format for VideoTextureSettings

Edgar Simson 7 tahun lalu
induk
melakukan
732160e848
1 mengubah file dengan 11 tambahan dan 4 penghapusan
  1. 11 4
      src/Materials/Textures/babylon.videoTexture.ts

+ 11 - 4
src/Materials/Textures/babylon.videoTexture.ts

@@ -1,14 +1,21 @@
 module BABYLON {
 module BABYLON {
     /**
     /**
      * Settings for finer control over video usage
      * Settings for finer control over video usage
-     * @typedef {Object} VideoTextureSettings
-     * @property {boolean} [autoPlay] Applies `autoplay` to video, if specified
-     * @property {boolean} [loop] - Applies `loop` to video, if specified
-     * @property {boolean} autoUpdateTexture - Automatically updates internal texture from video at every frame in the render loop
      */
      */
     export interface VideoTextureSettings {
     export interface VideoTextureSettings {
+        /**
+         * Applies `autoplay` to video, if specified
+         */
         autoPlay?: boolean;
         autoPlay?: boolean;
+
+        /**
+         * Applies `loop` to video, if specified
+         */
         loop?: boolean;
         loop?: boolean;
+
+        /**
+         * Automatically updates internal texture from video at every frame in the render loop
+         */
         autoUpdateTexture: boolean;
         autoUpdateTexture: boolean;
     }
     }