summaryrefslogtreecommitdiffstats
path: root/doc/classes/Quaternion.xml
diff options
context:
space:
mode:
authorSilc Renew <tokage.it.lab@gmail.com>2022-07-29 04:55:10 +0900
committerSilc Renew <tokage.it.lab@gmail.com>2022-08-19 14:48:37 +0900
commitdded7c72c1d3ceff45c7c5279d430e4622e32da9 (patch)
treeb2529e3d03d1471238f708dad2a35f34ab4d9f21 /doc/classes/Quaternion.xml
parent0ba1046355b689d33eeed13a2633b174d62ccff8 (diff)
downloadredot-engine-dded7c72c1d3ceff45c7c5279d430e4622e32da9.tar.gz
Make `cubic_interpolate()` consider key time in animation
Diffstat (limited to 'doc/classes/Quaternion.xml')
-rw-r--r--doc/classes/Quaternion.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/classes/Quaternion.xml b/doc/classes/Quaternion.xml
index bc0ffbefe2..a521af5709 100644
--- a/doc/classes/Quaternion.xml
+++ b/doc/classes/Quaternion.xml
@@ -171,6 +171,20 @@
Performs a spherical cubic interpolation between quaternions [param pre_a], this vector, [param b], and [param post_b], by the given amount [param weight].
</description>
</method>
+ <method name="spherical_cubic_interpolate_in_time" qualifiers="const">
+ <return type="Quaternion" />
+ <param index="0" name="b" type="Quaternion" />
+ <param index="1" name="pre_a" type="Quaternion" />
+ <param index="2" name="post_b" type="Quaternion" />
+ <param index="3" name="weight" type="float" />
+ <param index="4" name="b_t" type="float" />
+ <param index="5" name="pre_a_t" type="float" />
+ <param index="6" name="post_b_t" type="float" />
+ <description>
+ Performs a spherical cubic interpolation between quaternions [param pre_a], this vector, [param b], and [param post_b], by the given amount [param weight].
+ It can perform smoother interpolation than [code]spherical_cubic_interpolate()[/code] by the time values.
+ </description>
+ </method>
</methods>
<members>
<member name="w" type="float" setter="" getter="" default="1.0">