Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates an explicit zero value for a supported scalar, vector, matrix, structure or array.

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

public static InnoEditor.Rendering.Shaders.ShaderGraphLiteral InnoEditor.Rendering.Shaders.ShaderGraphLiteral.Zero(InnoEditor.Rendering.Shaders.ShaderSourceType type)

Parameter type: Complete numeric or boolean value type; resources and effect tokens are not values.

A detached zero literal with an exact type and component count.

Exception T:System.NotSupportedException: The type is opaque or exceeds the bounded literal size.