Beispiel #1
0
        public static BonePose Create(Pose p, float l)
        {
            var pose = new BonePose()
            {
                pose   = p,
                length = l
            };

            return(pose);
        }
Beispiel #2
0
        public void SetDefaultPose()
        {
            m_DefaultPose = localPose;

            if (IsUnscaled())
            {
                m_BindPose = worldPose.pose;
            }
            else
            {
                throw new Exception("BindPose cannot be set under global scale");
            }
        }