Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetQuaternion

Sets the value of a quaternion parameter.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule

SetQuaternion(string, Quaternion)

Sets the value of a quaternion parameter.
Warning
Deprecated. SetQuaternion is deprecated.
public void SetQuaternion(string name, Quaternion value)

Parameters

name

The name of the parameter.

The new value for the parameter.

SetQuaternion(int, Quaternion)

Sets the value of a quaternion parameter.
Warning
Deprecated. SetQuaternion is deprecated.
public void SetQuaternion(int id, Quaternion value)

Parameters

id

Of the parameter. The id is generated using Animator::StringToHash.

The new value for the parameter.