Shader
La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.
public static class ShaderNamespace NodeWorld.Flux.
Global shader properties of the world (read by the world's materials, e.g. a clock or a wind shared by every shader).
Methods
SetGlobalFloat
public static void SetGlobalFloat(string name, float value)Sets a float every shader of the world reads under this name. Names starting with unity_ or _NW are Unity's and NodeWorld's: refused.
SetGlobalVector
public static void SetGlobalVector(string name, Vector4 value)Sets a vector every shader of the world reads under this name. Names starting with unity_ or _NW are refused.
SetGlobalColor
public static void SetGlobalColor(string name, Color value)Sets a color every shader of the world reads under this name. Names starting with unity_ or _NW are refused.
SetGlobalTexture
public static void SetGlobalTexture(string name, Texture texture)A texture of the world (a field, a material's) as a global shader property; null clears it.
public static void SetGlobalTexture(string name, DataTexture texture)A data texture of the script (DataTexture.Create) as a global shader property.
public static void SetGlobalTexture(string name, RenderTexture texture)A render texture of the script (RenderTexture.Create) as a global shader property.
