本文整理汇总了C#中GH_Component.Register_RectangleParam方法的典型用法代码示例。如果您正苦于以下问题:C# GH_Component.Register_RectangleParam方法的具体用法?C# GH_Component.Register_RectangleParam怎么用?C# GH_Component.Register_RectangleParam使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GH_Component
的用法示例。
在下文中一共展示了GH_Component.Register_RectangleParam方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RegisterOutputParams
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
{
pManager.RegisterParam(new GHParam_DHr(), "Dhours", "Dhrs", "The spatialized Dhours. A new stream of hours is produced for each key given.", GH_ParamAccess.tree);
pManager.Register_IntervalParam("Ranges", "Ranges", "A tree of Intervals. The first branch contains the interval plotted to the graph (the interval found in the Scale input, if set). The second branch contains a list of intervals that describe the range of values found for the given list keys.", GH_ParamAccess.tree);
pManager.Register_PointParam("Positions", "Pts", "The assigned positions of the hours", GH_ParamAccess.tree);
pManager.Register_PointParam("Base Points", "BsPts", "A point on the x-axis of the graph for each hour given. Useful for making area charts.", GH_ParamAccess.tree);
pManager.Register_RectangleParam("Regions", "Rgns", "Regions that represent the area on the resulting graph occupied by each hour given. These rectangles form a bar graph plotted on the resulting graph, one rectangle per hour given.", GH_ParamAccess.tree);
}