소스 검색

BlendSpace#getWeight(): explicitly saying "negative values and values above 1 aren't allowed"

pavl_g 2 년 전
부모
커밋
637275f51f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      jme3-core/src/main/java/com/jme3/anim/tween/action/BlendSpace.java

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

@@ -69,7 +69,8 @@ public interface BlendSpace {
      * Provides the blend weight value to the assigned {@link BlendAction} instance,
      * this value will be used for interpolating a collection of actions' transformations (keyframes).
      * 
-     * @return the blending weight value in the range from 0 to 1.
+     * @return the blending weight value in the range from 0 to 1, 
+     *         negative values and values above 1 aren't allowed.
      * @see LinearBlendSpace#getWeight()
      */
     public float getWeight();