Skip to content

Commit adf1147

Browse files
authored
BlendSpace.java: decomposed notes at the class-entry from the blend weight values meaning
1 parent b03dec8 commit adf1147

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

jme3-core/src/main/java/com/jme3/anim/tween/action/BlendSpace.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* The blending weight is a read-only value, and it can be manipulated using the arbitrary value {@link BlendSpace#setValue(float)} during the application runtime.
3737
*
3838
* <p>
39-
* Notes:
39+
* Notes about the blending action and its relations with the blending weight:
4040
* <ul>
4141
* <li> Blending is the action of mixing between 2 successive animation {@link BlendableAction}s by interpolating their transforms and
4242
* then applying the result on the assigned {@link HasLocalTransform} object, the {@link BlendSpace} provides this blending action with a blend weight value. </li>
@@ -52,11 +52,17 @@
5252
* a blend value of 1 and the second action will use the blend space weight as a value for the interpolation. </li>
5353
* <li> In case of (Blending weight = 0), the blending hasn't started yet, only the first action will be interpolated at (weight = 1). </li>
5454
* <li> In case of (Blending weight = 1), the blending is finished and only the second action will continue to run at (weight = 1). </li>
55-
* <li> Negative values and values greater than 1 aren't allowed (i.e., extrapolations aren't allowed). </li>
56-
* <li> Find more at {@link BlendAction#doInterpolate(double)} and {@link BlendAction#collectTransform(HasLocalTransform, Transform, float, BlendableAction)}. </li>
5755
* </ul>
5856
* </p>
5957
*
58+
* <p>
59+
* Notes about the blending weight value:
60+
* <ul>
61+
* <li> Negative values and values greater than 1 aren't allowed (i.e., extrapolations aren't allowed). </li>
62+
* <li> For more details, see {@link BlendAction#doInterpolate(double)} and {@link BlendAction#collectTransform(HasLocalTransform, Transform, float, BlendableAction)}. </li>
63+
* </ul>
64+
* </p>
65+
*
6066
* Created by Nehon.
6167
* @see LinearBlendSpace an example of blendspace implementation
6268
*/

0 commit comments

Comments
 (0)