Пример #1
0
        public TBasePin(IPluginHost Parent, string PinName, int Dimension, TPinDirection PinDirection, TOnConfigurate Callback, TSliceMode SliceMode, TPinVisibility Visibility)
        {
            FParent        = Parent;
            FName          = PinName;
            FDimension     = Dimension;
            FSliceMode     = SliceMode;
            FVisibility    = Visibility;
            FPinDirection  = PinDirection;
            FOnConfigurate = Callback;
            FPinIsChanged  = true;

            //initialize with an arbitrary order so that the sortby-order in the gui is not flickering
            FOrder = GlobalPinCount++;
        }
Пример #2
0
        public void CreateSamplerStateInput(TSliceMode SliceMode, TPinVisibility Visibility, out IDXSamplerStateIn Pin)
        {
            Pin = new TStatePin(this, TPinDirection.Input, SliceMode, Visibility);

            AddPin(Pin as TBasePin);
        }
Пример #3
0
        public void CreateTextureOutput(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out IDXTextureOut Pin)
        {
            Pin = new TTexturePin(this, Name, TPinDirection.Output, TSliceMode.Single, Visibility);

            AddPin(Pin as TBasePin);
        }
Пример #4
0
        public void CreateMeshOutput(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out IDXMeshOut Pin)
        {
            Pin = new TMeshPin(this, Name, TPinDirection.Output, SliceMode, Visibility);

            AddPin(Pin as TBasePin);
        }
Пример #5
0
 public void CreateRawOutput(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out IRawOut Pin)
 {
     //TODO: not implemented
     Pin = null;
 }
Пример #6
0
 public TTransformOutPin(IPluginHost Parent, string PinName, TSliceMode SliceMode, TPinVisibility Visibility)
     : base(Parent, PinName, 1, TPinDirection.Output, null, SliceMode, Visibility)
 {
 }
Пример #7
0
 public TStatePin(IPluginHost Parent, TPinDirection PinDirection, TSliceMode SliceMode, TPinVisibility Visibility)
     : base(Parent, "State", 1, PinDirection, null, SliceMode, Visibility)
 {
 }
Пример #8
0
        public TEnumPin(PluginHost Parent, string PinName, TPinDirection PinDirection, TOnConfigurate Callback, TSliceMode SliceMode, TPinVisibility Visibility)
            : base(Parent, PinName, 1, PinDirection, Callback, SliceMode, Visibility)
        {
            FPluginHost = Parent;

            base.Initialize();
        }
Пример #9
0
 public void CreateTransformOutput(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out ITransformOut Pin)
 {
     Pin = new TTransformOutPin(this, Name, SliceMode, Visibility);
 }
Пример #10
0
        public void CreateStringConfig(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out IStringConfig Pin)
        {
            Pin = new TStringPin(this, Name, TPinDirection.Input, new TOnConfigurate(ConfigurateCB), SliceMode, Visibility);

            AddPin(Pin as TBasePin);
        }
Пример #11
0
        //called by the plugin the host can create a pin
        public void CreateValueOutput(string Name, int Dimension, string[] DimensionNames, TSliceMode SliceMode, TPinVisibility Visibility, out IValueOut Pin)
        {
            Pin = new TValuePin(this, Name, Dimension, DimensionNames, TPinDirection.Output, null, SliceMode, Visibility);

            AddPin(Pin as TBasePin);
        }
Пример #12
0
        //called by the plugin the host can create a pin
        public void CreateValueConfig(string Name, int Dimension, string[] DimensionNames, TSliceMode SliceMode, TPinVisibility Visibility, out IValueConfig Pin)
        {
            Pin = new TValuePin(this, Name, Dimension, DimensionNames, TPinDirection.Configuration, new TOnConfigurate(ConfigurateCB), SliceMode, Visibility);

            AddPin(Pin as TBasePin);
        }
Пример #13
0
 public TColorPin(IPluginHost Parent, string PinName, TPinDirection PinDirection, TOnConfigurate Callback, TSliceMode SliceMode, TPinVisibility Visibility)
     : base(Parent, PinName, 1, PinDirection, Callback, SliceMode, Visibility)
 {
 }
Пример #14
0
 public IDXTextureOut CreateTextureOutput2(VVVV.Hosting.Interfaces.EX9.IDXTexturePin texturePin, string name, TSliceMode sliceMode, TPinVisibility visibility)
 {
     throw new NotImplementedException();
 }
Пример #15
0
        public void CreateColorInput(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out IColorIn Pin)
        {
            Pin = new TColorPin(this, Name, TPinDirection.Input, null, SliceMode, Visibility);

            AddPin(Pin as TBasePin);
        }
Пример #16
0
 public TLayerPin(IPluginHost Parent, string PinName, TPinDirection PinDirection, TSliceMode SliceMode, TPinVisibility Visibility)
     : base(Parent, PinName, 1, TPinDirection.Output, null, SliceMode, Visibility)
 {
     base.Initialize();
 }
Пример #17
0
        public void CreateEnumConfig(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out IEnumConfig Pin)
        {
            Pin = new TEnumPin(this, Name, TPinDirection.Configuration, new TOnConfigurate(ConfigurateCB), SliceMode, Visibility);

            AddPin(Pin as TBasePin);
        }
Пример #18
0
 public TValuePin(IPluginHost Parent, string PinName, int Dimension, string[] DimensionNames, TPinDirection PinDirection, TOnConfigurate Callback, TSliceMode SliceMode, TPinVisibility Visibility)
     : base(Parent, PinName, Dimension, PinDirection, Callback, SliceMode, Visibility)
 {
     FDimension      = Dimension;
     FDimensionNames = DimensionNames;
 }
Пример #19
0
        public void CreateEnumOutput(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out IEnumOut Pin)
        {
            Pin = new TEnumPin(this, Name, TPinDirection.Output, null, SliceMode, Visibility);

            AddPin(Pin as TBasePin);
        }
Пример #20
0
 public TTransformInPin(IPluginHost Parent, string PinName, TSliceMode SliceMode, TPinVisibility Visibility)
     : base(Parent, PinName, 1, TPinDirection.Input, null, SliceMode, Visibility)
 {
     base.Initialize();
 }
Пример #21
0
        public void CreateNodeInput(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out INodeIn Pin)
        {
            Pin = new TNodePin(this, Name, TPinDirection.Input, SliceMode, Visibility);

            AddPin(Pin as TBasePin);
        }
Пример #22
0
 public TNodePin(IPluginHost Parent, string PinName, TPinDirection Direction, TSliceMode SliceMode, TPinVisibility Visibility)
     : base(Parent, PinName, 1, Direction, null, SliceMode, Visibility)
 {
 }
Пример #23
0
        public TValuePin(IPluginHost Parent, string PinName, int Dimension, string[] DimensionNames, TPinDirection PinDirection, TOnConfigurate Callback, TSliceMode SliceMode, TPinVisibility Visibility)
            : base(Parent, PinName, Dimension, PinDirection, Callback, SliceMode, Visibility)
        {
            FValues         = new UnmanagedArray(0);
            FDimension      = Dimension;
            FDimensionNames = DimensionNames;

            base.Initialize();
        }