Vixen
dd8b0a81
csharp
public enum TextureGraphParameterKind

What one exposed parameter holds.

Read the guide page for this →

Remarks

Three numbers and one name, and the line between them is folding versus substitution. The first three are numbers an author types and an expression reads, and Raven has exactly three spellings of that — float, int, bool. Name is none of them and is never folded: it is copied into an inner node's setting before the walk begins, which is what lets it exist with no const val behind it.

⚠ A colour is still not a fourth, for the reason the first paragraph gives: it would be four numbers under one name and there is no const val of a vector that TextureGraphExpressions could fold. It is left out rather than declared and refused at the point of use, and #1060 is where that half stays open.

Fields and properties (4)

  • Scalar

    A float.

  • Integer

    An int.

  • Boolean

    A bool, carried as zero or one.

  • Name

    A name, substituted into an inner node's setting rather than folded into arithmetic.

Used by (8)

  • TextureCompoundNameKnobRollCallTestsVixen.Editor.TextureGraph.Tests
  • TextureGraphDeclarationTestsVixen.Editor.TextureGraph.Tests
  • TextureGraphExpressionsVixen.Editor.TextureGraph
  • TextureGraphNameKnobTestsVixen.Editor.TextureGraph.Tests
  • TextureGraphParameterVixen.Editor.TextureGraph
  • TextureGraphParameterTestsVixen.Editor.TextureGraph.Tests
  • TextureGraphParametersVixen.Editor.TextureGraph
  • TextureGraphSubGraphTestsVixen.Editor.TextureGraph.Tests