Vixen
02b45cc4
csharp
public sealed class InputAttribute

Marks a field as an input port.

No guide page documents this yet — the page shows what the code says about itself.

As a annotation

Valid on
Field

Remarks

The field's declared type is the port's kind. Its initializer, if it has one, is the value the port takes when nothing is connected — which is what lets a Lerp be dropped into a graph and do something sensible before it is wired up.

Fields and properties (3)

  • public string Name

    What the port is called, if not the field's own name.

  • public string Summary

    One line saying what the port means.

  • public float[] Default

    The value the port takes when nothing is connected, one float per lane.

Used by (48, showing 40)

  • AbsoluteNodeVixen.Editor.ShaderGraph
  • AddNodeVixen.Editor.ShaderGraph
  • AttractNodeVixen.Editor.VfxGraph
  • BillboardOutputNodeVixen.Editor.VfxGraph
  • BurstNodeVixen.Editor.VfxGraph
  • CollidePlaneNodeVixen.Editor.VfxGraph
  • ColourNodeVixen.Editor.VfxGraph
  • ColourOverLifeNodeVixen.Editor.VfxGraph
  • CombineNodeVixen.Editor.ShaderGraph
  • CompositorLeafNodeVixen.Editor.AssetEditors
  • ConstantNodeVixen.Editor.ShaderGraph
  • DivideNodeVixen.Editor.ShaderGraph
  • DotNodeVixen.Editor.ShaderGraph
  • DragNodeVixen.Editor.VfxGraph
  • EffectNodeVixen.Editor.VfxGraph
  • FractionNodeVixen.Editor.ShaderGraph
  • GravityNodeVixen.Editor.VfxGraph
  • LerpNodeVixen.Editor.ShaderGraph
  • LifetimeNodeVixen.Editor.VfxGraph
  • LightOutputNodeVixen.Editor.VfxGraph
  • MultiplyNodeVixen.Editor.ShaderGraph
  • NormalizeNodeVixen.Editor.ShaderGraph
  • OneMinusNodeVixen.Editor.ShaderGraph
  • PbrMasterNodeVixen.Editor.ShaderGraph
  • PositionInBoxNodeVixen.Editor.VfxGraph
  • PositionInSphereNodeVixen.Editor.VfxGraph
  • PowerNodeVixen.Editor.ShaderGraph
  • RandomVelocityNodeVixen.Editor.VfxGraph
  • RateNodeVixen.Editor.VfxGraph
  • RenderPassNodeVixen.Editor.AssetEditors
  • SampleTexture2DNodeVixen.Editor.ShaderGraph
  • SaturateNodeVixen.Editor.ShaderGraph
  • SequenceNodeVixen.Editor.AssetEditors
  • SetVelocityNodeVixen.Editor.VfxGraph
  • SineNodeVixen.Editor.ShaderGraph
  • SizeNodeVixen.Editor.VfxGraph
  • SizeOverLifeNodeVixen.Editor.VfxGraph
  • SmoothstepNodeVixen.Editor.ShaderGraph
  • SplitNodeVixen.Editor.ShaderGraph
  • SpriteMasterNodeVixen.Editor.ShaderGraph