Class SliderUnit
Returns a constant float value chosen with a slider between a min and a max.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Math")]
[UnitDisplay("Slider")]
[TypeIcon(typeof(UnityEngine.UI.Slider))]
public sealed class SliderUnit : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Constructors
SliderUnit()
Declaration
public SliderUnit()
Properties
max
Declaration
[DoNotSerialize]
public float max { get; set; }
Property Value
Type | Description |
---|---|
Single |
min
Declaration
[DoNotSerialize]
public float min { get; set; }
Property Value
Type | Description |
---|---|
Single |
output
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, primary = true)]
public ValueOutput output { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
value
Declaration
[DoNotSerialize]
public float value { get; set; }
Property Value
Type | Description |
---|---|
Single |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()