ドキュメント

Unity Engine

Unity Engine

GetVector

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

Definition

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

GetVector(string)

Gets the value of a vector parameter.
注意
Deprecated. GetVector is deprecated.
public Vector3 GetVector(string name)

Parameters

name

The name of the parameter.

Returns

Type

Description

Vector3

GetVector(int)

Gets the value of a vector parameter.
注意
Deprecated. GetVector is deprecated.
public Vector3 GetVector(int id)

Parameters

id

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

Returns

Type

Description

Vector3