Example #1
0
 /* ----------------------------------------------- Functions */
 #region Functions
 public bool ValueGet(ref Library_SpriteStudio6.Data.Animation.Attribute.VertexCorrection outValue,
                      ref int outFrameKey,
                      Library_SpriteStudio6.Data.Animation.PackAttribute.ContainerVertexCorrection container,
                      ref Library_SpriteStudio6.Data.Animation.PackAttribute.ArgumentContainer argument
                      )
 {
     return(Library_SpriteStudio6.Data.Animation.PackAttribute.StandardUncompressed.ValueGet(ref outValue, ref outFrameKey, argument.Frame, container.TableValue));
 }
Example #2
0
                        public bool Pack(Library_SpriteStudio6.Data.Animation.PackAttribute.ContainerVertexCorrection container,
                                         string nameAttribute,
                                         int countFrame,
                                         Library_SpriteStudio6.Data.Animation.Parts.FlagBitStatus flagStatusParts,
                                         int[] tableOrderDraw,
                                         int[] tableOrderPreDraw,
                                         params Library_SpriteStudio6.Data.Animation.Attribute.Importer.AttributeVertexCorrection[] listKeyData
                                         )
                        {                               /* MEMO: "ListKeyData.Length" is always 1 *//* MEMO: No inheritance is related to attribute stored in this type. */
                            container.TableCodeValue = new Library_SpriteStudio6.Data.Animation.PackAttribute.CodeValueContainer[0];

                            if (0 >= listKeyData[0].CountGetKey())
                            {
                                container.TableValue = new Library_SpriteStudio6.Data.Animation.Attribute.VertexCorrection[0];
                                return(true);
                            }

                            container.TableValue = new Library_SpriteStudio6.Data.Animation.Attribute.VertexCorrection[countFrame];
                            for (int i = 0; i < countFrame; i++)
                            {
                                listKeyData[0].ValueGet(out container.TableValue[i], i);
                            }
                            return(true);
                        }
Example #3
0
 public int CountGetValue(Library_SpriteStudio6.Data.Animation.PackAttribute.ContainerVertexCorrection container)
 {
     return(container.TableValue.Length);
 }