babylonjs-gltf2interface 5.17.1 → 5.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -73,7 +73,9 @@ declare module BABYLON.GLTF2 {
73
73
  }
74
74
 
75
75
  /**
76
- * The name of the node's TRS property to modify, or the weights of the Morph Targets it instantiates
76
+ * The name of the node's TRS property to modify,
77
+ * or the weights of the Morph Targets it instantiates,
78
+ * or pointer is use of KHR_animation_pointer extension
77
79
  */
78
80
  const enum AnimationChannelTargetPath {
79
81
  /**
@@ -92,6 +94,10 @@ declare module BABYLON.GLTF2 {
92
94
  * Weights
93
95
  */
94
96
  WEIGHTS = "weights",
97
+ /**
98
+ * Pointer
99
+ */
100
+ POINTER = "pointer",
95
101
  }
96
102
 
97
103
  /**
@@ -393,7 +399,7 @@ declare module BABYLON.GLTF2 {
393
399
  /**
394
400
  * The index of the node to target
395
401
  */
396
- node: number;
402
+ node?: number;
397
403
  /**
398
404
  * The name of the node's TRS property to modify, or the weights of the Morph Targets it instantiates
399
405
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "babylonjs-gltf2interface",
3
3
  "description": "A typescript declaration of babylon's gltf2 interface.",
4
- "version": "5.17.1",
4
+ "version": "5.20.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/BabylonJS/Babylon.js.git"