Version: 2018.4
Experimental: this API is experimental and might be changed or removed in the future.

VisualEffect.GetVector2

マニュアルに切り替える
public Vector2 GetVector2 (int nameID);
public Vector2 GetVector2 (string name);

パラメーター

nameID Shader.PropertyToID によって検索されるプロパティーの nameID
nameプロパティーの名前

戻り値

Vector2 The exposed Vector2 value (or Vector2.zero if VisualEffect.HasVector2 returns false).

説明

Gets named exposed Vector2.


Did you find this page useful? Please give it a rating: