Example #1
0
        public static SceneObject BuildScanSO(SOFactory factory, FScene scene, TypedAttribSet attributes)
        {
            ScanSO so = new ScanSO();

            factory.RestoreDMeshSO(scene, attributes, so);
            return(so);
        }
Example #2
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);
        }
Example #3
0
        public ScanModel(ScanSO scanIn) : base(scanIn.Mesh, false, scanIn.Spatial)
        {
            scan      = scanIn;
            scan.Name = "Scan";

            scanIn.OnMeshModified += on_scan_modified;
            ReplaceOutputMesh(scan.Mesh, true);
        }