VisualShaderNodeVarying
A visual shader node that represents a "varying" shader value.
A visual shader node that represents a "varying" shader value.
Varying values are shader variables that can be passed between shader functions, e.g. from Vertex shader to Fragment shader.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Properties2
VaryingNameProperty
public string VaryingName { get; set; }Name of the variable. Must be unique.
VaryingTypeProperty
public VisualShader.VaryingType VaryingType { get; set; }Type of the variable. Determines where the variable can be accessed.
Methods4
GetVaryingNamestring
public string GetVaryingName();Returns
stringGetVaryingTypeVisualShader.VaryingType
public VisualShader.VaryingType GetVaryingType();Returns
VisualShader.VaryingTypeSetVaryingNamevoid
public void SetVaryingName(string name);| Name | Type | Default |
|---|---|---|
name | string | — |
SetVaryingTypevoid
public void SetVaryingType(VisualShader.VaryingType type);| Name | Type | Default |
|---|---|---|
type | VisualShader.VaryingType | — |
Reckfell Engine documentationBack to top ↑