Class ConvertUnit
Converts a value into a given type.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Flow", 35)]
[UnitDisplay("Convert")]
[TypeIcon(typeof(ConvertUnit))]
public class ConvertUnit : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Properties
canDefine
Declaration
public override bool canDefine { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.canDefine
input
The value to convert.
Declaration
[DoNotSerialize]
[UnitPortDisplay(primary = true, showLabel = false)]
public ValueInput input { get; }
Property Value
Type | Description |
---|---|
ValueInput |
output
The value after conversion is applied.
Declaration
[DoNotSerialize]
[UnitPortDisplay(primary = true, showLabel = false)]
public ValueOutput output { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
type
The type to convert to.
Declaration
[DoNotSerialize]
[Inspectable]
public HybridType type { get; set; }
Property Value
Type | Description |
---|---|
HybridType |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()