Ejemplo n.º 1
0
        public MetaInput(Guid id, string name, MetaOperatorPart opPart, IValue defaultValue, bool isMultiInput)
        {
            ID           = id;
            Name         = name;
            OpPart       = opPart;
            _defaultFunc = Utilities.CreateDefaultValueFunction(defaultValue);
            IsMultiInput = isMultiInput;
            Relevance    = RelevanceType.Optional;
            Description  = string.Empty;

            // float stuff
            Min        = -100000;
            Max        = 100000;
            Scale      = 0.1f;
            ScaleType  = Scaling.Linear;
            EnumValues = new List <EnumEntry>();
        }