기술 자료

Unity Engine

Unity Engine

SetQuaternion

Sets the value of a quaternion parameter.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

SetQuaternion(string, Quaternion)

Sets the value of a quaternion parameter.
경고
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.
경고
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.