public void LoadFrom(Stream stream)
        {
            BinaryReader reader = new BinaryReader(stream);

            m_StateMachineIndex          = reader.ReadUInt32();
            m_StateMachineMotionSetIndex = reader.ReadUInt32();
            m_BodyMask                 = new HumanPoseMask(stream);
            m_SkeletonMask             = new SkeletonMask(stream);
            m_Binding                  = reader.ReadUInt32();
            m_LayerBlendingMode        = reader.ReadInt32();
            m_DefaultWeight            = reader.ReadSingle();
            m_IKPass                   = reader.ReadBoolean();
            m_SyncedLayerAffectsTiming = reader.ReadBoolean();
            reader.ReadBytes(2);
        }
Example #2
0
 public void LoadFrom(Stream stream)
 {
     BinaryReader reader = new BinaryReader(stream);
     m_StateMachineIndex = reader.ReadUInt32();
     m_StateMachineMotionSetIndex = reader.ReadUInt32();
     m_BodyMask = new HumanPoseMask(stream);
     m_SkeletonMask = new SkeletonMask(stream);
     m_Binding = reader.ReadUInt32();
     m_LayerBlendingMode = reader.ReadInt32();
     m_DefaultWeight = reader.ReadSingle();
     m_IKPass = reader.ReadBoolean();
     m_SyncedLayerAffectsTiming = reader.ReadBoolean();
     reader.ReadBytes(2);
 }