소스 검색

Add typedoc for TransformNode.resetLocalMatrix()

Nicholas Barlow 5 년 전
부모
커밋
6aaa38c6dc
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/Meshes/transformNode.ts

+ 4 - 0
src/Meshes/transformNode.ts

@@ -1168,6 +1168,10 @@ export class TransformNode extends Node {
         return this._worldMatrix;
     }
 
+    /**
+     * Resets this nodeTransform's local matrix to Matrix.Identity().
+     * @param independentOfChildren indicates if all child nodeTransform's world-space transform should be preserved.
+     */
     public resetLocalMatrix(independentOfChildren : boolean = true): void
     {
         this.computeWorldMatrix();