doc: Sync classref with current source
This commit is contained in:
parent
09474ba4c4
commit
8fda8769d1
|
@ -110,6 +110,12 @@
|
|||
Get the actual playing speed of current animation or 0 if not playing. This speed is the [code]playback_speed[/code] property multiplied by [code]custom_speed[/code] argument specified when calling the [code]play[/code] method.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_queue">
|
||||
<return type="PoolStringArray">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="has_animation" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
|
|
|
@ -127,11 +127,11 @@
|
|||
</member>
|
||||
<member name="randomness" type="float" setter="set_randomness_ratio" getter="get_randomness_ratio">
|
||||
</member>
|
||||
<member name="scale" type="float" setter="set_param" getter="get_param">
|
||||
<member name="scale_amount" type="float" setter="set_param" getter="get_param">
|
||||
</member>
|
||||
<member name="scale_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
||||
<member name="scale_amount_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
||||
</member>
|
||||
<member name="scale_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
<member name="scale_amount_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
</member>
|
||||
<member name="speed_scale" type="float" setter="set_speed_scale" getter="get_speed_scale">
|
||||
</member>
|
||||
|
|
|
@ -123,11 +123,11 @@
|
|||
</member>
|
||||
<member name="randomness" type="float" setter="set_randomness_ratio" getter="get_randomness_ratio">
|
||||
</member>
|
||||
<member name="scale" type="float" setter="set_param" getter="get_param">
|
||||
<member name="scale_amount" type="float" setter="set_param" getter="get_param">
|
||||
</member>
|
||||
<member name="scale_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
||||
<member name="scale_amount_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
||||
</member>
|
||||
<member name="scale_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
<member name="scale_amount_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||
</member>
|
||||
<member name="speed_scale" type="float" setter="set_speed_scale" getter="get_speed_scale">
|
||||
</member>
|
||||
|
|
|
@ -159,6 +159,8 @@
|
|||
<member name="glow_enabled" type="bool" setter="set_glow_enabled" getter="is_glow_enabled">
|
||||
Enables glow rendering.
|
||||
</member>
|
||||
<member name="glow_hdr_luminance_cap" type="float" setter="set_glow_hdr_luminance_cap" getter="get_glow_hdr_luminance_cap">
|
||||
</member>
|
||||
<member name="glow_hdr_scale" type="float" setter="set_glow_hdr_bleed_scale" getter="get_glow_hdr_bleed_scale">
|
||||
Bleed scale of the HDR glow.
|
||||
</member>
|
||||
|
|
|
@ -242,6 +242,8 @@
|
|||
</member>
|
||||
<member name="linear_spring_z/stiffness" type="float" setter="set_param_z" getter="get_param_z">
|
||||
</member>
|
||||
<member name="precision" type="int" setter="set_precision" getter="get_precision">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
<constant name="PARAM_LINEAR_LOWER_LIMIT" value="0" enum="Param">
|
||||
|
|
|
@ -467,7 +467,9 @@
|
|||
<constant name="MENU_UNDO" value="5" enum="MenuItems">
|
||||
Undoes the previous action.
|
||||
</constant>
|
||||
<constant name="MENU_MAX" value="6" enum="MenuItems">
|
||||
<constant name="MENU_REDO" value="6" enum="MenuItems">
|
||||
</constant>
|
||||
<constant name="MENU_MAX" value="7" enum="MenuItems">
|
||||
</constant>
|
||||
</constants>
|
||||
<theme_items>
|
||||
|
|
|
@ -12,6 +12,12 @@
|
|||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="clear">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="clear_color">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
|
|
@ -1161,7 +1161,9 @@
|
|||
</argument>
|
||||
<argument index="8" name="hdr_bleed_scale" type="float">
|
||||
</argument>
|
||||
<argument index="9" name="bicubic_upscale" type="bool">
|
||||
<argument index="9" name="hdr_luminance_cap" type="float">
|
||||
</argument>
|
||||
<argument index="10" name="bicubic_upscale" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
|
|
@ -1909,7 +1909,7 @@ void VisualServer::_bind_methods() {
|
|||
ClassDB::bind_method(D_METHOD("environment_set_ambient_light", "env", "color", "energy", "sky_contibution"), &VisualServer::environment_set_ambient_light, DEFVAL(1.0), DEFVAL(0.0));
|
||||
ClassDB::bind_method(D_METHOD("environment_set_dof_blur_near", "env", "enable", "distance", "transition", "far_amount", "quality"), &VisualServer::environment_set_dof_blur_near);
|
||||
ClassDB::bind_method(D_METHOD("environment_set_dof_blur_far", "env", "enable", "distance", "transition", "far_amount", "quality"), &VisualServer::environment_set_dof_blur_far);
|
||||
ClassDB::bind_method(D_METHOD("environment_set_glow", "env", "enable", "level_flags", "intensity", "strength", "bloom_threshold", "blend_mode", "hdr_bleed_threshold", "hdr_bleed_scale", "bicubic_upscale"), &VisualServer::environment_set_glow);
|
||||
ClassDB::bind_method(D_METHOD("environment_set_glow", "env", "enable", "level_flags", "intensity", "strength", "bloom_threshold", "blend_mode", "hdr_bleed_threshold", "hdr_bleed_scale", "hdr_luminance_cap", "bicubic_upscale"), &VisualServer::environment_set_glow);
|
||||
ClassDB::bind_method(D_METHOD("environment_set_tonemap", "env", "tone_mapper", "exposure", "white", "auto_exposure", "min_luminance", "max_luminance", "auto_exp_speed", "auto_exp_grey"), &VisualServer::environment_set_tonemap);
|
||||
ClassDB::bind_method(D_METHOD("environment_set_adjustment", "env", "enable", "brightness", "contrast", "saturation", "ramp"), &VisualServer::environment_set_adjustment);
|
||||
ClassDB::bind_method(D_METHOD("environment_set_ssr", "env", "enable", "max_steps", "fade_in", "fade_out", "depth_tolerance", "roughness"), &VisualServer::environment_set_ssr);
|
||||
|
|
Loading…
Reference in New Issue