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

            factory.RestoreDMeshSO(scene, attributes, so);
            return(so);
        }
示例#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);
        }
示例#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);
        }