mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 21:22:48 +00:00
doc: Sync classref with current source
This commit is contained in:
parent
e8706848e6
commit
2446dbfba1
@ -39,6 +39,8 @@
|
||||
<member name="directional_shadow_split_3" type="float" setter="set_param" getter="get_param" default="0.5">
|
||||
The distance from shadow split 2 to split 3. Relative to [member directional_shadow_max_distance]. Only used when [member directional_shadow_mode] is [code]SHADOW_PARALLEL_4_SPLITS[/code].
|
||||
</member>
|
||||
<member name="shadow_bias" type="float" setter="set_param" getter="get_param" override="true" default="0.05" />
|
||||
<member name="shadow_normal_bias" type="float" setter="set_param" getter="get_param" override="true" default="1.0" />
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="SHADOW_ORTHOGONAL" value="0" enum="ShadowMode">
|
||||
|
@ -65,7 +65,7 @@
|
||||
<member name="light_specular" type="float" setter="set_param" getter="get_param" default="0.5">
|
||||
The intensity of the specular blob in objects affected by the light. At [code]0[/code], the light becomes a pure diffuse light. When not baking emission, this can be used to avoid unrealistic reflections when placing lights above an emissive surface.
|
||||
</member>
|
||||
<member name="shadow_bias" type="float" setter="set_param" getter="get_param" default="0.02">
|
||||
<member name="shadow_bias" type="float" setter="set_param" getter="get_param" default="0.1">
|
||||
Used to adjust shadow appearance. Too small a value results in self-shadowing ("shadow acne"), while too large a value causes shadows to separate from casters ("peter-panning"). Adjust as needed.
|
||||
</member>
|
||||
<member name="shadow_blur" type="float" setter="set_param" getter="get_param" default="1.0">
|
||||
@ -77,7 +77,7 @@
|
||||
<member name="shadow_enabled" type="bool" setter="set_shadow" getter="has_shadow" default="false">
|
||||
If [code]true[/code], the light will cast shadows.
|
||||
</member>
|
||||
<member name="shadow_normal_bias" type="float" setter="set_param" getter="get_param" default="1.0">
|
||||
<member name="shadow_normal_bias" type="float" setter="set_param" getter="get_param" default="2.0">
|
||||
Offsets the lookup into the shadow map by the object's normal. This can be used to reduce self-shadowing artifacts without using [member shadow_bias]. In practice, this value should be tweaked along with [member shadow_bias] to reduce artifacts as much as possible.
|
||||
</member>
|
||||
<member name="shadow_reverse_cull_face" type="bool" setter="set_shadow_reverse_cull_face" getter="get_shadow_reverse_cull_face" default="false">
|
||||
|
@ -52,7 +52,7 @@
|
||||
Clears the tag stack and sets [member bbcode_text] to an empty string.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_content_height">
|
||||
<method name="get_content_height" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
|
@ -12,6 +12,8 @@
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="shadow_bias" type="float" setter="set_param" getter="get_param" override="true" default="0.02" />
|
||||
<member name="shadow_normal_bias" type="float" setter="set_param" getter="get_param" override="true" default="1.0" />
|
||||
<member name="spot_angle" type="float" setter="set_param" getter="get_param" default="45.0">
|
||||
The spotlight's angle in degrees.
|
||||
</member>
|
||||
|
13
doc/classes/VisualShaderNodeTexture2DArrayUniform.xml
Normal file
13
doc/classes/VisualShaderNodeTexture2DArrayUniform.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VisualShaderNodeTexture2DArrayUniform" inherits="VisualShaderNodeTextureUniform" version="4.0">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
Loading…
Reference in New Issue
Block a user