浏览代码

Javadoc for chain scale bone parent requirement.

Nathan Sweet 4 年之前
父节点
当前提交
036b02a917
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/PathConstraintData.java

+ 4 - 1
spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/PathConstraintData.java

@@ -168,7 +168,10 @@ public class PathConstraintData extends ConstraintData {
 	 * <p>
 	 * <p>
 	 * See <a href="http://esotericsoftware.com/spine-path-constraints#Rotate-mode">Rotate mode</a> in the Spine User Guide. */
 	 * See <a href="http://esotericsoftware.com/spine-path-constraints#Rotate-mode">Rotate mode</a> in the Spine User Guide. */
 	static public enum RotateMode {
 	static public enum RotateMode {
-		tangent, chain, chainScale;
+		tangent, chain,
+		/** When chain scale, constrained bones should all have the same parent. That way when the path constraint scales a bone, it
+		 * doesn't affect other constrained bones. */
+		chainScale;
 
 
 		static public final RotateMode[] values = RotateMode.values();
 		static public final RotateMode[] values = RotateMode.values();
 	}
 	}