Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Produces a finite, exact 32-bit floating-point constant.

API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor

public InnoEditor.Rendering.Shaders.ShaderIrValue InnoEditor.Rendering.Shaders.ShaderIrBuilder.Constant(float value)

Parameter value: Finite scalar value, including signed zero.

A float-typed intermediate value.

Exception T:System.ArgumentOutOfRangeException: The value is NaN or infinite.