ドキュメント

Unity Engine

Unity Engine

SetVector

Sets the value of a vector parameter.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

SetVector(string, Vector3)

Sets the value of a vector parameter.
注意
Deprecated. SetVector is deprecated.
public void SetVector(string name, Vector3 value)

Parameters

name

The name of the parameter.

value

The new value for the parameter.

SetVector(int, Vector3)

Sets the value of a vector parameter.
注意
Deprecated. SetVector is deprecated.
public void SetVector(int id, Vector3 value)

Parameters

id

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

value

The new value for the parameter.