FixTransforms() публичный Метод

public FixTransforms ( ) : void
Результат void
Пример #1
0
        public override void FixTransforms()
        {
            if (!initiated)
            {
                return;
            }
            if (IKPositionWeight <= 0f)
            {
                return;
            }

            spineMapping.FixTransforms();
            for (int i = 0; i < limbMappings.Length; i++)
            {
                limbMappings[i].FixTransforms();
            }
            for (int i = 0; i < boneMappings.Length; i++)
            {
                boneMappings[i].FixTransforms();
            }

            if (OnFixTransforms != null)
            {
                OnFixTransforms();
            }
        }
Пример #2
0
 public override void FixTransforms()
 {
     spineMapping.FixTransforms();
     for (int i = 0; i < limbMappings.Length; i++)
     {
         limbMappings[i].FixTransforms();
     }
     for (int i = 0; i < boneMappings.Length; i++)
     {
         boneMappings[i].FixTransforms();
     }
 }