SpatialMaterial.xml 34 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="SpatialMaterial" inherits="Material" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. </brief_description>
  5. <description>
  6. </description>
  7. <tutorials>
  8. </tutorials>
  9. <demos>
  10. </demos>
  11. <methods>
  12. <method name="get_albedo" qualifiers="const">
  13. <return type="Color">
  14. </return>
  15. <description>
  16. </description>
  17. </method>
  18. <method name="get_alpha_scissor_threshold" qualifiers="const">
  19. <return type="float">
  20. </return>
  21. <description>
  22. </description>
  23. </method>
  24. <method name="get_anisotropy" qualifiers="const">
  25. <return type="float">
  26. </return>
  27. <description>
  28. </description>
  29. </method>
  30. <method name="get_ao_light_affect" qualifiers="const">
  31. <return type="float">
  32. </return>
  33. <description>
  34. </description>
  35. </method>
  36. <method name="get_ao_texture_channel" qualifiers="const">
  37. <return type="int" enum="SpatialMaterial.TextureChannel">
  38. </return>
  39. <description>
  40. </description>
  41. </method>
  42. <method name="get_billboard_mode" qualifiers="const">
  43. <return type="int" enum="SpatialMaterial.BillboardMode">
  44. </return>
  45. <description>
  46. </description>
  47. </method>
  48. <method name="get_blend_mode" qualifiers="const">
  49. <return type="int" enum="SpatialMaterial.BlendMode">
  50. </return>
  51. <description>
  52. </description>
  53. </method>
  54. <method name="get_clearcoat" qualifiers="const">
  55. <return type="float">
  56. </return>
  57. <description>
  58. </description>
  59. </method>
  60. <method name="get_clearcoat_gloss" qualifiers="const">
  61. <return type="float">
  62. </return>
  63. <description>
  64. </description>
  65. </method>
  66. <method name="get_cull_mode" qualifiers="const">
  67. <return type="int" enum="SpatialMaterial.CullMode">
  68. </return>
  69. <description>
  70. </description>
  71. </method>
  72. <method name="get_depth_deep_parallax_max_layers" qualifiers="const">
  73. <return type="int">
  74. </return>
  75. <description>
  76. </description>
  77. </method>
  78. <method name="get_depth_deep_parallax_min_layers" qualifiers="const">
  79. <return type="int">
  80. </return>
  81. <description>
  82. </description>
  83. </method>
  84. <method name="get_depth_draw_mode" qualifiers="const">
  85. <return type="int" enum="SpatialMaterial.DepthDrawMode">
  86. </return>
  87. <description>
  88. </description>
  89. </method>
  90. <method name="get_depth_scale" qualifiers="const">
  91. <return type="float">
  92. </return>
  93. <description>
  94. </description>
  95. </method>
  96. <method name="get_detail_blend_mode" qualifiers="const">
  97. <return type="int" enum="SpatialMaterial.BlendMode">
  98. </return>
  99. <description>
  100. </description>
  101. </method>
  102. <method name="get_detail_uv" qualifiers="const">
  103. <return type="int" enum="SpatialMaterial.DetailUV">
  104. </return>
  105. <description>
  106. </description>
  107. </method>
  108. <method name="get_diffuse_mode" qualifiers="const">
  109. <return type="int" enum="SpatialMaterial.DiffuseMode">
  110. </return>
  111. <description>
  112. </description>
  113. </method>
  114. <method name="get_distance_fade_max_distance" qualifiers="const">
  115. <return type="float">
  116. </return>
  117. <description>
  118. </description>
  119. </method>
  120. <method name="get_distance_fade_min_distance" qualifiers="const">
  121. <return type="float">
  122. </return>
  123. <description>
  124. </description>
  125. </method>
  126. <method name="get_emission" qualifiers="const">
  127. <return type="Color">
  128. </return>
  129. <description>
  130. </description>
  131. </method>
  132. <method name="get_emission_energy" qualifiers="const">
  133. <return type="float">
  134. </return>
  135. <description>
  136. </description>
  137. </method>
  138. <method name="get_feature" qualifiers="const">
  139. <return type="bool">
  140. </return>
  141. <argument index="0" name="feature" type="int" enum="SpatialMaterial.Feature">
  142. </argument>
  143. <description>
  144. </description>
  145. </method>
  146. <method name="get_flag" qualifiers="const">
  147. <return type="bool">
  148. </return>
  149. <argument index="0" name="flag" type="int" enum="SpatialMaterial.Flags">
  150. </argument>
  151. <description>
  152. </description>
  153. </method>
  154. <method name="get_grow" qualifiers="const">
  155. <return type="float">
  156. </return>
  157. <description>
  158. </description>
  159. </method>
  160. <method name="get_line_width" qualifiers="const">
  161. <return type="float">
  162. </return>
  163. <description>
  164. </description>
  165. </method>
  166. <method name="get_metallic" qualifiers="const">
  167. <return type="float">
  168. </return>
  169. <description>
  170. </description>
  171. </method>
  172. <method name="get_metallic_texture_channel" qualifiers="const">
  173. <return type="int" enum="SpatialMaterial.TextureChannel">
  174. </return>
  175. <description>
  176. </description>
  177. </method>
  178. <method name="get_normal_scale" qualifiers="const">
  179. <return type="float">
  180. </return>
  181. <description>
  182. </description>
  183. </method>
  184. <method name="get_particles_anim_h_frames" qualifiers="const">
  185. <return type="int">
  186. </return>
  187. <description>
  188. </description>
  189. </method>
  190. <method name="get_particles_anim_loop" qualifiers="const">
  191. <return type="int">
  192. </return>
  193. <description>
  194. </description>
  195. </method>
  196. <method name="get_particles_anim_v_frames" qualifiers="const">
  197. <return type="int">
  198. </return>
  199. <description>
  200. </description>
  201. </method>
  202. <method name="get_point_size" qualifiers="const">
  203. <return type="float">
  204. </return>
  205. <description>
  206. </description>
  207. </method>
  208. <method name="get_proximity_fade_distance" qualifiers="const">
  209. <return type="float">
  210. </return>
  211. <description>
  212. </description>
  213. </method>
  214. <method name="get_refraction" qualifiers="const">
  215. <return type="float">
  216. </return>
  217. <description>
  218. </description>
  219. </method>
  220. <method name="get_refraction_texture_channel" qualifiers="const">
  221. <return type="int" enum="SpatialMaterial.TextureChannel">
  222. </return>
  223. <description>
  224. </description>
  225. </method>
  226. <method name="get_rim" qualifiers="const">
  227. <return type="float">
  228. </return>
  229. <description>
  230. </description>
  231. </method>
  232. <method name="get_rim_tint" qualifiers="const">
  233. <return type="float">
  234. </return>
  235. <description>
  236. </description>
  237. </method>
  238. <method name="get_roughness" qualifiers="const">
  239. <return type="float">
  240. </return>
  241. <description>
  242. </description>
  243. </method>
  244. <method name="get_roughness_texture_channel" qualifiers="const">
  245. <return type="int" enum="SpatialMaterial.TextureChannel">
  246. </return>
  247. <description>
  248. </description>
  249. </method>
  250. <method name="get_specular" qualifiers="const">
  251. <return type="float">
  252. </return>
  253. <description>
  254. </description>
  255. </method>
  256. <method name="get_specular_mode" qualifiers="const">
  257. <return type="int" enum="SpatialMaterial.SpecularMode">
  258. </return>
  259. <description>
  260. </description>
  261. </method>
  262. <method name="get_subsurface_scattering_strength" qualifiers="const">
  263. <return type="float">
  264. </return>
  265. <description>
  266. </description>
  267. </method>
  268. <method name="get_texture" qualifiers="const">
  269. <return type="Texture">
  270. </return>
  271. <argument index="0" name="param" type="int" enum="SpatialMaterial.TextureParam">
  272. </argument>
  273. <description>
  274. </description>
  275. </method>
  276. <method name="get_transmission" qualifiers="const">
  277. <return type="Color">
  278. </return>
  279. <description>
  280. </description>
  281. </method>
  282. <method name="get_uv1_offset" qualifiers="const">
  283. <return type="Vector3">
  284. </return>
  285. <description>
  286. </description>
  287. </method>
  288. <method name="get_uv1_scale" qualifiers="const">
  289. <return type="Vector3">
  290. </return>
  291. <description>
  292. </description>
  293. </method>
  294. <method name="get_uv1_triplanar_blend_sharpness" qualifiers="const">
  295. <return type="float">
  296. </return>
  297. <description>
  298. </description>
  299. </method>
  300. <method name="get_uv2_offset" qualifiers="const">
  301. <return type="Vector3">
  302. </return>
  303. <description>
  304. </description>
  305. </method>
  306. <method name="get_uv2_scale" qualifiers="const">
  307. <return type="Vector3">
  308. </return>
  309. <description>
  310. </description>
  311. </method>
  312. <method name="get_uv2_triplanar_blend_sharpness" qualifiers="const">
  313. <return type="float">
  314. </return>
  315. <description>
  316. </description>
  317. </method>
  318. <method name="is_depth_deep_parallax_enabled" qualifiers="const">
  319. <return type="bool">
  320. </return>
  321. <description>
  322. </description>
  323. </method>
  324. <method name="is_distance_fade_enabled" qualifiers="const">
  325. <return type="bool">
  326. </return>
  327. <description>
  328. </description>
  329. </method>
  330. <method name="is_grow_enabled" qualifiers="const">
  331. <return type="bool">
  332. </return>
  333. <description>
  334. </description>
  335. </method>
  336. <method name="is_proximity_fade_enabled" qualifiers="const">
  337. <return type="bool">
  338. </return>
  339. <description>
  340. </description>
  341. </method>
  342. <method name="set_albedo">
  343. <return type="void">
  344. </return>
  345. <argument index="0" name="albedo" type="Color">
  346. </argument>
  347. <description>
  348. </description>
  349. </method>
  350. <method name="set_alpha_scissor_threshold">
  351. <return type="void">
  352. </return>
  353. <argument index="0" name="threshold" type="float">
  354. </argument>
  355. <description>
  356. </description>
  357. </method>
  358. <method name="set_anisotropy">
  359. <return type="void">
  360. </return>
  361. <argument index="0" name="anisotropy" type="float">
  362. </argument>
  363. <description>
  364. </description>
  365. </method>
  366. <method name="set_ao_light_affect">
  367. <return type="void">
  368. </return>
  369. <argument index="0" name="amount" type="float">
  370. </argument>
  371. <description>
  372. </description>
  373. </method>
  374. <method name="set_ao_texture_channel">
  375. <return type="void">
  376. </return>
  377. <argument index="0" name="channel" type="int" enum="SpatialMaterial.TextureChannel">
  378. </argument>
  379. <description>
  380. </description>
  381. </method>
  382. <method name="set_billboard_mode">
  383. <return type="void">
  384. </return>
  385. <argument index="0" name="mode" type="int" enum="SpatialMaterial.BillboardMode">
  386. </argument>
  387. <description>
  388. </description>
  389. </method>
  390. <method name="set_blend_mode">
  391. <return type="void">
  392. </return>
  393. <argument index="0" name="blend_mode" type="int" enum="SpatialMaterial.BlendMode">
  394. </argument>
  395. <description>
  396. </description>
  397. </method>
  398. <method name="set_clearcoat">
  399. <return type="void">
  400. </return>
  401. <argument index="0" name="clearcoat" type="float">
  402. </argument>
  403. <description>
  404. </description>
  405. </method>
  406. <method name="set_clearcoat_gloss">
  407. <return type="void">
  408. </return>
  409. <argument index="0" name="clearcoat_gloss" type="float">
  410. </argument>
  411. <description>
  412. </description>
  413. </method>
  414. <method name="set_cull_mode">
  415. <return type="void">
  416. </return>
  417. <argument index="0" name="cull_mode" type="int" enum="SpatialMaterial.CullMode">
  418. </argument>
  419. <description>
  420. </description>
  421. </method>
  422. <method name="set_depth_deep_parallax">
  423. <return type="void">
  424. </return>
  425. <argument index="0" name="enable" type="bool">
  426. </argument>
  427. <description>
  428. </description>
  429. </method>
  430. <method name="set_depth_deep_parallax_max_layers">
  431. <return type="void">
  432. </return>
  433. <argument index="0" name="layer" type="int">
  434. </argument>
  435. <description>
  436. </description>
  437. </method>
  438. <method name="set_depth_deep_parallax_min_layers">
  439. <return type="void">
  440. </return>
  441. <argument index="0" name="layer" type="int">
  442. </argument>
  443. <description>
  444. </description>
  445. </method>
  446. <method name="set_depth_draw_mode">
  447. <return type="void">
  448. </return>
  449. <argument index="0" name="depth_draw_mode" type="int" enum="SpatialMaterial.DepthDrawMode">
  450. </argument>
  451. <description>
  452. </description>
  453. </method>
  454. <method name="set_depth_scale">
  455. <return type="void">
  456. </return>
  457. <argument index="0" name="depth_scale" type="float">
  458. </argument>
  459. <description>
  460. </description>
  461. </method>
  462. <method name="set_detail_blend_mode">
  463. <return type="void">
  464. </return>
  465. <argument index="0" name="detail_blend_mode" type="int" enum="SpatialMaterial.BlendMode">
  466. </argument>
  467. <description>
  468. </description>
  469. </method>
  470. <method name="set_detail_uv">
  471. <return type="void">
  472. </return>
  473. <argument index="0" name="detail_uv" type="int" enum="SpatialMaterial.DetailUV">
  474. </argument>
  475. <description>
  476. </description>
  477. </method>
  478. <method name="set_diffuse_mode">
  479. <return type="void">
  480. </return>
  481. <argument index="0" name="diffuse_mode" type="int" enum="SpatialMaterial.DiffuseMode">
  482. </argument>
  483. <description>
  484. </description>
  485. </method>
  486. <method name="set_distance_fade">
  487. <return type="void">
  488. </return>
  489. <argument index="0" name="enabled" type="bool">
  490. </argument>
  491. <description>
  492. </description>
  493. </method>
  494. <method name="set_distance_fade_max_distance">
  495. <return type="void">
  496. </return>
  497. <argument index="0" name="distance" type="float">
  498. </argument>
  499. <description>
  500. </description>
  501. </method>
  502. <method name="set_distance_fade_min_distance">
  503. <return type="void">
  504. </return>
  505. <argument index="0" name="distance" type="float">
  506. </argument>
  507. <description>
  508. </description>
  509. </method>
  510. <method name="set_emission">
  511. <return type="void">
  512. </return>
  513. <argument index="0" name="emission" type="Color">
  514. </argument>
  515. <description>
  516. </description>
  517. </method>
  518. <method name="set_emission_energy">
  519. <return type="void">
  520. </return>
  521. <argument index="0" name="emission_energy" type="float">
  522. </argument>
  523. <description>
  524. </description>
  525. </method>
  526. <method name="set_feature">
  527. <return type="void">
  528. </return>
  529. <argument index="0" name="feature" type="int" enum="SpatialMaterial.Feature">
  530. </argument>
  531. <argument index="1" name="enable" type="bool">
  532. </argument>
  533. <description>
  534. </description>
  535. </method>
  536. <method name="set_flag">
  537. <return type="void">
  538. </return>
  539. <argument index="0" name="flag" type="int" enum="SpatialMaterial.Flags">
  540. </argument>
  541. <argument index="1" name="enable" type="bool">
  542. </argument>
  543. <description>
  544. </description>
  545. </method>
  546. <method name="set_grow">
  547. <return type="void">
  548. </return>
  549. <argument index="0" name="amount" type="float">
  550. </argument>
  551. <description>
  552. </description>
  553. </method>
  554. <method name="set_grow_enabled">
  555. <return type="void">
  556. </return>
  557. <argument index="0" name="enable" type="bool">
  558. </argument>
  559. <description>
  560. </description>
  561. </method>
  562. <method name="set_line_width">
  563. <return type="void">
  564. </return>
  565. <argument index="0" name="line_width" type="float">
  566. </argument>
  567. <description>
  568. </description>
  569. </method>
  570. <method name="set_metallic">
  571. <return type="void">
  572. </return>
  573. <argument index="0" name="metallic" type="float">
  574. </argument>
  575. <description>
  576. </description>
  577. </method>
  578. <method name="set_metallic_texture_channel">
  579. <return type="void">
  580. </return>
  581. <argument index="0" name="channel" type="int" enum="SpatialMaterial.TextureChannel">
  582. </argument>
  583. <description>
  584. </description>
  585. </method>
  586. <method name="set_normal_scale">
  587. <return type="void">
  588. </return>
  589. <argument index="0" name="normal_scale" type="float">
  590. </argument>
  591. <description>
  592. </description>
  593. </method>
  594. <method name="set_particles_anim_h_frames">
  595. <return type="void">
  596. </return>
  597. <argument index="0" name="frames" type="int">
  598. </argument>
  599. <description>
  600. </description>
  601. </method>
  602. <method name="set_particles_anim_loop">
  603. <return type="void">
  604. </return>
  605. <argument index="0" name="frames" type="int">
  606. </argument>
  607. <description>
  608. </description>
  609. </method>
  610. <method name="set_particles_anim_v_frames">
  611. <return type="void">
  612. </return>
  613. <argument index="0" name="frames" type="int">
  614. </argument>
  615. <description>
  616. </description>
  617. </method>
  618. <method name="set_point_size">
  619. <return type="void">
  620. </return>
  621. <argument index="0" name="point_size" type="float">
  622. </argument>
  623. <description>
  624. </description>
  625. </method>
  626. <method name="set_proximity_fade">
  627. <return type="void">
  628. </return>
  629. <argument index="0" name="enabled" type="bool">
  630. </argument>
  631. <description>
  632. </description>
  633. </method>
  634. <method name="set_proximity_fade_distance">
  635. <return type="void">
  636. </return>
  637. <argument index="0" name="distance" type="float">
  638. </argument>
  639. <description>
  640. </description>
  641. </method>
  642. <method name="set_refraction">
  643. <return type="void">
  644. </return>
  645. <argument index="0" name="refraction" type="float">
  646. </argument>
  647. <description>
  648. </description>
  649. </method>
  650. <method name="set_refraction_texture_channel">
  651. <return type="void">
  652. </return>
  653. <argument index="0" name="channel" type="int" enum="SpatialMaterial.TextureChannel">
  654. </argument>
  655. <description>
  656. </description>
  657. </method>
  658. <method name="set_rim">
  659. <return type="void">
  660. </return>
  661. <argument index="0" name="rim" type="float">
  662. </argument>
  663. <description>
  664. </description>
  665. </method>
  666. <method name="set_rim_tint">
  667. <return type="void">
  668. </return>
  669. <argument index="0" name="rim_tint" type="float">
  670. </argument>
  671. <description>
  672. </description>
  673. </method>
  674. <method name="set_roughness">
  675. <return type="void">
  676. </return>
  677. <argument index="0" name="roughness" type="float">
  678. </argument>
  679. <description>
  680. </description>
  681. </method>
  682. <method name="set_roughness_texture_channel">
  683. <return type="void">
  684. </return>
  685. <argument index="0" name="channel" type="int" enum="SpatialMaterial.TextureChannel">
  686. </argument>
  687. <description>
  688. </description>
  689. </method>
  690. <method name="set_specular">
  691. <return type="void">
  692. </return>
  693. <argument index="0" name="specular" type="float">
  694. </argument>
  695. <description>
  696. </description>
  697. </method>
  698. <method name="set_specular_mode">
  699. <return type="void">
  700. </return>
  701. <argument index="0" name="specular_mode" type="int" enum="SpatialMaterial.SpecularMode">
  702. </argument>
  703. <description>
  704. </description>
  705. </method>
  706. <method name="set_subsurface_scattering_strength">
  707. <return type="void">
  708. </return>
  709. <argument index="0" name="strength" type="float">
  710. </argument>
  711. <description>
  712. </description>
  713. </method>
  714. <method name="set_texture">
  715. <return type="void">
  716. </return>
  717. <argument index="0" name="param" type="int" enum="SpatialMaterial.TextureParam">
  718. </argument>
  719. <argument index="1" name="texture" type="Texture">
  720. </argument>
  721. <description>
  722. </description>
  723. </method>
  724. <method name="set_transmission">
  725. <return type="void">
  726. </return>
  727. <argument index="0" name="transmission" type="Color">
  728. </argument>
  729. <description>
  730. </description>
  731. </method>
  732. <method name="set_uv1_offset">
  733. <return type="void">
  734. </return>
  735. <argument index="0" name="offset" type="Vector3">
  736. </argument>
  737. <description>
  738. </description>
  739. </method>
  740. <method name="set_uv1_scale">
  741. <return type="void">
  742. </return>
  743. <argument index="0" name="scale" type="Vector3">
  744. </argument>
  745. <description>
  746. </description>
  747. </method>
  748. <method name="set_uv1_triplanar_blend_sharpness">
  749. <return type="void">
  750. </return>
  751. <argument index="0" name="sharpness" type="float">
  752. </argument>
  753. <description>
  754. </description>
  755. </method>
  756. <method name="set_uv2_offset">
  757. <return type="void">
  758. </return>
  759. <argument index="0" name="offset" type="Vector3">
  760. </argument>
  761. <description>
  762. </description>
  763. </method>
  764. <method name="set_uv2_scale">
  765. <return type="void">
  766. </return>
  767. <argument index="0" name="scale" type="Vector3">
  768. </argument>
  769. <description>
  770. </description>
  771. </method>
  772. <method name="set_uv2_triplanar_blend_sharpness">
  773. <return type="void">
  774. </return>
  775. <argument index="0" name="sharpness" type="float">
  776. </argument>
  777. <description>
  778. </description>
  779. </method>
  780. </methods>
  781. <members>
  782. <member name="albedo_color" type="Color" setter="set_albedo" getter="get_albedo">
  783. </member>
  784. <member name="albedo_texture" type="Texture" setter="set_texture" getter="get_texture">
  785. </member>
  786. <member name="anisotropy" type="float" setter="set_anisotropy" getter="get_anisotropy">
  787. </member>
  788. <member name="anisotropy_enabled" type="bool" setter="set_feature" getter="get_feature">
  789. </member>
  790. <member name="anisotropy_flowmap" type="Texture" setter="set_texture" getter="get_texture">
  791. </member>
  792. <member name="ao_enabled" type="bool" setter="set_feature" getter="get_feature">
  793. </member>
  794. <member name="ao_light_affect" type="float" setter="set_ao_light_affect" getter="get_ao_light_affect">
  795. </member>
  796. <member name="ao_on_uv2" type="bool" setter="set_flag" getter="get_flag">
  797. </member>
  798. <member name="ao_texture" type="Texture" setter="set_texture" getter="get_texture">
  799. </member>
  800. <member name="ao_texture_channel" type="int" setter="set_ao_texture_channel" getter="get_ao_texture_channel" enum="SpatialMaterial.TextureChannel">
  801. </member>
  802. <member name="clearcoat" type="float" setter="set_clearcoat" getter="get_clearcoat">
  803. </member>
  804. <member name="clearcoat_enabled" type="bool" setter="set_feature" getter="get_feature">
  805. </member>
  806. <member name="clearcoat_gloss" type="float" setter="set_clearcoat_gloss" getter="get_clearcoat_gloss">
  807. </member>
  808. <member name="clearcoat_texture" type="Texture" setter="set_texture" getter="get_texture">
  809. </member>
  810. <member name="depth_deep_parallax" type="bool" setter="set_depth_deep_parallax" getter="is_depth_deep_parallax_enabled">
  811. </member>
  812. <member name="depth_enabled" type="bool" setter="set_feature" getter="get_feature">
  813. </member>
  814. <member name="depth_max_layers" type="int" setter="set_depth_deep_parallax_max_layers" getter="get_depth_deep_parallax_max_layers">
  815. </member>
  816. <member name="depth_min_layers" type="int" setter="set_depth_deep_parallax_min_layers" getter="get_depth_deep_parallax_min_layers">
  817. </member>
  818. <member name="depth_scale" type="float" setter="set_depth_scale" getter="get_depth_scale">
  819. </member>
  820. <member name="depth_texture" type="Texture" setter="set_texture" getter="get_texture">
  821. </member>
  822. <member name="detail_albedo" type="Texture" setter="set_texture" getter="get_texture">
  823. </member>
  824. <member name="detail_blend_mode" type="int" setter="set_detail_blend_mode" getter="get_detail_blend_mode" enum="SpatialMaterial.BlendMode">
  825. </member>
  826. <member name="detail_enabled" type="bool" setter="set_feature" getter="get_feature">
  827. </member>
  828. <member name="detail_mask" type="Texture" setter="set_texture" getter="get_texture">
  829. </member>
  830. <member name="detail_normal" type="Texture" setter="set_texture" getter="get_texture">
  831. </member>
  832. <member name="detail_uv_layer" type="int" setter="set_detail_uv" getter="get_detail_uv" enum="SpatialMaterial.DetailUV">
  833. </member>
  834. <member name="distance_fade_enable" type="bool" setter="set_distance_fade" getter="is_distance_fade_enabled">
  835. </member>
  836. <member name="distance_fade_max_distance" type="float" setter="set_distance_fade_max_distance" getter="get_distance_fade_max_distance">
  837. </member>
  838. <member name="distance_fade_min_distance" type="float" setter="set_distance_fade_min_distance" getter="get_distance_fade_min_distance">
  839. </member>
  840. <member name="emission" type="Color" setter="set_emission" getter="get_emission">
  841. </member>
  842. <member name="emission_enabled" type="bool" setter="set_feature" getter="get_feature">
  843. </member>
  844. <member name="emission_energy" type="float" setter="set_emission_energy" getter="get_emission_energy">
  845. </member>
  846. <member name="emission_texture" type="Texture" setter="set_texture" getter="get_texture">
  847. </member>
  848. <member name="flags_fixed_size" type="bool" setter="set_flag" getter="get_flag">
  849. </member>
  850. <member name="flags_no_depth_test" type="bool" setter="set_flag" getter="get_flag">
  851. </member>
  852. <member name="flags_transparent" type="bool" setter="set_feature" getter="get_feature">
  853. </member>
  854. <member name="flags_unshaded" type="bool" setter="set_flag" getter="get_flag">
  855. </member>
  856. <member name="flags_use_point_size" type="bool" setter="set_flag" getter="get_flag">
  857. </member>
  858. <member name="flags_vertex_lighting" type="bool" setter="set_flag" getter="get_flag">
  859. </member>
  860. <member name="flags_world_triplanar" type="bool" setter="set_flag" getter="get_flag">
  861. </member>
  862. <member name="metallic" type="float" setter="set_metallic" getter="get_metallic">
  863. </member>
  864. <member name="metallic_specular" type="float" setter="set_specular" getter="get_specular">
  865. </member>
  866. <member name="metallic_texture" type="Texture" setter="set_texture" getter="get_texture">
  867. </member>
  868. <member name="metallic_texture_channel" type="int" setter="set_metallic_texture_channel" getter="get_metallic_texture_channel" enum="SpatialMaterial.TextureChannel">
  869. </member>
  870. <member name="normal_enabled" type="bool" setter="set_feature" getter="get_feature">
  871. </member>
  872. <member name="normal_scale" type="float" setter="set_normal_scale" getter="get_normal_scale">
  873. </member>
  874. <member name="normal_texture" type="Texture" setter="set_texture" getter="get_texture">
  875. </member>
  876. <member name="params_alpha_scissor_threshold" type="float" setter="set_alpha_scissor_threshold" getter="get_alpha_scissor_threshold">
  877. </member>
  878. <member name="params_billboard_mode" type="int" setter="set_billboard_mode" getter="get_billboard_mode" enum="SpatialMaterial.BillboardMode">
  879. </member>
  880. <member name="params_blend_mode" type="int" setter="set_blend_mode" getter="get_blend_mode" enum="SpatialMaterial.BlendMode">
  881. </member>
  882. <member name="params_cull_mode" type="int" setter="set_cull_mode" getter="get_cull_mode" enum="SpatialMaterial.CullMode">
  883. </member>
  884. <member name="params_depth_draw_mode" type="int" setter="set_depth_draw_mode" getter="get_depth_draw_mode" enum="SpatialMaterial.DepthDrawMode">
  885. </member>
  886. <member name="params_diffuse_mode" type="int" setter="set_diffuse_mode" getter="get_diffuse_mode" enum="SpatialMaterial.DiffuseMode">
  887. </member>
  888. <member name="params_grow" type="bool" setter="set_grow_enabled" getter="is_grow_enabled">
  889. </member>
  890. <member name="params_grow_amount" type="float" setter="set_grow" getter="get_grow">
  891. </member>
  892. <member name="params_line_width" type="float" setter="set_line_width" getter="get_line_width">
  893. </member>
  894. <member name="params_point_size" type="float" setter="set_point_size" getter="get_point_size">
  895. </member>
  896. <member name="params_specular_mode" type="int" setter="set_specular_mode" getter="get_specular_mode" enum="SpatialMaterial.SpecularMode">
  897. </member>
  898. <member name="params_use_alpha_scissor" type="bool" setter="set_flag" getter="get_flag">
  899. </member>
  900. <member name="particles_anim_h_frames" type="int" setter="set_particles_anim_h_frames" getter="get_particles_anim_h_frames">
  901. </member>
  902. <member name="particles_anim_loop" type="int" setter="set_particles_anim_loop" getter="get_particles_anim_loop">
  903. </member>
  904. <member name="particles_anim_v_frames" type="int" setter="set_particles_anim_v_frames" getter="get_particles_anim_v_frames">
  905. </member>
  906. <member name="proximity_fade_distance" type="float" setter="set_proximity_fade_distance" getter="get_proximity_fade_distance">
  907. </member>
  908. <member name="proximity_fade_enable" type="bool" setter="set_proximity_fade" getter="is_proximity_fade_enabled">
  909. </member>
  910. <member name="refraction_enabled" type="bool" setter="set_feature" getter="get_feature">
  911. </member>
  912. <member name="refraction_scale" type="float" setter="set_refraction" getter="get_refraction">
  913. </member>
  914. <member name="refraction_texture" type="Texture" setter="set_texture" getter="get_texture">
  915. </member>
  916. <member name="refraction_texture_channel" type="int" setter="set_refraction_texture_channel" getter="get_refraction_texture_channel" enum="SpatialMaterial.TextureChannel">
  917. </member>
  918. <member name="rim" type="float" setter="set_rim" getter="get_rim">
  919. </member>
  920. <member name="rim_enabled" type="bool" setter="set_feature" getter="get_feature">
  921. </member>
  922. <member name="rim_texture" type="Texture" setter="set_texture" getter="get_texture">
  923. </member>
  924. <member name="rim_tint" type="float" setter="set_rim_tint" getter="get_rim_tint">
  925. </member>
  926. <member name="roughness" type="float" setter="set_roughness" getter="get_roughness">
  927. </member>
  928. <member name="roughness_texture" type="Texture" setter="set_texture" getter="get_texture">
  929. </member>
  930. <member name="roughness_texture_channel" type="int" setter="set_roughness_texture_channel" getter="get_roughness_texture_channel" enum="SpatialMaterial.TextureChannel">
  931. </member>
  932. <member name="subsurf_scatter_enabled" type="bool" setter="set_feature" getter="get_feature">
  933. </member>
  934. <member name="subsurf_scatter_strength" type="float" setter="set_subsurface_scattering_strength" getter="get_subsurface_scattering_strength">
  935. </member>
  936. <member name="subsurf_scatter_texture" type="Texture" setter="set_texture" getter="get_texture">
  937. </member>
  938. <member name="transmission" type="Color" setter="set_transmission" getter="get_transmission">
  939. </member>
  940. <member name="transmission_enabled" type="bool" setter="set_feature" getter="get_feature">
  941. </member>
  942. <member name="transmission_texture" type="Texture" setter="set_texture" getter="get_texture">
  943. </member>
  944. <member name="uv1_offset" type="Vector3" setter="set_uv1_offset" getter="get_uv1_offset">
  945. </member>
  946. <member name="uv1_scale" type="Vector3" setter="set_uv1_scale" getter="get_uv1_scale">
  947. </member>
  948. <member name="uv1_triplanar" type="bool" setter="set_flag" getter="get_flag">
  949. </member>
  950. <member name="uv1_triplanar_sharpness" type="float" setter="set_uv1_triplanar_blend_sharpness" getter="get_uv1_triplanar_blend_sharpness">
  951. </member>
  952. <member name="uv2_offset" type="Vector3" setter="set_uv2_offset" getter="get_uv2_offset">
  953. </member>
  954. <member name="uv2_scale" type="Vector3" setter="set_uv2_scale" getter="get_uv2_scale">
  955. </member>
  956. <member name="uv2_triplanar" type="bool" setter="set_flag" getter="get_flag">
  957. </member>
  958. <member name="uv2_triplanar_sharpness" type="float" setter="set_uv2_triplanar_blend_sharpness" getter="get_uv2_triplanar_blend_sharpness">
  959. </member>
  960. <member name="vertex_color_is_srgb" type="bool" setter="set_flag" getter="get_flag">
  961. </member>
  962. <member name="vertex_color_use_as_albedo" type="bool" setter="set_flag" getter="get_flag">
  963. </member>
  964. </members>
  965. <constants>
  966. <constant name="TEXTURE_ALBEDO" value="0">
  967. </constant>
  968. <constant name="TEXTURE_METALLIC" value="1">
  969. </constant>
  970. <constant name="TEXTURE_ROUGHNESS" value="2">
  971. </constant>
  972. <constant name="TEXTURE_EMISSION" value="3">
  973. </constant>
  974. <constant name="TEXTURE_NORMAL" value="4">
  975. </constant>
  976. <constant name="TEXTURE_RIM" value="5">
  977. </constant>
  978. <constant name="TEXTURE_CLEARCOAT" value="6">
  979. </constant>
  980. <constant name="TEXTURE_FLOWMAP" value="7">
  981. </constant>
  982. <constant name="TEXTURE_AMBIENT_OCCLUSION" value="8">
  983. </constant>
  984. <constant name="TEXTURE_DEPTH" value="9">
  985. </constant>
  986. <constant name="TEXTURE_SUBSURFACE_SCATTERING" value="10">
  987. </constant>
  988. <constant name="TEXTURE_TRANSMISSION" value="11">
  989. </constant>
  990. <constant name="TEXTURE_REFRACTION" value="12">
  991. </constant>
  992. <constant name="TEXTURE_DETAIL_MASK" value="13">
  993. </constant>
  994. <constant name="TEXTURE_DETAIL_ALBEDO" value="14">
  995. </constant>
  996. <constant name="TEXTURE_DETAIL_NORMAL" value="15">
  997. </constant>
  998. <constant name="TEXTURE_MAX" value="16">
  999. </constant>
  1000. <constant name="DETAIL_UV_1" value="0">
  1001. </constant>
  1002. <constant name="DETAIL_UV_2" value="1">
  1003. </constant>
  1004. <constant name="FEATURE_TRANSPARENT" value="0">
  1005. </constant>
  1006. <constant name="FEATURE_EMISSION" value="1">
  1007. </constant>
  1008. <constant name="FEATURE_NORMAL_MAPPING" value="2">
  1009. </constant>
  1010. <constant name="FEATURE_RIM" value="3">
  1011. </constant>
  1012. <constant name="FEATURE_CLEARCOAT" value="4">
  1013. </constant>
  1014. <constant name="FEATURE_ANISOTROPY" value="5">
  1015. </constant>
  1016. <constant name="FEATURE_AMBIENT_OCCLUSION" value="6">
  1017. </constant>
  1018. <constant name="FEATURE_DEPTH_MAPPING" value="7">
  1019. </constant>
  1020. <constant name="FEATURE_SUBSURACE_SCATTERING" value="8">
  1021. </constant>
  1022. <constant name="FEATURE_TRANSMISSION" value="9">
  1023. </constant>
  1024. <constant name="FEATURE_REFRACTION" value="10">
  1025. </constant>
  1026. <constant name="FEATURE_DETAIL" value="11">
  1027. </constant>
  1028. <constant name="FEATURE_MAX" value="12">
  1029. </constant>
  1030. <constant name="BLEND_MODE_MIX" value="0">
  1031. </constant>
  1032. <constant name="BLEND_MODE_ADD" value="1">
  1033. </constant>
  1034. <constant name="BLEND_MODE_SUB" value="2">
  1035. </constant>
  1036. <constant name="BLEND_MODE_MUL" value="3">
  1037. </constant>
  1038. <constant name="DEPTH_DRAW_OPAQUE_ONLY" value="0">
  1039. </constant>
  1040. <constant name="DEPTH_DRAW_ALWAYS" value="1">
  1041. </constant>
  1042. <constant name="DEPTH_DRAW_DISABLED" value="2">
  1043. </constant>
  1044. <constant name="DEPTH_DRAW_ALPHA_OPAQUE_PREPASS" value="3">
  1045. </constant>
  1046. <constant name="CULL_BACK" value="0">
  1047. </constant>
  1048. <constant name="CULL_FRONT" value="1">
  1049. </constant>
  1050. <constant name="CULL_DISABLED" value="2">
  1051. </constant>
  1052. <constant name="FLAG_UNSHADED" value="0">
  1053. </constant>
  1054. <constant name="FLAG_USE_VERTEX_LIGHTING" value="1">
  1055. </constant>
  1056. <constant name="FLAG_DISABLE_DEPTH_TEST" value="2">
  1057. </constant>
  1058. <constant name="FLAG_ALBEDO_FROM_VERTEX_COLOR" value="3">
  1059. </constant>
  1060. <constant name="FLAG_SRGB_VERTEX_COLOR" value="4">
  1061. </constant>
  1062. <constant name="FLAG_USE_POINT_SIZE" value="5">
  1063. </constant>
  1064. <constant name="FLAG_FIXED_SIZE" value="6">
  1065. </constant>
  1066. <constant name="FLAG_UV1_USE_TRIPLANAR" value="7">
  1067. </constant>
  1068. <constant name="FLAG_UV2_USE_TRIPLANAR" value="8">
  1069. </constant>
  1070. <constant name="FLAG_AO_ON_UV2" value="10">
  1071. </constant>
  1072. <constant name="FLAG_USE_ALPHA_SCISSOR" value="11">
  1073. </constant>
  1074. <constant name="FLAG_TRIPLANAR_USE_WORLD" value="9">
  1075. </constant>
  1076. <constant name="FLAG_MAX" value="12">
  1077. </constant>
  1078. <constant name="DIFFUSE_BURLEY" value="0">
  1079. </constant>
  1080. <constant name="DIFFUSE_LAMBERT" value="1">
  1081. </constant>
  1082. <constant name="DIFFUSE_LAMBERT_WRAP" value="2">
  1083. </constant>
  1084. <constant name="DIFFUSE_OREN_NAYAR" value="3">
  1085. </constant>
  1086. <constant name="DIFFUSE_TOON" value="4">
  1087. </constant>
  1088. <constant name="SPECULAR_SCHLICK_GGX" value="0">
  1089. </constant>
  1090. <constant name="SPECULAR_BLINN" value="1">
  1091. </constant>
  1092. <constant name="SPECULAR_PHONG" value="2">
  1093. </constant>
  1094. <constant name="SPECULAR_TOON" value="3">
  1095. </constant>
  1096. <constant name="SPECULAR_DISABLED" value="4">
  1097. </constant>
  1098. <constant name="BILLBOARD_DISABLED" value="0">
  1099. </constant>
  1100. <constant name="BILLBOARD_ENABLED" value="1">
  1101. </constant>
  1102. <constant name="BILLBOARD_FIXED_Y" value="2">
  1103. </constant>
  1104. <constant name="BILLBOARD_PARTICLES" value="3">
  1105. </constant>
  1106. <constant name="TEXTURE_CHANNEL_RED" value="0">
  1107. </constant>
  1108. <constant name="TEXTURE_CHANNEL_GREEN" value="1">
  1109. </constant>
  1110. <constant name="TEXTURE_CHANNEL_BLUE" value="2">
  1111. </constant>
  1112. <constant name="TEXTURE_CHANNEL_ALPHA" value="3">
  1113. </constant>
  1114. <constant name="TEXTURE_CHANNEL_GRAYSCALE" value="4">
  1115. </constant>
  1116. </constants>
  1117. </class>