浏览代码

Fix doc format for VideoTextureSettings

Edgar Simson 7 年之前
父节点
当前提交
732160e848
共有 1 个文件被更改,包括 11 次插入4 次删除
  1. 11 4
      src/Materials/Textures/babylon.videoTexture.ts

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

@@ -1,14 +1,21 @@
 module BABYLON {
     /**
      * 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 {
+        /**
+         * Applies `autoplay` to video, if specified
+         */
         autoPlay?: boolean;
+
+        /**
+         * Applies `loop` to video, if specified
+         */
         loop?: boolean;
+
+        /**
+         * Automatically updates internal texture from video at every frame in the render loop
+         */
         autoUpdateTexture: boolean;
     }