reckfellENGINE

VisualShaderNodeColorConstant

A Color constant to be used within the visual shader graph.

On this page
class VisualShaderNodeColorConstantReckfellSharpInherits VisualShaderNodeConstant

A Color constant to be used within the visual shader graph.

Has two output ports representing RGB and alpha channels of Color. Translated to vec3 rgb and float alpha in the shader language.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

VisualShaderNodeColorConstantConstructor
# VisualShaderNodeColorConstant
C#
public VisualShaderNodeColorConstant();

Properties1

ConstantProperty
# Constant
C#
public Color Constant { get; set; }

A Color constant which represents a state of this node.

Methods2

GetConstantColor
# GetConstant
C#
public Color GetConstant();
Returns Color
SetConstantvoid
# SetConstant
C#
public void SetConstant(Color constant);
Parameters
NameTypeDefault
constantColor—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.