cb0bf1edea
Schlick's approximation and GGX are orthogonal concepts. Furthermore, it's usage so far has been inconsistent: we don't even use it with anisotropic SchlickGGX, and Burley (Disney) diffuse does use it while its name doesn't indicate it. The use of Schlick's approximation in Burley and GGX is an implementation detail and doesn't need to be reflected to the namig.
1117 lines
34 KiB
XML
1117 lines
34 KiB
XML
<?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_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>
|