Exemple #1
0
        public void Fill(MorphData morphData)
        {
            name = morphData.name;
            blendshapeStateCereal = new BlendshapeStateCereal();
            jctDataCereal         = new JCTDataCereal();

            blendshapeStateCereal.Fill(morphData.blendshapeState);
            jctDataCereal.Fill(morphData.jctData);
        }
Exemple #2
0
        public MorphData Extract()
        {
            MorphData morphData = new MorphData();

            morphData.name            = name;
            morphData.blendshapeState = blendshapeStateCereal.Extract();
            morphData.jctData         = jctDataCereal.Extract();

            return(morphData);
        }