本文整理汇总了C#中IPluginHost.CreateMeshOutput方法的典型用法代码示例。如果您正苦于以下问题:C# IPluginHost.CreateMeshOutput方法的具体用法?C# IPluginHost.CreateMeshOutput怎么用?C# IPluginHost.CreateMeshOutput使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IPluginHost
的用法示例。
在下文中一共展示了IPluginHost.CreateMeshOutput方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: MeshJoin
public MeshJoin(IPluginHost host)
{
host.CreateMeshOutput("Mesh",TSliceMode.Dynamic,TPinVisibility.True,out this.FPinOutMesh);
}
示例2: SetPluginHost
//this method is called by vvvv when the node is created
public void SetPluginHost(IPluginHost Host)
{
//assign host
FHost = Host;
//create inputs
FHost.CreateValueInput("Vertices", 3, null, TSliceMode.Dynamic, TPinVisibility.True, out VertsIn);
VertsIn.SetSubType3D(double.MinValue, double.MaxValue, 0.01, 0, 0, 0, false, false, false);
FHost.CreateValueInput("Thickness", 1, null, TSliceMode.Dynamic, TPinVisibility.True, out ThicknessIn);
ThicknessIn.SetSubType(double.MinValue, double.MaxValue, 0.01, 0.1, false, false, false);
FHost.CreateValueInput("Bin Size", 1, null, TSliceMode.Dynamic, TPinVisibility.True, out BinSizeIn);
BinSizeIn.SetSubType(-1, int.MaxValue, 1, -1, false, false, true);
//create outputs
FHost.CreateMeshOutput("Mesh", TSliceMode.Dynamic, TPinVisibility.True, out MeshOut);
}
示例3: MeshNode
public MeshNode(IPluginHost host)
{
host.CreateMeshOutput("Mesh", TSliceMode.Dynamic, TPinVisibility.True, out this.FOutMesh);
this.FOutMesh.Order = 0;
}