Class Literal
Returns a constant value defined from the editor.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
public sealed class Literal : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Constructors
Literal()
Declaration
[Obsolete("This parameterless constructor is only made public for serialization. Use another constructor instead.", true)]
public Literal()
Literal(HybridType)
Declaration
public Literal(HybridType type)
Parameters
Type | Name | Description |
---|---|---|
HybridType | type |
Literal(HybridType, Object)
Declaration
public Literal(HybridType type, object value)
Parameters
Type | Name | Description |
---|---|---|
HybridType | type | |
Object | value |
Properties
canDefine
Declaration
public override bool canDefine { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.canDefine
output
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, primary = true)]
public ValueOutput output { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
type
Declaration
[DoNotSerialize]
public HybridType type { get; }
Property Value
Type | Description |
---|---|
HybridType |
value
Declaration
[DoNotSerialize]
public object value { get; set; }
Property Value
Type | Description |
---|---|
Object |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()