public void CopyTo(MAnimationController m) { m.TotalTime = TotalTime; m.FrameCounter = FrameCounter; m.sActiveAnimation = sActiveAnimation; m.TotalTime = TotalTime; }
public MAnimatedModel(EType type = EType.AnimatedModel, string sName = "AnimatedModel") : base(type, sName) { // Meshes = new List<MAnimatedMesh>(); m_bone_mapping = new Dictionary <string, uint>(); _animationController = new MAnimationController(); for (int i = 0; i < MAX_BONES; i++) { transforms[i] = Matrix4x4.Identity; } }