ドキュメント

Unity Engine

Unity Engine

SetVector3

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

Definition

SetVector3(int, Vector3)

Sets the value of a named Vector3 property.
public void SetVector3(int nameID, Vector3 v)

Parameters

nameID

The ID of the property. This is the same ID that Shader.PropertyToID returns.

The new Vector3 value.

Remarks

Automatically changes overridden state for this property to true.

SetVector3(string, Vector3)

Sets the value of a named Vector3 property.
public void SetVector3(string name, Vector3 v)

Parameters

name

The name of the property.

The new Vector3 value.

Remarks

Automatically changes overridden state for this property to true.