Skip to content

VisualShaderNodeStep

eduardgushchin edited this page Oct 22, 2026 · 1 revision

Home | API by Category | Complete API Index | API Status

Field Value
Full name Electron2D.VisualShaderNodeStep
Namespace Electron2D
Kind class
Category API Resources

Overview

Returns zero below a threshold and one at or above it.

Syntax

public sealed class Electron2D.VisualShaderNodeStep

Remarks

Inputs are edge and value. Scalar-control layouts broadcast the scalar edge across every data component.

Inherits: VisualShaderNode

Detailed engine reference

Members

Member Kind Summary
public VisualShaderNodeStep() constructor Creates a scalar definition with its initial input defaults.
protected override Electron2D.Resource CreateDuplicateInstance() method
protected override System.Collections.Generic.IEnumerable<Electron2D.PropertyDescriptor> GetPropertyDescriptors() method
public Electron2D.VisualShaderNumericOpType OpType { get; set; } property Gets or selects the numeric input layout, converting existing defaults atomically.

Member Details

VisualShaderNodeStep()

Kind: constructor

public VisualShaderNodeStep()

Summary

Creates a scalar definition with its initial input defaults.

Remarks

Both edge and value are explicit zero floats.

CreateDuplicateInstance()

Kind: method

protected override Electron2D.Resource CreateDuplicateInstance()

GetPropertyDescriptors()

Kind: method

protected override System.Collections.Generic.IEnumerable<Electron2D.PropertyDescriptor> GetPropertyDescriptors()

OpType

Kind: property

public Electron2D.VisualShaderNumericOpType OpType { get; set; }

Summary

Gets or selects the numeric input layout, converting existing defaults atomically.

Remarks

An unchanged selection emits no event. The complete new layout and defaults commit before Changed observers run.

Value

Scalar initially. A changed selection recreates absent defaults; vector expansion repeats the last component.

Exceptions

  • T:System.ArgumentOutOfRangeException: The selection is undefined or the count sentinel.
  • T:System.ObjectDisposedException: The definition is disposed.

Clone this wiki locally