public static SceneObject BuildScanSO(SOFactory factory, FScene scene, TypedAttribSet attributes) { ScanSO so = new ScanSO(); factory.RestoreDMeshSO(scene, attributes, so); return(so); }
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); }
public ScanModel(ScanSO scanIn) : base(scanIn.Mesh, false, scanIn.Spatial) { scan = scanIn; scan.Name = "Scan"; scanIn.OnMeshModified += on_scan_modified; ReplaceOutputMesh(scan.Mesh, true); }