12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <class name="SpatialMaterial" inherits="Material" category="Core" version="3.0.alpha.custom_build">
- <brief_description>
- </brief_description>
- <description>
- </description>
- <tutorials>
- </tutorials>
- <demos>
- </demos>
- <methods>
- <method name="get_albedo" qualifiers="const">
- <return type="Color">
- </return>
- <description>
- </description>
- </method>
- <method name="get_alpha_scissor_threshold" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_anisotropy" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_ao_light_affect" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_ao_texture_channel" qualifiers="const">
- <return type="int" enum="SpatialMaterial.TextureChannel">
- </return>
- <description>
- </description>
- </method>
- <method name="get_billboard_mode" qualifiers="const">
- <return type="int" enum="SpatialMaterial.BillboardMode">
- </return>
- <description>
- </description>
- </method>
- <method name="get_blend_mode" qualifiers="const">
- <return type="int" enum="SpatialMaterial.BlendMode">
- </return>
- <description>
- </description>
- </method>
- <method name="get_clearcoat" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_clearcoat_gloss" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_cull_mode" qualifiers="const">
- <return type="int" enum="SpatialMaterial.CullMode">
- </return>
- <description>
- </description>
- </method>
- <method name="get_depth_deep_parallax_max_layers" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_depth_deep_parallax_min_layers" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_depth_draw_mode" qualifiers="const">
- <return type="int" enum="SpatialMaterial.DepthDrawMode">
- </return>
- <description>
- </description>
- </method>
- <method name="get_depth_scale" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_detail_blend_mode" qualifiers="const">
- <return type="int" enum="SpatialMaterial.BlendMode">
- </return>
- <description>
- </description>
- </method>
- <method name="get_detail_uv" qualifiers="const">
- <return type="int" enum="SpatialMaterial.DetailUV">
- </return>
- <description>
- </description>
- </method>
- <method name="get_diffuse_mode" qualifiers="const">
- <return type="int" enum="SpatialMaterial.DiffuseMode">
- </return>
- <description>
- </description>
- </method>
- <method name="get_distance_fade_max_distance" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_distance_fade_min_distance" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_emission" qualifiers="const">
- <return type="Color">
- </return>
- <description>
- </description>
- </method>
- <method name="get_emission_energy" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_feature" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="feature" type="int" enum="SpatialMaterial.Feature">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_flag" qualifiers="const">
- <return type="bool">
- </return>
- <argument index="0" name="flag" type="int" enum="SpatialMaterial.Flags">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_grow" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_line_width" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_metallic" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_metallic_texture_channel" qualifiers="const">
- <return type="int" enum="SpatialMaterial.TextureChannel">
- </return>
- <description>
- </description>
- </method>
- <method name="get_normal_scale" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_particles_anim_h_frames" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_particles_anim_loop" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_particles_anim_v_frames" qualifiers="const">
- <return type="int">
- </return>
- <description>
- </description>
- </method>
- <method name="get_point_size" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_proximity_fade_distance" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_refraction" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_refraction_texture_channel" qualifiers="const">
- <return type="int" enum="SpatialMaterial.TextureChannel">
- </return>
- <description>
- </description>
- </method>
- <method name="get_rim" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_rim_tint" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_roughness" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_roughness_texture_channel" qualifiers="const">
- <return type="int" enum="SpatialMaterial.TextureChannel">
- </return>
- <description>
- </description>
- </method>
- <method name="get_specular" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_specular_mode" qualifiers="const">
- <return type="int" enum="SpatialMaterial.SpecularMode">
- </return>
- <description>
- </description>
- </method>
- <method name="get_subsurface_scattering_strength" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_texture" qualifiers="const">
- <return type="Texture">
- </return>
- <argument index="0" name="param" type="int" enum="SpatialMaterial.TextureParam">
- </argument>
- <description>
- </description>
- </method>
- <method name="get_transmission" qualifiers="const">
- <return type="Color">
- </return>
- <description>
- </description>
- </method>
- <method name="get_uv1_offset" qualifiers="const">
- <return type="Vector3">
- </return>
- <description>
- </description>
- </method>
- <method name="get_uv1_scale" qualifiers="const">
- <return type="Vector3">
- </return>
- <description>
- </description>
- </method>
- <method name="get_uv1_triplanar_blend_sharpness" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="get_uv2_offset" qualifiers="const">
- <return type="Vector3">
- </return>
- <description>
- </description>
- </method>
- <method name="get_uv2_scale" qualifiers="const">
- <return type="Vector3">
- </return>
- <description>
- </description>
- </method>
- <method name="get_uv2_triplanar_blend_sharpness" qualifiers="const">
- <return type="float">
- </return>
- <description>
- </description>
- </method>
- <method name="is_depth_deep_parallax_enabled" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="is_distance_fade_enabled" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="is_grow_enabled" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="is_proximity_fade_enabled" qualifiers="const">
- <return type="bool">
- </return>
- <description>
- </description>
- </method>
- <method name="set_albedo">
- <return type="void">
- </return>
- <argument index="0" name="albedo" type="Color">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_alpha_scissor_threshold">
- <return type="void">
- </return>
- <argument index="0" name="threshold" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_anisotropy">
- <return type="void">
- </return>
- <argument index="0" name="anisotropy" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_ao_light_affect">
- <return type="void">
- </return>
- <argument index="0" name="amount" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_ao_texture_channel">
- <return type="void">
- </return>
- <argument index="0" name="channel" type="int" enum="SpatialMaterial.TextureChannel">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_billboard_mode">
- <return type="void">
- </return>
- <argument index="0" name="mode" type="int" enum="SpatialMaterial.BillboardMode">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_blend_mode">
- <return type="void">
- </return>
- <argument index="0" name="blend_mode" type="int" enum="SpatialMaterial.BlendMode">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_clearcoat">
- <return type="void">
- </return>
- <argument index="0" name="clearcoat" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_clearcoat_gloss">
- <return type="void">
- </return>
- <argument index="0" name="clearcoat_gloss" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_cull_mode">
- <return type="void">
- </return>
- <argument index="0" name="cull_mode" type="int" enum="SpatialMaterial.CullMode">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_depth_deep_parallax">
- <return type="void">
- </return>
- <argument index="0" name="enable" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_depth_deep_parallax_max_layers">
- <return type="void">
- </return>
- <argument index="0" name="layer" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_depth_deep_parallax_min_layers">
- <return type="void">
- </return>
- <argument index="0" name="layer" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_depth_draw_mode">
- <return type="void">
- </return>
- <argument index="0" name="depth_draw_mode" type="int" enum="SpatialMaterial.DepthDrawMode">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_depth_scale">
- <return type="void">
- </return>
- <argument index="0" name="depth_scale" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_detail_blend_mode">
- <return type="void">
- </return>
- <argument index="0" name="detail_blend_mode" type="int" enum="SpatialMaterial.BlendMode">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_detail_uv">
- <return type="void">
- </return>
- <argument index="0" name="detail_uv" type="int" enum="SpatialMaterial.DetailUV">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_diffuse_mode">
- <return type="void">
- </return>
- <argument index="0" name="diffuse_mode" type="int" enum="SpatialMaterial.DiffuseMode">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_distance_fade">
- <return type="void">
- </return>
- <argument index="0" name="enabled" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_distance_fade_max_distance">
- <return type="void">
- </return>
- <argument index="0" name="distance" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_distance_fade_min_distance">
- <return type="void">
- </return>
- <argument index="0" name="distance" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_emission">
- <return type="void">
- </return>
- <argument index="0" name="emission" type="Color">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_emission_energy">
- <return type="void">
- </return>
- <argument index="0" name="emission_energy" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_feature">
- <return type="void">
- </return>
- <argument index="0" name="feature" type="int" enum="SpatialMaterial.Feature">
- </argument>
- <argument index="1" name="enable" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_flag">
- <return type="void">
- </return>
- <argument index="0" name="flag" type="int" enum="SpatialMaterial.Flags">
- </argument>
- <argument index="1" name="enable" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_grow">
- <return type="void">
- </return>
- <argument index="0" name="amount" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_grow_enabled">
- <return type="void">
- </return>
- <argument index="0" name="enable" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_line_width">
- <return type="void">
- </return>
- <argument index="0" name="line_width" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_metallic">
- <return type="void">
- </return>
- <argument index="0" name="metallic" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_metallic_texture_channel">
- <return type="void">
- </return>
- <argument index="0" name="channel" type="int" enum="SpatialMaterial.TextureChannel">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_normal_scale">
- <return type="void">
- </return>
- <argument index="0" name="normal_scale" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_particles_anim_h_frames">
- <return type="void">
- </return>
- <argument index="0" name="frames" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_particles_anim_loop">
- <return type="void">
- </return>
- <argument index="0" name="frames" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_particles_anim_v_frames">
- <return type="void">
- </return>
- <argument index="0" name="frames" type="int">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_point_size">
- <return type="void">
- </return>
- <argument index="0" name="point_size" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_proximity_fade">
- <return type="void">
- </return>
- <argument index="0" name="enabled" type="bool">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_proximity_fade_distance">
- <return type="void">
- </return>
- <argument index="0" name="distance" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_refraction">
- <return type="void">
- </return>
- <argument index="0" name="refraction" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_refraction_texture_channel">
- <return type="void">
- </return>
- <argument index="0" name="channel" type="int" enum="SpatialMaterial.TextureChannel">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_rim">
- <return type="void">
- </return>
- <argument index="0" name="rim" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_rim_tint">
- <return type="void">
- </return>
- <argument index="0" name="rim_tint" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_roughness">
- <return type="void">
- </return>
- <argument index="0" name="roughness" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_roughness_texture_channel">
- <return type="void">
- </return>
- <argument index="0" name="channel" type="int" enum="SpatialMaterial.TextureChannel">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_specular">
- <return type="void">
- </return>
- <argument index="0" name="specular" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_specular_mode">
- <return type="void">
- </return>
- <argument index="0" name="specular_mode" type="int" enum="SpatialMaterial.SpecularMode">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_subsurface_scattering_strength">
- <return type="void">
- </return>
- <argument index="0" name="strength" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_texture">
- <return type="void">
- </return>
- <argument index="0" name="param" type="int" enum="SpatialMaterial.TextureParam">
- </argument>
- <argument index="1" name="texture" type="Texture">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_transmission">
- <return type="void">
- </return>
- <argument index="0" name="transmission" type="Color">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_uv1_offset">
- <return type="void">
- </return>
- <argument index="0" name="offset" type="Vector3">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_uv1_scale">
- <return type="void">
- </return>
- <argument index="0" name="scale" type="Vector3">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_uv1_triplanar_blend_sharpness">
- <return type="void">
- </return>
- <argument index="0" name="sharpness" type="float">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_uv2_offset">
- <return type="void">
- </return>
- <argument index="0" name="offset" type="Vector3">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_uv2_scale">
- <return type="void">
- </return>
- <argument index="0" name="scale" type="Vector3">
- </argument>
- <description>
- </description>
- </method>
- <method name="set_uv2_triplanar_blend_sharpness">
- <return type="void">
- </return>
- <argument index="0" name="sharpness" type="float">
- </argument>
- <description>
- </description>
- </method>
- </methods>
- <members>
- <member name="albedo_color" type="Color" setter="set_albedo" getter="get_albedo">
- </member>
- <member name="albedo_texture" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="anisotropy" type="float" setter="set_anisotropy" getter="get_anisotropy">
- </member>
- <member name="anisotropy_enabled" type="bool" setter="set_feature" getter="get_feature">
- </member>
- <member name="anisotropy_flowmap" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="ao_enabled" type="bool" setter="set_feature" getter="get_feature">
- </member>
- <member name="ao_light_affect" type="float" setter="set_ao_light_affect" getter="get_ao_light_affect">
- </member>
- <member name="ao_on_uv2" type="bool" setter="set_flag" getter="get_flag">
- </member>
- <member name="ao_texture" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="ao_texture_channel" type="int" setter="set_ao_texture_channel" getter="get_ao_texture_channel" enum="SpatialMaterial.TextureChannel">
- </member>
- <member name="clearcoat" type="float" setter="set_clearcoat" getter="get_clearcoat">
- </member>
- <member name="clearcoat_enabled" type="bool" setter="set_feature" getter="get_feature">
- </member>
- <member name="clearcoat_gloss" type="float" setter="set_clearcoat_gloss" getter="get_clearcoat_gloss">
- </member>
- <member name="clearcoat_texture" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="depth_deep_parallax" type="bool" setter="set_depth_deep_parallax" getter="is_depth_deep_parallax_enabled">
- </member>
- <member name="depth_enabled" type="bool" setter="set_feature" getter="get_feature">
- </member>
- <member name="depth_max_layers" type="int" setter="set_depth_deep_parallax_max_layers" getter="get_depth_deep_parallax_max_layers">
- </member>
- <member name="depth_min_layers" type="int" setter="set_depth_deep_parallax_min_layers" getter="get_depth_deep_parallax_min_layers">
- </member>
- <member name="depth_scale" type="float" setter="set_depth_scale" getter="get_depth_scale">
- </member>
- <member name="depth_texture" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="detail_albedo" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="detail_blend_mode" type="int" setter="set_detail_blend_mode" getter="get_detail_blend_mode" enum="SpatialMaterial.BlendMode">
- </member>
- <member name="detail_enabled" type="bool" setter="set_feature" getter="get_feature">
- </member>
- <member name="detail_mask" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="detail_normal" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="detail_uv_layer" type="int" setter="set_detail_uv" getter="get_detail_uv" enum="SpatialMaterial.DetailUV">
- </member>
- <member name="distance_fade_enable" type="bool" setter="set_distance_fade" getter="is_distance_fade_enabled">
- </member>
- <member name="distance_fade_max_distance" type="float" setter="set_distance_fade_max_distance" getter="get_distance_fade_max_distance">
- </member>
- <member name="distance_fade_min_distance" type="float" setter="set_distance_fade_min_distance" getter="get_distance_fade_min_distance">
- </member>
- <member name="emission" type="Color" setter="set_emission" getter="get_emission">
- </member>
- <member name="emission_enabled" type="bool" setter="set_feature" getter="get_feature">
- </member>
- <member name="emission_energy" type="float" setter="set_emission_energy" getter="get_emission_energy">
- </member>
- <member name="emission_texture" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="flags_fixed_size" type="bool" setter="set_flag" getter="get_flag">
- </member>
- <member name="flags_no_depth_test" type="bool" setter="set_flag" getter="get_flag">
- </member>
- <member name="flags_transparent" type="bool" setter="set_feature" getter="get_feature">
- </member>
- <member name="flags_unshaded" type="bool" setter="set_flag" getter="get_flag">
- </member>
- <member name="flags_use_point_size" type="bool" setter="set_flag" getter="get_flag">
- </member>
- <member name="flags_vertex_lighting" type="bool" setter="set_flag" getter="get_flag">
- </member>
- <member name="flags_world_triplanar" type="bool" setter="set_flag" getter="get_flag">
- </member>
- <member name="metallic" type="float" setter="set_metallic" getter="get_metallic">
- </member>
- <member name="metallic_specular" type="float" setter="set_specular" getter="get_specular">
- </member>
- <member name="metallic_texture" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="metallic_texture_channel" type="int" setter="set_metallic_texture_channel" getter="get_metallic_texture_channel" enum="SpatialMaterial.TextureChannel">
- </member>
- <member name="normal_enabled" type="bool" setter="set_feature" getter="get_feature">
- </member>
- <member name="normal_scale" type="float" setter="set_normal_scale" getter="get_normal_scale">
- </member>
- <member name="normal_texture" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="params_alpha_scissor_threshold" type="float" setter="set_alpha_scissor_threshold" getter="get_alpha_scissor_threshold">
- </member>
- <member name="params_billboard_mode" type="int" setter="set_billboard_mode" getter="get_billboard_mode" enum="SpatialMaterial.BillboardMode">
- </member>
- <member name="params_blend_mode" type="int" setter="set_blend_mode" getter="get_blend_mode" enum="SpatialMaterial.BlendMode">
- </member>
- <member name="params_cull_mode" type="int" setter="set_cull_mode" getter="get_cull_mode" enum="SpatialMaterial.CullMode">
- </member>
- <member name="params_depth_draw_mode" type="int" setter="set_depth_draw_mode" getter="get_depth_draw_mode" enum="SpatialMaterial.DepthDrawMode">
- </member>
- <member name="params_diffuse_mode" type="int" setter="set_diffuse_mode" getter="get_diffuse_mode" enum="SpatialMaterial.DiffuseMode">
- </member>
- <member name="params_grow" type="bool" setter="set_grow_enabled" getter="is_grow_enabled">
- </member>
- <member name="params_grow_amount" type="float" setter="set_grow" getter="get_grow">
- </member>
- <member name="params_line_width" type="float" setter="set_line_width" getter="get_line_width">
- </member>
- <member name="params_point_size" type="float" setter="set_point_size" getter="get_point_size">
- </member>
- <member name="params_specular_mode" type="int" setter="set_specular_mode" getter="get_specular_mode" enum="SpatialMaterial.SpecularMode">
- </member>
- <member name="params_use_alpha_scissor" type="bool" setter="set_flag" getter="get_flag">
- </member>
- <member name="particles_anim_h_frames" type="int" setter="set_particles_anim_h_frames" getter="get_particles_anim_h_frames">
- </member>
- <member name="particles_anim_loop" type="int" setter="set_particles_anim_loop" getter="get_particles_anim_loop">
- </member>
- <member name="particles_anim_v_frames" type="int" setter="set_particles_anim_v_frames" getter="get_particles_anim_v_frames">
- </member>
- <member name="proximity_fade_distance" type="float" setter="set_proximity_fade_distance" getter="get_proximity_fade_distance">
- </member>
- <member name="proximity_fade_enable" type="bool" setter="set_proximity_fade" getter="is_proximity_fade_enabled">
- </member>
- <member name="refraction_enabled" type="bool" setter="set_feature" getter="get_feature">
- </member>
- <member name="refraction_scale" type="float" setter="set_refraction" getter="get_refraction">
- </member>
- <member name="refraction_texture" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="refraction_texture_channel" type="int" setter="set_refraction_texture_channel" getter="get_refraction_texture_channel" enum="SpatialMaterial.TextureChannel">
- </member>
- <member name="rim" type="float" setter="set_rim" getter="get_rim">
- </member>
- <member name="rim_enabled" type="bool" setter="set_feature" getter="get_feature">
- </member>
- <member name="rim_texture" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="rim_tint" type="float" setter="set_rim_tint" getter="get_rim_tint">
- </member>
- <member name="roughness" type="float" setter="set_roughness" getter="get_roughness">
- </member>
- <member name="roughness_texture" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="roughness_texture_channel" type="int" setter="set_roughness_texture_channel" getter="get_roughness_texture_channel" enum="SpatialMaterial.TextureChannel">
- </member>
- <member name="subsurf_scatter_enabled" type="bool" setter="set_feature" getter="get_feature">
- </member>
- <member name="subsurf_scatter_strength" type="float" setter="set_subsurface_scattering_strength" getter="get_subsurface_scattering_strength">
- </member>
- <member name="subsurf_scatter_texture" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="transmission" type="Color" setter="set_transmission" getter="get_transmission">
- </member>
- <member name="transmission_enabled" type="bool" setter="set_feature" getter="get_feature">
- </member>
- <member name="transmission_texture" type="Texture" setter="set_texture" getter="get_texture">
- </member>
- <member name="uv1_offset" type="Vector3" setter="set_uv1_offset" getter="get_uv1_offset">
- </member>
- <member name="uv1_scale" type="Vector3" setter="set_uv1_scale" getter="get_uv1_scale">
- </member>
- <member name="uv1_triplanar" type="bool" setter="set_flag" getter="get_flag">
- </member>
- <member name="uv1_triplanar_sharpness" type="float" setter="set_uv1_triplanar_blend_sharpness" getter="get_uv1_triplanar_blend_sharpness">
- </member>
- <member name="uv2_offset" type="Vector3" setter="set_uv2_offset" getter="get_uv2_offset">
- </member>
- <member name="uv2_scale" type="Vector3" setter="set_uv2_scale" getter="get_uv2_scale">
- </member>
- <member name="uv2_triplanar" type="bool" setter="set_flag" getter="get_flag">
- </member>
- <member name="uv2_triplanar_sharpness" type="float" setter="set_uv2_triplanar_blend_sharpness" getter="get_uv2_triplanar_blend_sharpness">
- </member>
- <member name="vertex_color_is_srgb" type="bool" setter="set_flag" getter="get_flag">
- </member>
- <member name="vertex_color_use_as_albedo" type="bool" setter="set_flag" getter="get_flag">
- </member>
- </members>
- <constants>
- <constant name="TEXTURE_ALBEDO" value="0">
- </constant>
- <constant name="TEXTURE_METALLIC" value="1">
- </constant>
- <constant name="TEXTURE_ROUGHNESS" value="2">
- </constant>
- <constant name="TEXTURE_EMISSION" value="3">
- </constant>
- <constant name="TEXTURE_NORMAL" value="4">
- </constant>
- <constant name="TEXTURE_RIM" value="5">
- </constant>
- <constant name="TEXTURE_CLEARCOAT" value="6">
- </constant>
- <constant name="TEXTURE_FLOWMAP" value="7">
- </constant>
- <constant name="TEXTURE_AMBIENT_OCCLUSION" value="8">
- </constant>
- <constant name="TEXTURE_DEPTH" value="9">
- </constant>
- <constant name="TEXTURE_SUBSURFACE_SCATTERING" value="10">
- </constant>
- <constant name="TEXTURE_TRANSMISSION" value="11">
- </constant>
- <constant name="TEXTURE_REFRACTION" value="12">
- </constant>
- <constant name="TEXTURE_DETAIL_MASK" value="13">
- </constant>
- <constant name="TEXTURE_DETAIL_ALBEDO" value="14">
- </constant>
- <constant name="TEXTURE_DETAIL_NORMAL" value="15">
- </constant>
- <constant name="TEXTURE_MAX" value="16">
- </constant>
- <constant name="DETAIL_UV_1" value="0">
- </constant>
- <constant name="DETAIL_UV_2" value="1">
- </constant>
- <constant name="FEATURE_TRANSPARENT" value="0">
- </constant>
- <constant name="FEATURE_EMISSION" value="1">
- </constant>
- <constant name="FEATURE_NORMAL_MAPPING" value="2">
- </constant>
- <constant name="FEATURE_RIM" value="3">
- </constant>
- <constant name="FEATURE_CLEARCOAT" value="4">
- </constant>
- <constant name="FEATURE_ANISOTROPY" value="5">
- </constant>
- <constant name="FEATURE_AMBIENT_OCCLUSION" value="6">
- </constant>
- <constant name="FEATURE_DEPTH_MAPPING" value="7">
- </constant>
- <constant name="FEATURE_SUBSURACE_SCATTERING" value="8">
- </constant>
- <constant name="FEATURE_TRANSMISSION" value="9">
- </constant>
- <constant name="FEATURE_REFRACTION" value="10">
- </constant>
- <constant name="FEATURE_DETAIL" value="11">
- </constant>
- <constant name="FEATURE_MAX" value="12">
- </constant>
- <constant name="BLEND_MODE_MIX" value="0">
- </constant>
- <constant name="BLEND_MODE_ADD" value="1">
- </constant>
- <constant name="BLEND_MODE_SUB" value="2">
- </constant>
- <constant name="BLEND_MODE_MUL" value="3">
- </constant>
- <constant name="DEPTH_DRAW_OPAQUE_ONLY" value="0">
- </constant>
- <constant name="DEPTH_DRAW_ALWAYS" value="1">
- </constant>
- <constant name="DEPTH_DRAW_DISABLED" value="2">
- </constant>
- <constant name="DEPTH_DRAW_ALPHA_OPAQUE_PREPASS" value="3">
- </constant>
- <constant name="CULL_BACK" value="0">
- </constant>
- <constant name="CULL_FRONT" value="1">
- </constant>
- <constant name="CULL_DISABLED" value="2">
- </constant>
- <constant name="FLAG_UNSHADED" value="0">
- </constant>
- <constant name="FLAG_USE_VERTEX_LIGHTING" value="1">
- </constant>
- <constant name="FLAG_DISABLE_DEPTH_TEST" value="2">
- </constant>
- <constant name="FLAG_ALBEDO_FROM_VERTEX_COLOR" value="3">
- </constant>
- <constant name="FLAG_SRGB_VERTEX_COLOR" value="4">
- </constant>
- <constant name="FLAG_USE_POINT_SIZE" value="5">
- </constant>
- <constant name="FLAG_FIXED_SIZE" value="6">
- </constant>
- <constant name="FLAG_UV1_USE_TRIPLANAR" value="7">
- </constant>
- <constant name="FLAG_UV2_USE_TRIPLANAR" value="8">
- </constant>
- <constant name="FLAG_AO_ON_UV2" value="10">
- </constant>
- <constant name="FLAG_USE_ALPHA_SCISSOR" value="11">
- </constant>
- <constant name="FLAG_TRIPLANAR_USE_WORLD" value="9">
- </constant>
- <constant name="FLAG_MAX" value="12">
- </constant>
- <constant name="DIFFUSE_BURLEY" value="0">
- </constant>
- <constant name="DIFFUSE_LAMBERT" value="1">
- </constant>
- <constant name="DIFFUSE_LAMBERT_WRAP" value="2">
- </constant>
- <constant name="DIFFUSE_OREN_NAYAR" value="3">
- </constant>
- <constant name="DIFFUSE_TOON" value="4">
- </constant>
- <constant name="SPECULAR_SCHLICK_GGX" value="0">
- </constant>
- <constant name="SPECULAR_BLINN" value="1">
- </constant>
- <constant name="SPECULAR_PHONG" value="2">
- </constant>
- <constant name="SPECULAR_TOON" value="3">
- </constant>
- <constant name="SPECULAR_DISABLED" value="4">
- </constant>
- <constant name="BILLBOARD_DISABLED" value="0">
- </constant>
- <constant name="BILLBOARD_ENABLED" value="1">
- </constant>
- <constant name="BILLBOARD_FIXED_Y" value="2">
- </constant>
- <constant name="BILLBOARD_PARTICLES" value="3">
- </constant>
- <constant name="TEXTURE_CHANNEL_RED" value="0">
- </constant>
- <constant name="TEXTURE_CHANNEL_GREEN" value="1">
- </constant>
- <constant name="TEXTURE_CHANNEL_BLUE" value="2">
- </constant>
- <constant name="TEXTURE_CHANNEL_ALPHA" value="3">
- </constant>
- <constant name="TEXTURE_CHANNEL_GRAYSCALE" value="4">
- </constant>
- </constants>
- </class>
|