Browse Source

SkeletonViewer: Documented the two new local axes options.

Reimund Järnfors 5 năm trước cách đây
mục cha
commit
3fb48258fe
1 tập tin đã thay đổi với 7 bổ sung1 xóa
  1. 7 1
      src/Debug/skeletonViewer.ts

+ 7 - 1
src/Debug/skeletonViewer.ts

@@ -863,7 +863,13 @@ export class SkeletonViewer {
         }
     }
 
-    /** Changes the displayMode of the skeleton viewer
+    /** Sets a display option of the skeleton viewer
+     *
+     * | Option          | Type    | Default | Description |
+     * | --------------- | ------- | ------- | ----------- |
+     * | showLocalAxes   | boolean | false   | Displays local axes on all bones. |
+     * | localAxesSize   | float   | 0.075   | Determines the length of each local axis. |
+     *
      * @param option String of the option name
      * @param value The numerical option value
      */