KHR_animation_pointer.data.d.ts 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. import { Animation } from "@babylonjs/core/Animations/animation.js";
  2. import type { ICamera, IKHRLightsPunctual_Light, IMaterial } from "../glTFLoaderInterfaces";
  3. import type { IAnimatable } from "@babylonjs/core/Animations/animatable.interface.js";
  4. import { AnimationPropertyInfo } from "../glTFLoaderAnimation";
  5. declare class CameraAnimationPropertyInfo extends AnimationPropertyInfo {
  6. /** @internal */
  7. buildAnimations(target: ICamera, name: string, fps: number, keys: any[], callback: (babylonAnimatable: IAnimatable, babylonAnimation: Animation) => void): void;
  8. }
  9. declare class MaterialAnimationPropertyInfo extends AnimationPropertyInfo {
  10. /** @internal */
  11. buildAnimations(target: IMaterial, name: string, fps: number, keys: any[], callback: (babylonAnimatable: IAnimatable, babylonAnimation: Animation) => void): void;
  12. }
  13. declare class LightAnimationPropertyInfo extends AnimationPropertyInfo {
  14. /** @internal */
  15. buildAnimations(target: IKHRLightsPunctual_Light, name: string, fps: number, keys: any[], callback: (babylonAnimatable: IAnimatable, babylonAnimation: Animation) => void): void;
  16. }
  17. /** @internal */
  18. export declare const animationPointerTree: {
  19. nodes: {
  20. __array__: {
  21. translation: import("../glTFLoaderAnimation").TransformNodeAnimationPropertyInfo[];
  22. rotation: import("../glTFLoaderAnimation").TransformNodeAnimationPropertyInfo[];
  23. scale: import("../glTFLoaderAnimation").TransformNodeAnimationPropertyInfo[];
  24. weights: import("../glTFLoaderAnimation").WeightAnimationPropertyInfo[];
  25. __target__: boolean;
  26. };
  27. };
  28. materials: {
  29. __array__: {
  30. __target__: boolean;
  31. pbrMetallicRoughness: {
  32. baseColorFactor: MaterialAnimationPropertyInfo[];
  33. metallicFactor: MaterialAnimationPropertyInfo[];
  34. roughnessFactor: MaterialAnimationPropertyInfo[];
  35. baseColorTexture: {
  36. extensions: {
  37. KHR_texture_transform: {
  38. scale: MaterialAnimationPropertyInfo[];
  39. offset: MaterialAnimationPropertyInfo[];
  40. rotation: MaterialAnimationPropertyInfo[];
  41. };
  42. };
  43. };
  44. metallicRoughnessTexture: {
  45. extensions: {
  46. KHR_texture_transform: {
  47. scale: MaterialAnimationPropertyInfo[];
  48. offset: MaterialAnimationPropertyInfo[];
  49. rotation: MaterialAnimationPropertyInfo[];
  50. };
  51. };
  52. };
  53. };
  54. emissiveFactor: MaterialAnimationPropertyInfo[];
  55. normalTexture: {
  56. scale: MaterialAnimationPropertyInfo[];
  57. extensions: {
  58. KHR_texture_transform: {
  59. scale: MaterialAnimationPropertyInfo[];
  60. offset: MaterialAnimationPropertyInfo[];
  61. rotation: MaterialAnimationPropertyInfo[];
  62. };
  63. };
  64. };
  65. occlusionTexture: {
  66. strength: MaterialAnimationPropertyInfo[];
  67. extensions: {
  68. KHR_texture_transform: {
  69. scale: MaterialAnimationPropertyInfo[];
  70. offset: MaterialAnimationPropertyInfo[];
  71. rotation: MaterialAnimationPropertyInfo[];
  72. };
  73. };
  74. };
  75. emissiveTexture: {
  76. extensions: {
  77. KHR_texture_transform: {
  78. scale: MaterialAnimationPropertyInfo[];
  79. offset: MaterialAnimationPropertyInfo[];
  80. rotation: MaterialAnimationPropertyInfo[];
  81. };
  82. };
  83. };
  84. extensions: {
  85. KHR_materials_anisotropy: {
  86. anisotropyStrength: MaterialAnimationPropertyInfo[];
  87. anisotropyRotation: MaterialAnimationPropertyInfo[];
  88. anisotropyTexture: {
  89. extensions: {
  90. KHR_texture_transform: {
  91. scale: MaterialAnimationPropertyInfo[];
  92. offset: MaterialAnimationPropertyInfo[];
  93. rotation: MaterialAnimationPropertyInfo[];
  94. };
  95. };
  96. };
  97. };
  98. KHR_materials_clearcoat: {
  99. clearcoatFactor: MaterialAnimationPropertyInfo[];
  100. clearcoatRoughnessFactor: MaterialAnimationPropertyInfo[];
  101. clearcoatTexture: {
  102. extensions: {
  103. KHR_texture_transform: {
  104. scale: MaterialAnimationPropertyInfo[];
  105. offset: MaterialAnimationPropertyInfo[];
  106. rotation: MaterialAnimationPropertyInfo[];
  107. };
  108. };
  109. };
  110. clearcoatNormalTexture: {
  111. scale: MaterialAnimationPropertyInfo[];
  112. extensions: {
  113. KHR_texture_transform: {
  114. scale: MaterialAnimationPropertyInfo[];
  115. offset: MaterialAnimationPropertyInfo[];
  116. rotation: MaterialAnimationPropertyInfo[];
  117. };
  118. };
  119. };
  120. clearcoatRoughnessTexture: {
  121. extensions: {
  122. KHR_texture_transform: {
  123. scale: MaterialAnimationPropertyInfo[];
  124. offset: MaterialAnimationPropertyInfo[];
  125. rotation: MaterialAnimationPropertyInfo[];
  126. };
  127. };
  128. };
  129. };
  130. KHR_materials_dispersion: {
  131. dispersion: MaterialAnimationPropertyInfo[];
  132. };
  133. KHR_materials_emissive_strength: {
  134. emissiveStrength: MaterialAnimationPropertyInfo[];
  135. };
  136. KHR_materials_ior: {
  137. ior: MaterialAnimationPropertyInfo[];
  138. };
  139. KHR_materials_iridescence: {
  140. iridescenceFactor: MaterialAnimationPropertyInfo[];
  141. iridescenceIor: MaterialAnimationPropertyInfo[];
  142. iridescenceThicknessMinimum: MaterialAnimationPropertyInfo[];
  143. iridescenceThicknessMaximum: MaterialAnimationPropertyInfo[];
  144. iridescenceTexture: {
  145. extensions: {
  146. KHR_texture_transform: {
  147. scale: MaterialAnimationPropertyInfo[];
  148. offset: MaterialAnimationPropertyInfo[];
  149. rotation: MaterialAnimationPropertyInfo[];
  150. };
  151. };
  152. };
  153. iridescenceThicknessTexture: {
  154. extensions: {
  155. KHR_texture_transform: {
  156. scale: MaterialAnimationPropertyInfo[];
  157. offset: MaterialAnimationPropertyInfo[];
  158. rotation: MaterialAnimationPropertyInfo[];
  159. };
  160. };
  161. };
  162. };
  163. KHR_materials_sheen: {
  164. sheenColorFactor: MaterialAnimationPropertyInfo[];
  165. sheenRoughnessFactor: MaterialAnimationPropertyInfo[];
  166. sheenColorTexture: {
  167. extensions: {
  168. KHR_texture_transform: {
  169. scale: MaterialAnimationPropertyInfo[];
  170. offset: MaterialAnimationPropertyInfo[];
  171. rotation: MaterialAnimationPropertyInfo[];
  172. };
  173. };
  174. };
  175. sheenRoughnessTexture: {
  176. extensions: {
  177. KHR_texture_transform: {
  178. scale: MaterialAnimationPropertyInfo[];
  179. offset: MaterialAnimationPropertyInfo[];
  180. rotation: MaterialAnimationPropertyInfo[];
  181. };
  182. };
  183. };
  184. };
  185. KHR_materials_specular: {
  186. specularFactor: MaterialAnimationPropertyInfo[];
  187. specularColorFactor: MaterialAnimationPropertyInfo[];
  188. specularTexture: {
  189. extensions: {
  190. KHR_texture_transform: {
  191. scale: MaterialAnimationPropertyInfo[];
  192. offset: MaterialAnimationPropertyInfo[];
  193. rotation: MaterialAnimationPropertyInfo[];
  194. };
  195. };
  196. };
  197. specularColorTexture: {
  198. extensions: {
  199. KHR_texture_transform: {
  200. scale: MaterialAnimationPropertyInfo[];
  201. offset: MaterialAnimationPropertyInfo[];
  202. rotation: MaterialAnimationPropertyInfo[];
  203. };
  204. };
  205. };
  206. };
  207. KHR_materials_transmission: {
  208. transmissionFactor: MaterialAnimationPropertyInfo[];
  209. transmissionTexture: {
  210. extensions: {
  211. KHR_texture_transform: {
  212. scale: MaterialAnimationPropertyInfo[];
  213. offset: MaterialAnimationPropertyInfo[];
  214. rotation: MaterialAnimationPropertyInfo[];
  215. };
  216. };
  217. };
  218. };
  219. KHR_materials_volume: {
  220. attenuationColor: MaterialAnimationPropertyInfo[];
  221. attenuationDistance: MaterialAnimationPropertyInfo[];
  222. thicknessFactor: MaterialAnimationPropertyInfo[];
  223. thicknessTexture: {
  224. extensions: {
  225. KHR_texture_transform: {
  226. scale: MaterialAnimationPropertyInfo[];
  227. offset: MaterialAnimationPropertyInfo[];
  228. rotation: MaterialAnimationPropertyInfo[];
  229. };
  230. };
  231. };
  232. };
  233. };
  234. };
  235. };
  236. cameras: {
  237. __array__: {
  238. __target__: boolean;
  239. orthographic: {
  240. xmag: CameraAnimationPropertyInfo[];
  241. ymag: CameraAnimationPropertyInfo[];
  242. zfar: CameraAnimationPropertyInfo[];
  243. znear: CameraAnimationPropertyInfo[];
  244. };
  245. perspective: {
  246. yfov: CameraAnimationPropertyInfo[];
  247. zfar: CameraAnimationPropertyInfo[];
  248. znear: CameraAnimationPropertyInfo[];
  249. };
  250. };
  251. };
  252. extensions: {
  253. KHR_lights_punctual: {
  254. lights: {
  255. __array__: {
  256. __target__: boolean;
  257. color: LightAnimationPropertyInfo[];
  258. intensity: LightAnimationPropertyInfo[];
  259. range: LightAnimationPropertyInfo[];
  260. spot: {
  261. innerConeAngle: LightAnimationPropertyInfo[];
  262. outerConeAngle: LightAnimationPropertyInfo[];
  263. };
  264. };
  265. };
  266. };
  267. };
  268. };
  269. export {};