[DOCS] Corrections and clarifications
(cherry picked from commit 285234e8d9
)
This commit is contained in:
parent
3395a55db4
commit
fdc2bb1952
|
@ -100,7 +100,7 @@
|
||||||
<argument index="3" name="t" type="float">
|
<argument index="3" name="t" type="float">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Cubicly interpolates between this vector and [code]b[/code] using [code]pre_a[/code] and [code]post_b[/code] as handles, and returns the result at position [code]t[/code]. [code]t[/code] is in the range of [code]0.0 - 1.0[/code], or a percentage of how far along the interpolation is.
|
Cubicly interpolates between this vector and [code]b[/code] using [code]pre_a[/code] and [code]post_b[/code] as handles, and returns the result at position [code]t[/code]. [code]t[/code] is in the range of [code]0.0 - 1.0[/code], representing the amount of interpolation.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="distance_squared_to">
|
<method name="distance_squared_to">
|
||||||
|
@ -166,7 +166,7 @@
|
||||||
<argument index="1" name="t" type="float">
|
<argument index="1" name="t" type="float">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Returns the result of the linear interpolation between this vector and [code]b[/code] by amount [code]t[/code]. [code]t[/code] is in the range of [code]0.0 - 1.0[/code], a percentage of how far along the interpolation is.
|
Returns the result of the linear interpolation between this vector and [code]b[/code] by amount [code]t[/code]. [code]t[/code] is in the range of [code]0.0 - 1.0[/code], representing the amount of interpolation.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="normalized">
|
<method name="normalized">
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
<argument index="3" name="t" type="float">
|
<argument index="3" name="t" type="float">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Performs a cubic interpolation between vectors [code]pre_a[/code], [code]a[/code], [code]b[/code], [code]post_b[/code] ([code]a[/code] is current), by the given amount (t). (t) should be a float of 0.0-1.0, a percentage of how far along the interpolation is.
|
Performs a cubic interpolation between vectors [code]pre_a[/code], [code]a[/code], [code]b[/code], [code]post_b[/code] ([code]a[/code] is current), by the given amount [code]t[/code]. [code]t[/code] is in the range of [code]0.0 - 1.0[/code], representing the amount of interpolation.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="distance_squared_to">
|
<method name="distance_squared_to">
|
||||||
|
@ -151,7 +151,7 @@
|
||||||
<argument index="1" name="t" type="float">
|
<argument index="1" name="t" type="float">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Returns the result of the linear interpolation between this vector and [code]b[/code] by amount [code]t[/code]. [code]t[/code] is in the range of [code]0.0 - 1.0[/code], a percentage of how far along the interpolation is.
|
Returns the result of the linear interpolation between this vector and [code]b[/code] by amount [code]t[/code]. [code]t[/code] is in the range of [code]0.0 - 1.0[/code], representing the amount of interpolation..
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="max_axis">
|
<method name="max_axis">
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<class name="VideoStream" inherits="Resource" category="Core" version="3.0.7">
|
<class name="VideoStream" inherits="Resource" category="Core" version="3.0.7">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
|
Base resource for video streams.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<class name="ViewportContainer" inherits="Container" category="Core" version="3.0.7">
|
<class name="ViewportContainer" inherits="Container" category="Core" version="3.0.7">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
|
Control for holding [Viewport]s.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
|
A [Container] node that holds a [Viewport], automatically setting its size.
|
||||||
</description>
|
</description>
|
||||||
<tutorials>
|
<tutorials>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
|
@ -12,6 +14,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="stretch" type="bool" setter="set_stretch" getter="is_stretch_enabled">
|
<member name="stretch" type="bool" setter="set_stretch" getter="is_stretch_enabled">
|
||||||
|
If [code]true[/code] the viewport will be scaled to the control's size. Default value:[code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="stretch_shrink" type="int" setter="set_stretch_shrink" getter="get_stretch_shrink">
|
<member name="stretch_shrink" type="int" setter="set_stretch_shrink" getter="get_stretch_shrink">
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
If [code]true[/code] the user can resize the window. Default value: [code]false[/code].
|
If [code]true[/code] the user can resize the window. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="window_title" type="String" setter="set_title" getter="get_title">
|
<member name="window_title" type="String" setter="set_title" getter="get_title">
|
||||||
The text displayed in the window's title bar. Default value: "Save a File".
|
The text displayed in the window's title bar.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
Loading…
Reference in New Issue