Пример #1
0
 public void Write(AssetWriter writer)
 {
     Bounds.Write(writer);
     LayerIndices.Write(writer);
     writer.AlignStream();
     NumberOfObjects.Write(writer);
     writer.AlignStream();
 }
Пример #2
0
        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);
        }
Пример #3
0
        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);
        }
Пример #4
0
        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);
        }
Пример #5
0
 public void LinkToNode(RhinoSceneHierarchyNode InLinkedNode)
 {
     LinkedNode = InLinkedNode;
     InLinkedNode.bIsInstanceDefinition = true;
     LayerIndices.UnionWith(InLinkedNode.LayerIndices);
 }