Example #1
0
        public bool IsActionFinishing(SkeletonAction action)
        {
            if (!IsActionHot(action) || !IsCapable(action))
            {
                return(false);
            }

            if (m_GUIWrapper.IsEventOutsideWindow())
            {
                return(true);
            }

            if (action == SkeletonAction.CreateBone)
            {
                return(m_GUIWrapper.IsMouseDown(0));
            }

            return(m_GUIWrapper.IsMouseUp(0));
        }