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

Bone() public method

public Bone ( BinaryReader reader ) : System.Collections.Generic
reader System.IO.BinaryReader
return System.Collections.Generic
        public Bone(BinaryReader reader)
        {
            Name = reader.ReadString();
            parentName = reader.ReadString();

            InheritScale = reader.ReadBoolean();
            InheritRotation = reader.ReadBoolean();
            Position = reader.ReadVector3();
            RotationMatrix = reader.ReadMatrix3();
            Rotation = Quaternion.FromMatrix3(RotationMatrix);
        }