Răsfoiți Sursa

Explain flatness of 'values' parameter for Quaternion/VectorKeyframeT… (#22766)

* Explain flatness of 'values' parameter for Quaternion/VectorKeyframeTrack ctor

* Also explain flatness of 'values' in ColorKeyframeTrack
Joshua Campbell 3 ani în urmă
părinte
comite
1ad67b0b02

+ 1 - 1
docs/api/en/animation/tracks/ColorKeyframeTrack.html

@@ -26,7 +26,7 @@
 		<p>
 			[page:String name] - (required) identifier for the KeyframeTrack.<br />
 			[page:Array times] - (required) array of keyframe times.<br />
-			[page:Array values] - values for the keyframes at the times specified.<br />
+			[page:Array values] - values for the keyframes at the times specified, a flat array of color components between 0 and 1.<br />
 			[page:Constant interpolation] - the type of interpolation to use. See
 			[page:Animation Animation Constants] for possible values. Default is
 			[page:Animation InterpolateLinear].

+ 1 - 1
docs/api/en/animation/tracks/QuaternionKeyframeTrack.html

@@ -24,7 +24,7 @@
 		<p>
 			[page:String name] (required) identifier for the KeyframeTrack.<br />
 			[page:Array times] (required) array of keyframe times.<br />
-			[page:Array values] values for the keyframes at the times specified.<br />
+			[page:Array values] values for the keyframes at the times specified, a flat array of quaternion components.<br />
 			[page:Constant interpolation] the type of interpolation to use. See
 			[page:Animation Animation Constants] for possible values. Default is
 			[page:Animation InterpolateLinear].

+ 1 - 1
docs/api/en/animation/tracks/VectorKeyframeTrack.html

@@ -24,7 +24,7 @@
 		<p>
 			[page:String name] - (required) identifier for the KeyframeTrack.<br />
 			[page:Array times] - (required) array of keyframe times.<br />
-			[page:Array values] - values for the keyframes at the times specified.<br />
+			[page:Array values] - values for the keyframes at the times specified, a flat array of vector components.<br />
 			[page:Constant interpolation] - the type of interpolation to use. See
 			[page:Animation Animation Constants] for possible values. Default is
 			[page:Animation InterpolateLinear].