123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- using System;
- using System.Collections.Generic;
- namespace Spine
- {
- public class IkConstraintData
- {
- public IkConstraintData(string name)
- {
- if (name == null)
- {
- throw new ArgumentNullException("name cannot be null.");
- }
- this.name = name;
- }
- public string Name
- {
- get
- {
- return this.name;
- }
- }
- public List<BoneData> Bones
- {
- get
- {
- return this.bones;
- }
- }
- public BoneData Target
- {
- get
- {
- return this.target;
- }
- set
- {
- this.target = value;
- }
- }
- public int BendDirection
- {
- get
- {
- return this.bendDirection;
- }
- set
- {
- this.bendDirection = value;
- }
- }
- public float Mix
- {
- get
- {
- return this.mix;
- }
- set
- {
- this.mix = value;
- }
- }
- public override string ToString()
- {
- return this.name;
- }
- internal string name;
- internal List<BoneData> bones = new List<BoneData>();
- internal BoneData target;
- internal int bendDirection = 1;
- internal float mix = 1f;
- }
- }
|