Version: 2019.1
Language: 中文
Experimental: this API is experimental and might be changed or removed in the future.

VisualEffect.GetTexture

Switch to Manual
public Texture GetTexture (int nameID);
public Texture GetTexture (string name);

Parameters

nameID通过 Shader.PropertyToID 检索的属性的名称 ID。
name属性的名称。

Returns

Texture The exposed texture value (or null if VisualEffect.HasTexture returns false).

Description

Gets named exposed texture.