Пример #1
0
        //public CUInt16 unk3;
        //public CUInt16 unk4;


        public SCurveData(CR2WFile cr2w) : base(cr2w)
        {
            time = new CFloat(cr2w)
            {
                Name = "x"
            };
            value = new CFloat(cr2w)
            {
                Name = "y"
            };
            controlPoint1 = new CQuaternion(cr2w)
            {
                Name = "controlPoint1"
            };
            controlPoint2 = new CQuaternion(cr2w)
            {
                Name = "controlPoint2"
            };
            curveTypeL = new CUInt32(cr2w)
            {
                Name = "curveTypeL"
            };
            curveTypeR = new CUInt32(cr2w)
            {
                Name = "curveTypeR"
            };
            //unk3 = new CUInt16(cr2w) { Name = "curveTypeL" };
            //unk4 = new CUInt16(cr2w) { Name = "curveTypeR" };
        }
Пример #2
0
 public SSkeletonRigData(CR2WFile cr2w) : base(cr2w)
 {
     position = new CQuaternion(cr2w)
     {
         Name = "position"
     };
     rotation = new CQuaternion(cr2w)
     {
         Name = "rotation"
     };
     scale = new CQuaternion(cr2w)
     {
         Name = "scale"
     };
 }