기술 자료

Unity Engine

Unity Engine

SetVector

Sets the value of a vector parameter.
읽는 시간 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.