123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- using System;
- using System.Collections.Generic;
- namespace Spine {
-
- public class IkConstraintData : ConstraintData {
- internal ExposedList<BoneData> bones = new ExposedList<BoneData>();
- internal BoneData target;
- internal int bendDirection = 1;
- internal bool compress, stretch, uniform;
- internal float mix = 1, softness;
- public IkConstraintData (string name) : base(name) {
- }
-
- public ExposedList<BoneData> Bones {
- get { return bones; }
- }
-
- public BoneData Target {
- get { return target; }
- set { target = value; }
- }
-
-
- public float Mix {
- get { return mix; }
- set { mix = value; }
- }
-
- public float Softness {
- get { return softness; }
- set { softness = value; }
- }
-
- public int BendDirection {
- get { return bendDirection; }
- set { bendDirection = value; }
- }
-
-
-
- public bool Compress {
- get { return compress; }
- set { compress = value; }
- }
-
-
-
- public bool Stretch {
- get { return stretch; }
- set { stretch = value; }
- }
-
-
-
- public bool Uniform {
- get { return uniform; }
- set { uniform = value; }
- }
- }
- }
|