Reign.Video.Abstraction.ObjectArmature.ObjectArmature C# (CSharp) Method

ObjectArmature() public method

public ObjectArmature ( BinaryReader reader, Model model ) : System.Collections.Generic
reader System.IO.BinaryReader
model Model
return System.Collections.Generic
        public ObjectArmature(BinaryReader reader, Model model)
            : base(reader, model)
        {
            string armatureName = reader.ReadString();
            foreach (var armature in model.Armatures)
            {
                if (armatureName == armature.Name)
                {
                    Armature = armature;
                    break;
                }
            }
        }