UnityEngine.Animator.SetIKRotation(UnityEngine.AvatarIKGoal, UnityEngine.Quaternion)

Here are the examples of the csharp api UnityEngine.Animator.SetIKRotation(UnityEngine.AvatarIKGoal, UnityEngine.Quaternion) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

19 View Source File : AnimatorExtensions.cs
License : MIT License
Project Creator : liangxiegame

public static IDisposable BindIkRotationTo(this Animator input, AvatarIKGoal ikGoal, IReactiveProperty<Quaternion> property, BindingTypes bindingType = BindingTypes.Default, params IFilter<Quaternion>[] filters)
        { return GenericBindings.Bind(() => input.GetIKRotation(ikGoal), x => input.SetIKRotation(ikGoal, x), property, bindingType, filters).AddTo(input); }

19 View Source File : AnimatorExtensions.cs
License : MIT License
Project Creator : liangxiegame

public static IDisposable BindIkRotationTo(this Animator input, AvatarIKGoal ikGoal, Func<Quaternion> getter, Action<Quaternion> setter, BindingTypes bindingType = BindingTypes.Default, params IFilter<Quaternion>[] filters)
        { return GenericBindings.Bind(() => input.GetIKRotation(ikGoal), x => input.SetIKRotation(ikGoal, x), getter, setter, bindingType, filters).AddTo(input); }