AcTools.Kn5File.Kn5.ExportIni_TrackNode C# (CSharp) Method

ExportIni_TrackNode() private method

private ExportIni_TrackNode ( System.IO.IniFile iniFile, string parentName, Kn5Node node ) : void
iniFile System.IO.IniFile
parentName string
node Kn5Node
return void
        private void ExportIni_TrackNode(IniFile iniFile, string parentName, Kn5Node node) {
            var name = node == RootNode ? parentName : parentName + "_" + node.Name;

            var section = iniFile["model_FBX: " + name];
            section.Set("ACTIVE", node.Active);
            section.Set("PRIORITY", 0);

            section = iniFile["model_FBX: " + name + "_" + node.Name];
            section.Set("ACTIVE", true);
            section.Set("PRIORITY", 0);
            section.Set("VISIBLE", node.IsVisible);
            section.Set("TRANSPARENT", node.IsTransparent);
            section.Set("CAST_SHADOWS", node.CastShadows);
            section.Set("LOD_IN", node.LodIn);
            section.Set("LOD_OUT", node.LodOut);
            section.Set("RENDERABLE", node.IsRenderable);
        }
    }