public void Write(AssetWriter writer) { Bounds.Write(writer); LayerIndices.Write(writer); writer.AlignStream(); NumberOfObjects.Write(writer); writer.AlignStream(); }
public YAMLNode ExportYAML(IExportContainer container) { YAMLMappingNode node = new YAMLMappingNode(); node.Add("bounds", Bounds.ExportYAML(container)); node.Add("layerIndices", LayerIndices.ExportYAML()); node.Add("numberOfObjects", NumberOfObjects.ExportYAML()); return(node); }
public YAMLNode ExportYAML(IExportContainer container) { YAMLMappingNode node = new YAMLMappingNode(); node.Add(BoundsName, Bounds.ExportYAML(container)); node.Add(LayerIndicesName, LayerIndices.ExportYAML()); node.Add(NumberOfObjectsName, NumberOfObjects.ExportYAML()); return(node); }
public YAMLNode ExportYAML(IAssetsExporter exporter) { YAMLMappingNode node = new YAMLMappingNode(); node.Add("bounds", Bounds.ExportYAML(exporter)); node.Add("layerIndices", LayerIndices.ExportYAML()); node.Add("numberOfObjects", NumberOfObjects.ExportYAML()); return(node); }
public void LinkToNode(RhinoSceneHierarchyNode InLinkedNode) { LinkedNode = InLinkedNode; InLinkedNode.bIsInstanceDefinition = true; LayerIndices.UnionWith(InLinkedNode.LayerIndices); }