Notifications
Clear all

[Closed] DirectShowLib-Maxscript constructor

Hi I’m just playing around with the directshowlib in maxscript but I can’t find a way of constructing it without C#

I’m supposed do do something like this :

graphBuilder = (IGraphBuilder)new FilterGraph();

so in maxscript I’m trying …

FilterGraph=dotnetobject “DirectShowLib.FilterGraph”
graphBuilder = ???

…(dotnet.getType(“DirectShowLib.IGraphBuilder”)).GetInterfaces()
what the hell is an interface anyway,I’m just beginning with C# at the moment, can somebody explain this to me ???

thank,
Martin