Exemple #1
0
        public static bool EmitScanSO(SceneSerializer s, IOutputStream o, SceneObject gso)
        {
            ScanSO so = gso as ScanSO;

            o.AddAttribute(IOStrings.ASOType, so.Type.identifier);
            SceneSerializerEmitTypesExt.EmitDMeshSO(s, o, so as DMeshSO);
            return(true);
        }
Exemple #2
0
        public static bool Emit(SceneSerializer s, IOutputStream o, SceneObject gso)
        {
            PrintMeshSO so = gso as PrintMeshSO;

            o.AddAttribute(IOStrings.ASOType, so.Type.identifier);
            o.AddAttribute(AttrSourceFilePath, so.SourceFilePath);

            EmitPrintMeshSettings(s, o, so.Settings);

            SceneSerializerEmitTypesExt.EmitDMeshSO(s, o, so as DMeshSO);
            return(true);
        }