UnityEngine.Animator.SetLookAtWeight C# (CSharp) Method

SetLookAtWeight() public method

public SetLookAtWeight ( float weight ) : void
weight float
return void
		public void SetLookAtWeight(float weight){}
		public string GetLayerName(int layerIndex){}

Same methods

Animator::SetLookAtWeight ( float weight, float bodyWeight ) : void
Animator::SetLookAtWeight ( float weight, float bodyWeight, float headWeight ) : void
Animator::SetLookAtWeight ( float weight, float bodyWeight, float headWeight, float eyesWeight ) : void
Animator::SetLookAtWeight ( float weight, float bodyWeight, float headWeight, float eyesWeight, float clampWeight ) : void

Usage Example

 public override void OnAnimatorIK(int layerIndex)
 {
     position = useGlobal ? ((GameObjectParameter)owner.GetParameter(globalPosition)).Value.transform.position : position;
     animator.SetLookAtWeight(weight, bodyWeight, headWeight, eyesWeight, clampWeight);
     animator.SetLookAtPosition(position);
     Finish();
 }
All Usage Examples Of UnityEngine.Animator::SetLookAtWeight
Animator