An animation in a View.
Inheritance: Asset
示例#1
0
        internal ViewAnimation FindAnimation(AssetLoader loader, ushort offset)
        {
            BinaryReader reader = loader.Reader;

            foreach (var item in Animations)
            {
                if (item.DataOffset == offset)
                {
                    return(item);
                }
            }

            reader.BaseStream.Position = offset;
            var animation = new ViewAnimation(this, loader);

            AnimationsMutable.Add(animation);
            return(animation);
        }
示例#2
0
        internal ViewAnimation FindAnimation(AssetLoader loader, ushort offset)
        {
            BinaryReader reader = loader.Reader;

            foreach (var item in Animations)
                if (item.DataOffset == offset)
                    return item;

            reader.BaseStream.Position = offset;
            var animation = new ViewAnimation(this, loader);
            AnimationsMutable.Add(animation);
            return animation;
        }
示例#3
0
 internal ViewGroup(ViewAnimation animation, bool isMirrored)
 {
     IsMirrored = isMirrored;
     Animation  = animation;
 }
示例#4
0
 internal ViewGroup(ViewAnimation animation, bool isMirrored)
 {
     IsMirrored = isMirrored;
     Animation = animation;
 }