2
0

AnimationTreePlayer.xml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="AnimationTreePlayer" inherits="Node" version="3.3">
  3. <brief_description>
  4. [i]Deprecated.[/i] Animation player that uses a node graph for blending animations. Superseded by [AnimationTree].
  5. </brief_description>
  6. <description>
  7. [i]Deprecated.[/i] A node graph tool for blending multiple animations bound to an [AnimationPlayer]. Especially useful for animating characters or other skeleton-based rigs. It can combine several animations to form a desired pose.
  8. It takes [Animation]s from an [AnimationPlayer] node and mixes them depending on the graph.
  9. See [AnimationTree] for a more full-featured replacement of this node.
  10. </description>
  11. <tutorials>
  12. <link>https://docs.godotengine.org/en/3.3/tutorials/animation/animation_tree.html</link>
  13. </tutorials>
  14. <methods>
  15. <method name="add_node">
  16. <return type="void">
  17. </return>
  18. <argument index="0" name="type" type="int" enum="AnimationTreePlayer.NodeType">
  19. </argument>
  20. <argument index="1" name="id" type="String">
  21. </argument>
  22. <description>
  23. Adds a [code]type[/code] node to the graph with name [code]id[/code].
  24. </description>
  25. </method>
  26. <method name="advance">
  27. <return type="void">
  28. </return>
  29. <argument index="0" name="delta" type="float">
  30. </argument>
  31. <description>
  32. Shifts position in the animation timeline. [code]delta[/code] is the time in seconds to shift. Events between the current frame and [code]delta[/code] are handled.
  33. </description>
  34. </method>
  35. <method name="animation_node_get_animation" qualifiers="const">
  36. <return type="Animation">
  37. </return>
  38. <argument index="0" name="id" type="String">
  39. </argument>
  40. <description>
  41. Returns the [AnimationPlayer]'s [Animation] bound to the [AnimationTreePlayer]'s animation node with name [code]id[/code].
  42. </description>
  43. </method>
  44. <method name="animation_node_get_master_animation" qualifiers="const">
  45. <return type="String">
  46. </return>
  47. <argument index="0" name="id" type="String">
  48. </argument>
  49. <description>
  50. Returns the name of the [member master_player]'s [Animation] bound to this animation node.
  51. </description>
  52. </method>
  53. <method name="animation_node_get_position" qualifiers="const">
  54. <return type="float">
  55. </return>
  56. <argument index="0" name="id" type="String">
  57. </argument>
  58. <description>
  59. Returns the absolute playback timestamp of the animation node with name [code]id[/code].
  60. </description>
  61. </method>
  62. <method name="animation_node_set_animation">
  63. <return type="void">
  64. </return>
  65. <argument index="0" name="id" type="String">
  66. </argument>
  67. <argument index="1" name="animation" type="Animation">
  68. </argument>
  69. <description>
  70. Binds a new [Animation] from the [member master_player] to the [AnimationTreePlayer]'s animation node with name [code]id[/code].
  71. </description>
  72. </method>
  73. <method name="animation_node_set_filter_path">
  74. <return type="void">
  75. </return>
  76. <argument index="0" name="id" type="String">
  77. </argument>
  78. <argument index="1" name="path" type="NodePath">
  79. </argument>
  80. <argument index="2" name="enable" type="bool">
  81. </argument>
  82. <description>
  83. If [code]enable[/code] is [code]true[/code], the animation node with ID [code]id[/code] turns off the track modifying the property at [code]path[/code]. The modified node's children continue to animate.
  84. </description>
  85. </method>
  86. <method name="animation_node_set_master_animation">
  87. <return type="void">
  88. </return>
  89. <argument index="0" name="id" type="String">
  90. </argument>
  91. <argument index="1" name="source" type="String">
  92. </argument>
  93. <description>
  94. Binds the [Animation] named [code]source[/code] from [member master_player] to the animation node [code]id[/code]. Recalculates caches.
  95. </description>
  96. </method>
  97. <method name="are_nodes_connected" qualifiers="const">
  98. <return type="bool">
  99. </return>
  100. <argument index="0" name="id" type="String">
  101. </argument>
  102. <argument index="1" name="dst_id" type="String">
  103. </argument>
  104. <argument index="2" name="dst_input_idx" type="int">
  105. </argument>
  106. <description>
  107. Returns whether node [code]id[/code] and [code]dst_id[/code] are connected at the specified slot.
  108. </description>
  109. </method>
  110. <method name="blend2_node_get_amount" qualifiers="const">
  111. <return type="float">
  112. </return>
  113. <argument index="0" name="id" type="String">
  114. </argument>
  115. <description>
  116. Returns the blend amount of a Blend2 node given its name.
  117. </description>
  118. </method>
  119. <method name="blend2_node_set_amount">
  120. <return type="void">
  121. </return>
  122. <argument index="0" name="id" type="String">
  123. </argument>
  124. <argument index="1" name="blend" type="float">
  125. </argument>
  126. <description>
  127. Sets the blend amount of a Blend2 node given its name and value.
  128. A Blend2 node blends two animations (A and B) with the amount between 0 and 1.
  129. At 0, output is input A. Towards 1, the influence of A gets lessened, the influence of B gets raised. At 1, output is input B.
  130. </description>
  131. </method>
  132. <method name="blend2_node_set_filter_path">
  133. <return type="void">
  134. </return>
  135. <argument index="0" name="id" type="String">
  136. </argument>
  137. <argument index="1" name="path" type="NodePath">
  138. </argument>
  139. <argument index="2" name="enable" type="bool">
  140. </argument>
  141. <description>
  142. If [code]enable[/code] is [code]true[/code], the Blend2 node with name [code]id[/code] turns off the track modifying the property at [code]path[/code]. The modified node's children continue to animate.
  143. </description>
  144. </method>
  145. <method name="blend3_node_get_amount" qualifiers="const">
  146. <return type="float">
  147. </return>
  148. <argument index="0" name="id" type="String">
  149. </argument>
  150. <description>
  151. Returns the blend amount of a Blend3 node given its name.
  152. </description>
  153. </method>
  154. <method name="blend3_node_set_amount">
  155. <return type="void">
  156. </return>
  157. <argument index="0" name="id" type="String">
  158. </argument>
  159. <argument index="1" name="blend" type="float">
  160. </argument>
  161. <description>
  162. Sets the blend amount of a Blend3 node given its name and value.
  163. A Blend3 Node blends three animations (A, B-, B+) with the amount between -1 and 1.
  164. At -1, output is input B-. From -1 to 0, the influence of B- gets lessened, the influence of A gets raised and the influence of B+ is 0. At 0, output is input A. From 0 to 1, the influence of A gets lessened, the influence of B+ gets raised and the influence of B+ is 0. At 1, output is input B+.
  165. </description>
  166. </method>
  167. <method name="blend4_node_get_amount" qualifiers="const">
  168. <return type="Vector2">
  169. </return>
  170. <argument index="0" name="id" type="String">
  171. </argument>
  172. <description>
  173. Returns the blend amount of a Blend4 node given its name.
  174. </description>
  175. </method>
  176. <method name="blend4_node_set_amount">
  177. <return type="void">
  178. </return>
  179. <argument index="0" name="id" type="String">
  180. </argument>
  181. <argument index="1" name="blend" type="Vector2">
  182. </argument>
  183. <description>
  184. Sets the blend amount of a Blend4 node given its name and value.
  185. A Blend4 Node blends two pairs of animations.
  186. The two pairs are blended like Blend2 and then added together.
  187. </description>
  188. </method>
  189. <method name="connect_nodes">
  190. <return type="int" enum="Error">
  191. </return>
  192. <argument index="0" name="id" type="String">
  193. </argument>
  194. <argument index="1" name="dst_id" type="String">
  195. </argument>
  196. <argument index="2" name="dst_input_idx" type="int">
  197. </argument>
  198. <description>
  199. Connects node [code]id[/code] to [code]dst_id[/code] at the specified input slot.
  200. </description>
  201. </method>
  202. <method name="disconnect_nodes">
  203. <return type="void">
  204. </return>
  205. <argument index="0" name="id" type="String">
  206. </argument>
  207. <argument index="1" name="dst_input_idx" type="int">
  208. </argument>
  209. <description>
  210. Disconnects nodes connected to [code]id[/code] at the specified input slot.
  211. </description>
  212. </method>
  213. <method name="get_node_list">
  214. <return type="PoolStringArray">
  215. </return>
  216. <description>
  217. Returns a [PoolStringArray] containing the name of all nodes.
  218. </description>
  219. </method>
  220. <method name="mix_node_get_amount" qualifiers="const">
  221. <return type="float">
  222. </return>
  223. <argument index="0" name="id" type="String">
  224. </argument>
  225. <description>
  226. Returns the mix amount of a Mix node given its name.
  227. </description>
  228. </method>
  229. <method name="mix_node_set_amount">
  230. <return type="void">
  231. </return>
  232. <argument index="0" name="id" type="String">
  233. </argument>
  234. <argument index="1" name="ratio" type="float">
  235. </argument>
  236. <description>
  237. Sets the mix amount of a Mix node given its name and value.
  238. A Mix node adds input b to input a by the amount given by ratio.
  239. </description>
  240. </method>
  241. <method name="node_exists" qualifiers="const">
  242. <return type="bool">
  243. </return>
  244. <argument index="0" name="node" type="String">
  245. </argument>
  246. <description>
  247. Check if a node exists (by name).
  248. </description>
  249. </method>
  250. <method name="node_get_input_count" qualifiers="const">
  251. <return type="int">
  252. </return>
  253. <argument index="0" name="id" type="String">
  254. </argument>
  255. <description>
  256. Returns the input count for a given node. Different types of nodes have different amount of inputs.
  257. </description>
  258. </method>
  259. <method name="node_get_input_source" qualifiers="const">
  260. <return type="String">
  261. </return>
  262. <argument index="0" name="id" type="String">
  263. </argument>
  264. <argument index="1" name="idx" type="int">
  265. </argument>
  266. <description>
  267. Returns the input source for a given node input.
  268. </description>
  269. </method>
  270. <method name="node_get_position" qualifiers="const">
  271. <return type="Vector2">
  272. </return>
  273. <argument index="0" name="id" type="String">
  274. </argument>
  275. <description>
  276. Returns position of a node in the graph given its name.
  277. </description>
  278. </method>
  279. <method name="node_get_type" qualifiers="const">
  280. <return type="int" enum="AnimationTreePlayer.NodeType">
  281. </return>
  282. <argument index="0" name="id" type="String">
  283. </argument>
  284. <description>
  285. Gets the node type, will return from [enum NodeType] enum.
  286. </description>
  287. </method>
  288. <method name="node_rename">
  289. <return type="int" enum="Error">
  290. </return>
  291. <argument index="0" name="node" type="String">
  292. </argument>
  293. <argument index="1" name="new_name" type="String">
  294. </argument>
  295. <description>
  296. Renames a node in the graph.
  297. </description>
  298. </method>
  299. <method name="node_set_position">
  300. <return type="void">
  301. </return>
  302. <argument index="0" name="id" type="String">
  303. </argument>
  304. <argument index="1" name="screen_position" type="Vector2">
  305. </argument>
  306. <description>
  307. Sets the position of a node in the graph given its name and position.
  308. </description>
  309. </method>
  310. <method name="oneshot_node_get_autorestart_delay" qualifiers="const">
  311. <return type="float">
  312. </return>
  313. <argument index="0" name="id" type="String">
  314. </argument>
  315. <description>
  316. Returns the autostart delay of a OneShot node given its name.
  317. </description>
  318. </method>
  319. <method name="oneshot_node_get_autorestart_random_delay" qualifiers="const">
  320. <return type="float">
  321. </return>
  322. <argument index="0" name="id" type="String">
  323. </argument>
  324. <description>
  325. Returns the autostart random delay of a OneShot node given its name.
  326. </description>
  327. </method>
  328. <method name="oneshot_node_get_fadein_time" qualifiers="const">
  329. <return type="float">
  330. </return>
  331. <argument index="0" name="id" type="String">
  332. </argument>
  333. <description>
  334. Returns the fade in time of a OneShot node given its name.
  335. </description>
  336. </method>
  337. <method name="oneshot_node_get_fadeout_time" qualifiers="const">
  338. <return type="float">
  339. </return>
  340. <argument index="0" name="id" type="String">
  341. </argument>
  342. <description>
  343. Returns the fade out time of a OneShot node given its name.
  344. </description>
  345. </method>
  346. <method name="oneshot_node_has_autorestart" qualifiers="const">
  347. <return type="bool">
  348. </return>
  349. <argument index="0" name="id" type="String">
  350. </argument>
  351. <description>
  352. Returns whether a OneShot node will auto restart given its name.
  353. </description>
  354. </method>
  355. <method name="oneshot_node_is_active" qualifiers="const">
  356. <return type="bool">
  357. </return>
  358. <argument index="0" name="id" type="String">
  359. </argument>
  360. <description>
  361. Returns whether a OneShot node is active given its name.
  362. </description>
  363. </method>
  364. <method name="oneshot_node_set_autorestart">
  365. <return type="void">
  366. </return>
  367. <argument index="0" name="id" type="String">
  368. </argument>
  369. <argument index="1" name="enable" type="bool">
  370. </argument>
  371. <description>
  372. Sets the autorestart property of a OneShot node given its name and value.
  373. </description>
  374. </method>
  375. <method name="oneshot_node_set_autorestart_delay">
  376. <return type="void">
  377. </return>
  378. <argument index="0" name="id" type="String">
  379. </argument>
  380. <argument index="1" name="delay_sec" type="float">
  381. </argument>
  382. <description>
  383. Sets the autorestart delay of a OneShot node given its name and value in seconds.
  384. </description>
  385. </method>
  386. <method name="oneshot_node_set_autorestart_random_delay">
  387. <return type="void">
  388. </return>
  389. <argument index="0" name="id" type="String">
  390. </argument>
  391. <argument index="1" name="rand_sec" type="float">
  392. </argument>
  393. <description>
  394. Sets the autorestart random delay of a OneShot node given its name and value in seconds.
  395. </description>
  396. </method>
  397. <method name="oneshot_node_set_fadein_time">
  398. <return type="void">
  399. </return>
  400. <argument index="0" name="id" type="String">
  401. </argument>
  402. <argument index="1" name="time_sec" type="float">
  403. </argument>
  404. <description>
  405. Sets the fade in time of a OneShot node given its name and value in seconds.
  406. </description>
  407. </method>
  408. <method name="oneshot_node_set_fadeout_time">
  409. <return type="void">
  410. </return>
  411. <argument index="0" name="id" type="String">
  412. </argument>
  413. <argument index="1" name="time_sec" type="float">
  414. </argument>
  415. <description>
  416. Sets the fade out time of a OneShot node given its name and value in seconds.
  417. </description>
  418. </method>
  419. <method name="oneshot_node_set_filter_path">
  420. <return type="void">
  421. </return>
  422. <argument index="0" name="id" type="String">
  423. </argument>
  424. <argument index="1" name="path" type="NodePath">
  425. </argument>
  426. <argument index="2" name="enable" type="bool">
  427. </argument>
  428. <description>
  429. If [code]enable[/code] is [code]true[/code], the OneShot node with ID [code]id[/code] turns off the track modifying the property at [code]path[/code]. The modified node's children continue to animate.
  430. </description>
  431. </method>
  432. <method name="oneshot_node_start">
  433. <return type="void">
  434. </return>
  435. <argument index="0" name="id" type="String">
  436. </argument>
  437. <description>
  438. Starts a OneShot node given its name.
  439. </description>
  440. </method>
  441. <method name="oneshot_node_stop">
  442. <return type="void">
  443. </return>
  444. <argument index="0" name="id" type="String">
  445. </argument>
  446. <description>
  447. Stops the OneShot node with name [code]id[/code].
  448. </description>
  449. </method>
  450. <method name="recompute_caches">
  451. <return type="void">
  452. </return>
  453. <description>
  454. Manually recalculates the cache of track information generated from animation nodes. Needed when external sources modify the animation nodes' state.
  455. </description>
  456. </method>
  457. <method name="remove_node">
  458. <return type="void">
  459. </return>
  460. <argument index="0" name="id" type="String">
  461. </argument>
  462. <description>
  463. Removes the animation node with name [code]id[/code].
  464. </description>
  465. </method>
  466. <method name="reset">
  467. <return type="void">
  468. </return>
  469. <description>
  470. Resets this [AnimationTreePlayer].
  471. </description>
  472. </method>
  473. <method name="timescale_node_get_scale" qualifiers="const">
  474. <return type="float">
  475. </return>
  476. <argument index="0" name="id" type="String">
  477. </argument>
  478. <description>
  479. Returns the time scale value of the TimeScale node with name [code]id[/code].
  480. </description>
  481. </method>
  482. <method name="timescale_node_set_scale">
  483. <return type="void">
  484. </return>
  485. <argument index="0" name="id" type="String">
  486. </argument>
  487. <argument index="1" name="scale" type="float">
  488. </argument>
  489. <description>
  490. Sets the time scale of the TimeScale node with name [code]id[/code] to [code]scale[/code].
  491. The TimeScale node is used to speed [Animation]s up if the scale is above 1 or slow them down if it is below 1.
  492. If applied after a blend or mix, affects all input animations to that blend or mix.
  493. </description>
  494. </method>
  495. <method name="timeseek_node_seek">
  496. <return type="void">
  497. </return>
  498. <argument index="0" name="id" type="String">
  499. </argument>
  500. <argument index="1" name="seconds" type="float">
  501. </argument>
  502. <description>
  503. Sets the time seek value of the TimeSeek node with name [code]id[/code] to [code]seconds[/code].
  504. This functions as a seek in the [Animation] or the blend or mix of [Animation]s input in it.
  505. </description>
  506. </method>
  507. <method name="transition_node_delete_input">
  508. <return type="void">
  509. </return>
  510. <argument index="0" name="id" type="String">
  511. </argument>
  512. <argument index="1" name="input_idx" type="int">
  513. </argument>
  514. <description>
  515. Deletes the input at [code]input_idx[/code] for the transition node with name [code]id[/code].
  516. </description>
  517. </method>
  518. <method name="transition_node_get_current" qualifiers="const">
  519. <return type="int">
  520. </return>
  521. <argument index="0" name="id" type="String">
  522. </argument>
  523. <description>
  524. Returns the index of the currently evaluated input for the transition node with name [code]id[/code].
  525. </description>
  526. </method>
  527. <method name="transition_node_get_input_count" qualifiers="const">
  528. <return type="int">
  529. </return>
  530. <argument index="0" name="id" type="String">
  531. </argument>
  532. <description>
  533. Returns the number of inputs for the transition node with name [code]id[/code]. You can add inputs by right-clicking on the transition node.
  534. </description>
  535. </method>
  536. <method name="transition_node_get_xfade_time" qualifiers="const">
  537. <return type="float">
  538. </return>
  539. <argument index="0" name="id" type="String">
  540. </argument>
  541. <description>
  542. Returns the cross fade time for the transition node with name [code]id[/code].
  543. </description>
  544. </method>
  545. <method name="transition_node_has_input_auto_advance" qualifiers="const">
  546. <return type="bool">
  547. </return>
  548. <argument index="0" name="id" type="String">
  549. </argument>
  550. <argument index="1" name="input_idx" type="int">
  551. </argument>
  552. <description>
  553. Returns [code]true[/code] if the input at [code]input_idx[/code] on the transition node with name [code]id[/code] is set to automatically advance to the next input upon completion.
  554. </description>
  555. </method>
  556. <method name="transition_node_set_current">
  557. <return type="void">
  558. </return>
  559. <argument index="0" name="id" type="String">
  560. </argument>
  561. <argument index="1" name="input_idx" type="int">
  562. </argument>
  563. <description>
  564. The transition node with name [code]id[/code] sets its current input at [code]input_idx[/code].
  565. </description>
  566. </method>
  567. <method name="transition_node_set_input_auto_advance">
  568. <return type="void">
  569. </return>
  570. <argument index="0" name="id" type="String">
  571. </argument>
  572. <argument index="1" name="input_idx" type="int">
  573. </argument>
  574. <argument index="2" name="enable" type="bool">
  575. </argument>
  576. <description>
  577. The transition node with name [code]id[/code] advances to its next input automatically when the input at [code]input_idx[/code] completes.
  578. </description>
  579. </method>
  580. <method name="transition_node_set_input_count">
  581. <return type="void">
  582. </return>
  583. <argument index="0" name="id" type="String">
  584. </argument>
  585. <argument index="1" name="count" type="int">
  586. </argument>
  587. <description>
  588. Resizes the number of inputs available for the transition node with name [code]id[/code].
  589. </description>
  590. </method>
  591. <method name="transition_node_set_xfade_time">
  592. <return type="void">
  593. </return>
  594. <argument index="0" name="id" type="String">
  595. </argument>
  596. <argument index="1" name="time_sec" type="float">
  597. </argument>
  598. <description>
  599. The transition node with name [code]id[/code] sets its cross fade time to [code]time_sec[/code].
  600. </description>
  601. </method>
  602. </methods>
  603. <members>
  604. <member name="active" type="bool" setter="set_active" getter="is_active" default="false">
  605. If [code]true[/code], the [AnimationTreePlayer] is able to play animations.
  606. </member>
  607. <member name="base_path" type="NodePath" setter="set_base_path" getter="get_base_path" default="NodePath(&quot;..&quot;)">
  608. The node from which to relatively access other nodes.
  609. It accesses the bones, so it should point to the same node the [AnimationPlayer] would point its Root Node at.
  610. </member>
  611. <member name="master_player" type="NodePath" setter="set_master_player" getter="get_master_player" default="NodePath(&quot;&quot;)">
  612. The path to the [AnimationPlayer] from which this [AnimationTreePlayer] binds animations to animation nodes.
  613. Once set, [Animation] nodes can be added to the [AnimationTreePlayer].
  614. </member>
  615. <member name="playback_process_mode" type="int" setter="set_animation_process_mode" getter="get_animation_process_mode" enum="AnimationTreePlayer.AnimationProcessMode" default="1">
  616. The thread in which to update animations.
  617. </member>
  618. </members>
  619. <constants>
  620. <constant name="NODE_OUTPUT" value="0" enum="NodeType">
  621. Output node.
  622. </constant>
  623. <constant name="NODE_ANIMATION" value="1" enum="NodeType">
  624. Animation node.
  625. </constant>
  626. <constant name="NODE_ONESHOT" value="2" enum="NodeType">
  627. OneShot node.
  628. </constant>
  629. <constant name="NODE_MIX" value="3" enum="NodeType">
  630. Mix node.
  631. </constant>
  632. <constant name="NODE_BLEND2" value="4" enum="NodeType">
  633. Blend2 node.
  634. </constant>
  635. <constant name="NODE_BLEND3" value="5" enum="NodeType">
  636. Blend3 node.
  637. </constant>
  638. <constant name="NODE_BLEND4" value="6" enum="NodeType">
  639. Blend4 node.
  640. </constant>
  641. <constant name="NODE_TIMESCALE" value="7" enum="NodeType">
  642. TimeScale node.
  643. </constant>
  644. <constant name="NODE_TIMESEEK" value="8" enum="NodeType">
  645. TimeSeek node.
  646. </constant>
  647. <constant name="NODE_TRANSITION" value="9" enum="NodeType">
  648. Transition node.
  649. </constant>
  650. <constant name="ANIMATION_PROCESS_PHYSICS" value="0" enum="AnimationProcessMode">
  651. Process animation during the physics process. This is especially useful when animating physics bodies.
  652. </constant>
  653. <constant name="ANIMATION_PROCESS_IDLE" value="1" enum="AnimationProcessMode">
  654. Process animation during the idle process.
  655. </constant>
  656. </constants>
  657. </class>