├── .all-contributorsrc ├── .gitignore ├── CHANGELOG.md ├── Docs ├── Build.md ├── README_zh.md └── build_webrender.ps1 ├── Giantapp.LiveWallpaperEngine.sln ├── LICENSE ├── LiveWallpaperEngine.Samples.NetCore.Test ├── .editorconfig ├── App.xaml ├── App.xaml.cs ├── LiveWallpaperEngine.Samples.NetCore.Test.csproj ├── MainWindow.xaml ├── MainWindow.xaml.cs └── WallpaperSamples │ ├── audio.mp4 │ ├── game │ ├── UnityPlayer.dll │ ├── preview.jpg │ ├── project.json │ ├── sheep.exe │ ├── sheep_Data │ │ ├── Managed │ │ │ ├── Assembly-CSharp.dll │ │ │ ├── Mono.Security.dll │ │ │ ├── System.Core.dll │ │ │ ├── System.dll │ │ │ ├── UnityEngine.AIModule.dll │ │ │ ├── UnityEngine.AIModule.dll.mdb │ │ │ ├── UnityEngine.AIModule.xml │ │ │ ├── UnityEngine.ARModule.dll │ │ │ ├── UnityEngine.ARModule.dll.mdb │ │ │ ├── UnityEngine.ARModule.xml │ │ │ ├── UnityEngine.AccessibilityModule.dll │ │ │ ├── UnityEngine.AccessibilityModule.dll.mdb │ │ │ ├── UnityEngine.AccessibilityModule.xml │ │ │ ├── UnityEngine.AnimationModule.dll │ │ │ ├── UnityEngine.AnimationModule.dll.mdb │ │ │ ├── UnityEngine.AnimationModule.xml │ │ │ ├── UnityEngine.AudioModule.dll │ │ │ ├── UnityEngine.AudioModule.dll.mdb │ │ │ ├── UnityEngine.AudioModule.xml │ │ │ ├── UnityEngine.ClothModule.dll │ │ │ ├── UnityEngine.ClothModule.dll.mdb │ │ │ ├── UnityEngine.ClothModule.xml │ │ │ ├── UnityEngine.ClusterInputModule.dll │ │ │ ├── UnityEngine.ClusterInputModule.dll.mdb │ │ │ ├── UnityEngine.ClusterInputModule.xml │ │ │ ├── UnityEngine.ClusterRendererModule.dll │ │ │ ├── UnityEngine.ClusterRendererModule.dll.mdb │ │ │ ├── UnityEngine.ClusterRendererModule.xml │ │ │ ├── UnityEngine.CoreModule.dll │ │ │ ├── UnityEngine.CoreModule.dll.mdb │ │ │ ├── UnityEngine.CoreModule.xml │ │ │ ├── UnityEngine.CrashReportingModule.dll │ │ │ ├── UnityEngine.CrashReportingModule.dll.mdb │ │ │ ├── UnityEngine.CrashReportingModule.xml │ │ │ ├── UnityEngine.DirectorModule.dll │ │ │ ├── UnityEngine.DirectorModule.dll.mdb │ │ │ ├── UnityEngine.DirectorModule.xml │ │ │ ├── UnityEngine.GameCenterModule.dll │ │ │ ├── UnityEngine.GameCenterModule.dll.mdb │ │ │ ├── UnityEngine.GameCenterModule.xml │ │ │ ├── UnityEngine.GridModule.dll │ │ │ ├── UnityEngine.GridModule.dll.mdb │ │ │ ├── UnityEngine.GridModule.xml │ │ │ ├── UnityEngine.IMGUIModule.dll │ │ │ ├── UnityEngine.IMGUIModule.dll.mdb │ │ │ ├── UnityEngine.IMGUIModule.xml │ │ │ ├── UnityEngine.ImageConversionModule.dll │ │ │ ├── UnityEngine.ImageConversionModule.dll.mdb │ │ │ ├── UnityEngine.ImageConversionModule.xml │ │ │ ├── UnityEngine.InputModule.dll │ │ │ ├── UnityEngine.InputModule.dll.mdb │ │ │ ├── UnityEngine.InputModule.xml │ │ │ ├── UnityEngine.JSONSerializeModule.dll │ │ │ ├── UnityEngine.JSONSerializeModule.dll.mdb │ │ │ ├── UnityEngine.JSONSerializeModule.xml │ │ │ ├── UnityEngine.Networking.dll │ │ │ ├── UnityEngine.ParticleSystemModule.dll │ │ │ ├── UnityEngine.ParticleSystemModule.dll.mdb │ │ │ ├── UnityEngine.ParticleSystemModule.xml │ │ │ ├── UnityEngine.ParticlesLegacyModule.dll │ │ │ ├── UnityEngine.ParticlesLegacyModule.dll.mdb │ │ │ ├── UnityEngine.ParticlesLegacyModule.xml │ │ │ ├── UnityEngine.PerformanceReportingModule.dll │ │ │ ├── UnityEngine.PerformanceReportingModule.dll.mdb │ │ │ ├── UnityEngine.PerformanceReportingModule.xml │ │ │ ├── UnityEngine.Physics2DModule.dll │ │ │ ├── UnityEngine.Physics2DModule.dll.mdb │ │ │ ├── UnityEngine.Physics2DModule.xml │ │ │ ├── UnityEngine.PhysicsModule.dll │ │ │ ├── UnityEngine.PhysicsModule.dll.mdb │ │ │ ├── UnityEngine.PhysicsModule.xml │ │ │ ├── UnityEngine.ScreenCaptureModule.dll │ │ │ ├── UnityEngine.ScreenCaptureModule.dll.mdb │ │ │ ├── UnityEngine.ScreenCaptureModule.xml │ │ │ ├── UnityEngine.SpatialTracking.dll │ │ │ ├── UnityEngine.SpriteMaskModule.dll │ │ │ ├── UnityEngine.SpriteMaskModule.dll.mdb │ │ │ ├── UnityEngine.SpriteMaskModule.xml │ │ │ ├── UnityEngine.StyleSheetsModule.dll │ │ │ ├── UnityEngine.StyleSheetsModule.dll.mdb │ │ │ ├── UnityEngine.StyleSheetsModule.xml │ │ │ ├── UnityEngine.TerrainModule.dll │ │ │ ├── UnityEngine.TerrainModule.dll.mdb │ │ │ ├── UnityEngine.TerrainModule.xml │ │ │ ├── UnityEngine.TerrainPhysicsModule.dll │ │ │ ├── UnityEngine.TerrainPhysicsModule.dll.mdb │ │ │ ├── UnityEngine.TerrainPhysicsModule.xml │ │ │ ├── UnityEngine.TextRenderingModule.dll │ │ │ ├── UnityEngine.TextRenderingModule.dll.mdb │ │ │ ├── UnityEngine.TextRenderingModule.xml │ │ │ ├── UnityEngine.TilemapModule.dll │ │ │ ├── UnityEngine.TilemapModule.dll.mdb │ │ │ ├── UnityEngine.TilemapModule.xml │ │ │ ├── UnityEngine.Timeline.dll │ │ │ ├── UnityEngine.UI.dll │ │ │ ├── UnityEngine.UIElementsModule.dll │ │ │ ├── UnityEngine.UIElementsModule.dll.mdb │ │ │ ├── UnityEngine.UIElementsModule.xml │ │ │ ├── UnityEngine.UIModule.dll │ │ │ ├── UnityEngine.UIModule.dll.mdb │ │ │ ├── UnityEngine.UIModule.xml │ │ │ ├── UnityEngine.UNETModule.dll │ │ │ ├── UnityEngine.UNETModule.dll.mdb │ │ │ ├── UnityEngine.UNETModule.xml │ │ │ ├── UnityEngine.UnityAnalyticsModule.dll │ │ │ ├── UnityEngine.UnityAnalyticsModule.dll.mdb │ │ │ ├── UnityEngine.UnityAnalyticsModule.xml │ │ │ ├── UnityEngine.UnityConnectModule.dll │ │ │ ├── UnityEngine.UnityConnectModule.dll.mdb │ │ │ ├── UnityEngine.UnityConnectModule.xml │ │ │ ├── UnityEngine.UnityWebRequestAudioModule.dll │ │ │ ├── UnityEngine.UnityWebRequestAudioModule.dll.mdb │ │ │ ├── UnityEngine.UnityWebRequestAudioModule.xml │ │ │ ├── UnityEngine.UnityWebRequestModule.dll │ │ │ ├── UnityEngine.UnityWebRequestModule.dll.mdb │ │ │ ├── UnityEngine.UnityWebRequestModule.xml │ │ │ ├── UnityEngine.UnityWebRequestTextureModule.dll │ │ │ ├── UnityEngine.UnityWebRequestTextureModule.dll.mdb │ │ │ ├── UnityEngine.UnityWebRequestTextureModule.xml │ │ │ ├── UnityEngine.UnityWebRequestWWWModule.dll │ │ │ ├── UnityEngine.UnityWebRequestWWWModule.dll.mdb │ │ │ ├── UnityEngine.UnityWebRequestWWWModule.xml │ │ │ ├── UnityEngine.VRModule.dll │ │ │ ├── UnityEngine.VRModule.dll.mdb │ │ │ ├── UnityEngine.VRModule.xml │ │ │ ├── UnityEngine.VehiclesModule.dll │ │ │ ├── UnityEngine.VehiclesModule.dll.mdb │ │ │ ├── UnityEngine.VehiclesModule.xml │ │ │ ├── UnityEngine.VideoModule.dll │ │ │ ├── UnityEngine.VideoModule.dll.mdb │ │ │ ├── UnityEngine.VideoModule.xml │ │ │ ├── UnityEngine.WebModule.dll │ │ │ ├── UnityEngine.WebModule.dll.mdb │ │ │ ├── UnityEngine.WebModule.xml │ │ │ ├── UnityEngine.WindModule.dll │ │ │ ├── UnityEngine.WindModule.dll.mdb │ │ │ ├── UnityEngine.WindModule.xml │ │ │ ├── UnityEngine.dll │ │ │ ├── UnityEngine.dll.mdb │ │ │ └── mscorlib.dll │ │ ├── Mono │ │ │ ├── EmbedRuntime │ │ │ │ ├── MonoPosixHelper.dll │ │ │ │ └── mono.dll │ │ │ └── etc │ │ │ │ └── mono │ │ │ │ ├── 1.0 │ │ │ │ ├── DefaultWsdlHelpGenerator.aspx │ │ │ │ └── machine.config │ │ │ │ ├── 2.0 │ │ │ │ ├── Browsers │ │ │ │ │ └── Compat.browser │ │ │ │ ├── DefaultWsdlHelpGenerator.aspx │ │ │ │ ├── machine.config │ │ │ │ ├── settings.map │ │ │ │ └── web.config │ │ │ │ ├── browscap.ini │ │ │ │ ├── config │ │ │ │ └── mconfig │ │ │ │ └── config.xml │ │ ├── Resources │ │ │ ├── unity default resources │ │ │ └── unity_builtin_extra │ │ ├── app.info │ │ ├── boot.config │ │ ├── globalgamemanagers │ │ ├── globalgamemanagers.assets │ │ ├── level0 │ │ ├── resources.assets │ │ ├── resources.assets.resS │ │ ├── sharedassets0.assets │ │ ├── sharedassets0.assets.resS │ │ └── sharedassets0.resource │ └── video.mp4 │ ├── imgs │ ├── 55bb083c71d37.jpg │ ├── 567b96c0e81f3.jpg │ └── 5f1e6ed553d86.jpg │ ├── video.mp4 │ ├── web.html │ ├── web │ ├── css │ │ ├── component.css │ │ ├── demo.css │ │ └── normalize.css │ ├── fonts │ │ └── codropsicons │ │ │ ├── codropsicons.eot │ │ │ ├── codropsicons.svg │ │ │ ├── codropsicons.ttf │ │ │ ├── codropsicons.woff │ │ │ └── license.txt │ ├── img │ │ └── demo-1-bg.jpg │ ├── index.html │ ├── js │ │ ├── EasePack.min.js │ │ ├── TweenLite.min.js │ │ ├── demo-1.js │ │ ├── html5.js │ │ ├── rAF.js │ │ └── time.js │ └── preview.jpg │ └── web2 │ ├── bootstrap.min.css │ ├── images │ ├── config.png │ ├── ui-bg_glass_40_ffc73d_1x400.png │ ├── ui-bg_highlight-hard_20_0972a5_1x100.png │ ├── ui-bg_highlight-soft_33_003147_1x100.png │ ├── ui-bg_highlight-soft_35_222222_1x100.png │ ├── ui-bg_highlight-soft_44_444444_1x100.png │ ├── ui-bg_highlight-soft_80_eeeeee_1x100.png │ ├── ui-bg_loop_25_000000_21x21.png │ ├── ui-icons_222222_256x240.png │ ├── ui-icons_4b8e0b_256x240.png │ ├── ui-icons_a83300_256x240.png │ ├── ui-icons_cccccc_256x240.png │ └── ui-icons_ffffff_256x240.png │ ├── index.html │ ├── index.js │ ├── jquery-ui.min.css │ ├── jquery-ui.min.js │ ├── jquery-ui.structure.min.css │ ├── jquery-ui.theme.min.css │ ├── jquery.min.js │ ├── preview.jpg │ ├── project.json │ └── store.min.js ├── LiveWallpaperEngineAPI ├── Forms │ ├── LiveWallpaperRenderForm.Designer.cs │ ├── LiveWallpaperRenderForm.cs │ └── LiveWallpaperRenderForm.resx ├── LiveWallpaperEngineAPI.csproj ├── Models │ ├── LiveWallpaperOptions.cs │ └── WallpaperModel.cs ├── RenderManager.cs ├── Renders │ ├── BaseRender.cs │ ├── ExeRender.cs │ ├── ExternalProcessRender.cs │ ├── IRender.cs │ ├── ImageRender.cs │ ├── VideoRender.cs │ └── WebRender.cs ├── Utils │ ├── AudioHelper.cs │ ├── DesktopMouseEventReciver.cs │ ├── ExplorerMonitor.cs │ ├── MaximizedMonitor.cs │ ├── SevenZip.cs │ └── WallpaperHelper.cs └── WallpaperApi.cs ├── LiveWallpaperEngineWebRender ├── AppContext.cs ├── BrowserForm.Designer.cs ├── BrowserForm.cs ├── LiveWallpaperEngineWebRender.csproj ├── MenuHanlder.cs ├── Program.cs ├── Properties │ ├── PublishProfiles │ │ ├── FolderProfile.pubxml │ │ └── FolderProfile.pubxml.user │ └── launchSettings.json └── README.md ├── README.md ├── TestEmbedWindow ├── Form1.Designer.cs ├── Form1.cs ├── Form1.resx ├── Program.cs └── TestEmbedWindow.csproj ├── Thirdparty-LiveWallpaperEngineAPI.TXT └── Thirdparty-LiveWallpaperEngineWebRender.TXT /.all-contributorsrc: -------------------------------------------------------------------------------- 1 | { 2 | "files": [ 3 | "README.md" 4 | ], 5 | "imageSize": 100, 6 | "commit": false, 7 | "contributors": [ 8 | { 9 | "login": "DaZiYuan", 10 | "name": "代码抄写狮", 11 | "avatar_url": "https://avatars3.githubusercontent.com/u/80653?v=4", 12 | "profile": "https://www.mscoder.cn/", 13 | "contributions": [ 14 | "code", 15 | "maintenance", 16 | "bug", 17 | "projectManagement" 18 | ] 19 | }, 20 | { 21 | "login": "ADD-SP", 22 | "name": "ADD-SP", 23 | "avatar_url": "https://avatars2.githubusercontent.com/u/44437200?v=4", 24 | "profile": "https://www.addesp.com", 25 | "contributions": [ 26 | "code" 27 | ] 28 | } 29 | ], 30 | "contributorsPerLine": 7, 31 | "projectName": "LiveWallpaperEngine", 32 | "projectOwner": "giant-app", 33 | "repoType": "github", 34 | "repoHost": "https://github.com", 35 | "skipCi": true 36 | } 37 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## [Unreleased](https://github.com/giant-app/livewallpaperengine/tree/HEAD) 4 | 5 | [Full Changelog](https://github.com/giant-app/livewallpaperengine/compare/v2.1...HEAD) 6 | 7 | **Merged pull requests:** 8 | 9 | - docs: add ADD-SP as a contributor [\#21](https://github.com/giant-app/LiveWallpaperEngine/pull/21) ([allcontributors[bot]](https://github.com/apps/allcontributors)) 10 | - docs: add DaZiYuan as a contributor [\#20](https://github.com/giant-app/LiveWallpaperEngine/pull/20) ([allcontributors[bot]](https://github.com/apps/allcontributors)) 11 | 12 | ## [v2.1](https://github.com/giant-app/livewallpaperengine/tree/v2.1) (2020-12-18) 13 | 14 | [Full Changelog](https://github.com/giant-app/livewallpaperengine/compare/v2.0.4...v2.1) 15 | 16 | **Merged pull requests:** 17 | 18 | - Bump yargs-parser from 13.1.1 to 13.1.2 in /obsolete/LiveWallpaperWebRender [\#17](https://github.com/giant-app/LiveWallpaperEngine/pull/17) ([dependabot[bot]](https://github.com/apps/dependabot)) 19 | - Bump node-fetch from 2.6.0 to 2.6.1 in /obsolete/LiveWallpaperWebRender [\#16](https://github.com/giant-app/LiveWallpaperEngine/pull/16) ([dependabot[bot]](https://github.com/apps/dependabot)) 20 | 21 | ## [v2.0.4](https://github.com/giant-app/livewallpaperengine/tree/v2.0.4) (2020-08-03) 22 | 23 | [Full Changelog](https://github.com/giant-app/livewallpaperengine/compare/v2.0...v2.0.4) 24 | 25 | ## [v2.0](https://github.com/giant-app/livewallpaperengine/tree/v2.0) (2020-07-11) 26 | 27 | [Full Changelog](https://github.com/giant-app/livewallpaperengine/compare/v1.3...v2.0) 28 | 29 | **Closed issues:** 30 | 31 | - 鼠标事件转发 [\#6](https://github.com/giant-app/LiveWallpaperEngine/issues/6) 32 | 33 | **Merged pull requests:** 34 | 35 | - Bump electron from 6.0.12 to 7.2.4 in /LiveWallpaperWebRender [\#14](https://github.com/giant-app/LiveWallpaperEngine/pull/14) ([dependabot[bot]](https://github.com/apps/dependabot)) 36 | - 修复了被转发的鼠标信息错误的BUG [\#13](https://github.com/giant-app/LiveWallpaperEngine/pull/13) ([ADD-SP](https://github.com/ADD-SP)) 37 | - 启动MPV库的硬解模式可以显著降低视频壁纸的资源占用。 [\#12](https://github.com/giant-app/LiveWallpaperEngine/pull/12) ([ADD-SP](https://github.com/ADD-SP)) 38 | - 完善了鼠标消息转发功能,现在支持几乎所有的鼠标消息。 [\#11](https://github.com/giant-app/LiveWallpaperEngine/pull/11) ([ADD-SP](https://github.com/ADD-SP)) 39 | - 通过Hook实现了鼠标消息的转发并编写了示例。 [\#10](https://github.com/giant-app/LiveWallpaperEngine/pull/10) ([ADD-SP](https://github.com/ADD-SP)) 40 | 41 | ## [v1.3](https://github.com/giant-app/livewallpaperengine/tree/v1.3) (2019-10-28) 42 | 43 | [Full Changelog](https://github.com/giant-app/livewallpaperengine/compare/v0.1...v1.3) 44 | 45 | **Implemented enhancements:** 46 | 47 | - v0.1 [\#1](https://github.com/giant-app/LiveWallpaperEngine/issues/1) 48 | 49 | **Closed issues:** 50 | 51 | - 项目怎么打开的,请教一下 [\#7](https://github.com/giant-app/LiveWallpaperEngine/issues/7) 52 | - \[Question\]嵌入桌面的机制是什么 [\#4](https://github.com/giant-app/LiveWallpaperEngine/issues/4) 53 | - DZY.WinAPI nuget上版本过低 [\#3](https://github.com/giant-app/LiveWallpaperEngine/issues/3) 54 | 55 | **Merged pull requests:** 56 | 57 | - v1.3 发布 [\#8](https://github.com/giant-app/LiveWallpaperEngine/pull/8) ([DaZiYuan](https://github.com/DaZiYuan)) 58 | - 修复视频黑边问题 [\#5](https://github.com/giant-app/LiveWallpaperEngine/pull/5) ([DaZiYuan](https://github.com/DaZiYuan)) 59 | 60 | ## [v0.1](https://github.com/giant-app/livewallpaperengine/tree/v0.1) (2019-03-21) 61 | 62 | [Full Changelog](https://github.com/giant-app/livewallpaperengine/compare/9769132591c6763f97020c8666fa45900533e1a1...v0.1) 63 | 64 | 65 | 66 | \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* 67 | -------------------------------------------------------------------------------- /Docs/Build.md: -------------------------------------------------------------------------------- 1 | ## 打包命令 2 | ``` 3 | dotnet pack LiveWallpaperEngineAPI -o ../LocalNuget/Packages --configuration release 4 | ``` 5 | ## 生成license 6 | ``` 7 | thirdlicense.exe --project=LiveWallpaperEngineAPI/LiveWallpaperEngineAPI.csproj --output=Thirdparty-LiveWallpaperEngineAPI.TXT 8 | thirdlicense.exe --project=LiveWallpaperEngineWebRender/LiveWallpaperEngineWebRender.csproj --output=Thirdparty-LiveWallpaperEngineWebRender.TXT 9 | ``` 10 | ## 打包LiveWallpaperEngineWebRender 11 | - 执行 build.ps1 12 | 13 | -------------------------------------------------------------------------------- /Docs/README_zh.md: -------------------------------------------------------------------------------- 1 | # 巨应壁纸引擎 2 | 3 | ## 功能: 4 | Windows10 动态壁纸极简API 5 | 6 | ## 应用展示: 7 | [巨应壁纸](https://livewallpaper.giantapp.cn) 8 | 9 | ## 示例: 10 | ```csharp 11 | //初始化 12 | WallpaperApi.Initlize(Dispatcher); 13 | 14 | //显示视频壁纸 15 | WallpaperApi.ShowWallpaper(new WallpaperModel() { Path = "/xxx.mp4"},WallpaperManager.Screens[0]) 16 | //显示exe壁纸 17 | WallpaperApi.ShowWallpaper(new WallpaperModel() { Path = "/xxx.exe"},WallpaperManager.Screens[0]) 18 | //显示html壁纸 19 | WallpaperApi.ShowWallpaper(new WallpaperModel() { Path = "/xxx.html"},WallpaperManager.Screens[0]) 20 | //显示图片壁纸 21 | WallpaperApi.ShowWallpaper(new WallpaperModel() { Path = "/xxx.png"},WallpaperManager.Screens[0]) 22 | ``` 23 | 24 | ## 功能目标: 25 | - [x] 无UI壁纸引擎 26 | - [x] 多屏幕 27 | - [x] EXE壁纸 28 | - [x] 鼠标事件转发 (感谢[ADD-SP](https://github.com/ADD-SP)提供的思路) 29 | - [x] 视频壁纸 30 | - [x] Web壁纸 31 | - [x] 系统图片壁纸 32 | - [x] 音量设置 33 | 34 | ## 对于开源的期望: 35 | - 欢迎提交PR和Issue。 36 | - 不建议商业项目使用。 37 | 38 | ## 运行效果: 39 | * 本仓库自带demo,运行即可。 40 | ``` 41 | 测试壁纸路径 42 | LiveWallpaperEngine\LiveWallpaperEngine.Samples.NetCore.Test\WallpaperSamples 43 | ``` 44 | 45 | ## 其他注意事项: 46 | * 本项目在win10环境开发,win7没有兼容可以自己提交PR。 47 | * 有时会和桌面整理软件冲突,例如Fences。 48 | * 开启360、腾讯管家等杀毒全家桶软件,有可能无法嵌入桌面。 49 | 50 | ## 分支管理 51 | - master 开发中的版本,可能有各种报错 52 | - 1.x 目前线上稳定版本 53 | 54 | ## 作者 55 | - [DaZiYuan](https://github.com/DaZiYuan) 56 | 57 | ## 如果对你有帮助请star支持一下 58 | 59 | -------------------------------------------------------------------------------- /Docs/build_webrender.ps1: -------------------------------------------------------------------------------- 1 | # 依赖库: 2 | # Install-Module -Name 7Zip4Powershell 3 | 4 | 5 | $csproj = "..\LiveWallpaperEngineWebRender\LiveWallpaperEngineWebRender.csproj" 6 | $publish_profile = "..\LiveWallpaperEngineWebRender\Properties\PublishProfiles\FolderProfile.pubxml" 7 | $output_dir = ".\web" 8 | $zip_file=".\web.7z" 9 | 10 | dotnet publish $csproj -p:PublishProfile=$publish_profile --output=$output_dir 11 | Compress-7Zip -Path $output_dir -ArchiveFileName $zip_file 12 | del $output_dir -recurse -------------------------------------------------------------------------------- /Giantapp.LiveWallpaperEngine.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.28922.388 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{B5707277-42B0-4BDA-8EAF-33612CA2ABF0}" 7 | EndProject 8 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{E3554D4E-7CD8-4128-9438-95CDBCDE4B25}" 9 | ProjectSection(SolutionItems) = preProject 10 | Docs\Build.md = Docs\Build.md 11 | Docs\build_webrender.ps1 = Docs\build_webrender.ps1 12 | README.md = README.md 13 | Docs\README_zh.md = Docs\README_zh.md 14 | EndProjectSection 15 | EndProject 16 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LiveWallpaperEngine.Samples.NetCore.Test", "LiveWallpaperEngine.Samples.NetCore.Test\LiveWallpaperEngine.Samples.NetCore.Test.csproj", "{C959B22A-239C-4264-8E54-51AFD5A5B7C4}" 17 | EndProject 18 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestEmbedWindow", "TestEmbedWindow\TestEmbedWindow.csproj", "{123B6CA4-82FF-4AD5-B4B6-8536C9EDF1D8}" 19 | EndProject 20 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{7CA7FDEC-C032-4B4E-8289-AD0B19064A89}" 21 | EndProject 22 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LiveWallpaperEngineAPI", "LiveWallpaperEngineAPI\LiveWallpaperEngineAPI.csproj", "{AAFB595F-C9DA-4F56-84B7-6874608E89CA}" 23 | EndProject 24 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LiveWallpaperEngineWebRender", "LiveWallpaperEngineWebRender\LiveWallpaperEngineWebRender.csproj", "{ABC18B70-4250-4281-AE39-F9AC644C6735}" 25 | EndProject 26 | Global 27 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 28 | Debug|x64 = Debug|x64 29 | Debug|x86 = Debug|x86 30 | Release|x64 = Release|x64 31 | Release|x86 = Release|x86 32 | EndGlobalSection 33 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 34 | {C959B22A-239C-4264-8E54-51AFD5A5B7C4}.Debug|x64.ActiveCfg = Debug|Any CPU 35 | {C959B22A-239C-4264-8E54-51AFD5A5B7C4}.Debug|x64.Build.0 = Debug|Any CPU 36 | {C959B22A-239C-4264-8E54-51AFD5A5B7C4}.Debug|x86.ActiveCfg = Debug|Any CPU 37 | {C959B22A-239C-4264-8E54-51AFD5A5B7C4}.Debug|x86.Build.0 = Debug|Any CPU 38 | {C959B22A-239C-4264-8E54-51AFD5A5B7C4}.Release|x64.ActiveCfg = Release|Any CPU 39 | {C959B22A-239C-4264-8E54-51AFD5A5B7C4}.Release|x64.Build.0 = Release|Any CPU 40 | {C959B22A-239C-4264-8E54-51AFD5A5B7C4}.Release|x86.ActiveCfg = Release|Any CPU 41 | {C959B22A-239C-4264-8E54-51AFD5A5B7C4}.Release|x86.Build.0 = Release|Any CPU 42 | {123B6CA4-82FF-4AD5-B4B6-8536C9EDF1D8}.Debug|x64.ActiveCfg = Debug|Any CPU 43 | {123B6CA4-82FF-4AD5-B4B6-8536C9EDF1D8}.Debug|x64.Build.0 = Debug|Any CPU 44 | {123B6CA4-82FF-4AD5-B4B6-8536C9EDF1D8}.Debug|x86.ActiveCfg = Debug|Any CPU 45 | {123B6CA4-82FF-4AD5-B4B6-8536C9EDF1D8}.Debug|x86.Build.0 = Debug|Any CPU 46 | {123B6CA4-82FF-4AD5-B4B6-8536C9EDF1D8}.Release|x64.ActiveCfg = Release|Any CPU 47 | {123B6CA4-82FF-4AD5-B4B6-8536C9EDF1D8}.Release|x64.Build.0 = Release|Any CPU 48 | {123B6CA4-82FF-4AD5-B4B6-8536C9EDF1D8}.Release|x86.ActiveCfg = Release|Any CPU 49 | {123B6CA4-82FF-4AD5-B4B6-8536C9EDF1D8}.Release|x86.Build.0 = Release|Any CPU 50 | {AAFB595F-C9DA-4F56-84B7-6874608E89CA}.Debug|x64.ActiveCfg = Debug|Any CPU 51 | {AAFB595F-C9DA-4F56-84B7-6874608E89CA}.Debug|x64.Build.0 = Debug|Any CPU 52 | {AAFB595F-C9DA-4F56-84B7-6874608E89CA}.Debug|x86.ActiveCfg = Debug|Any CPU 53 | {AAFB595F-C9DA-4F56-84B7-6874608E89CA}.Debug|x86.Build.0 = Debug|Any CPU 54 | {AAFB595F-C9DA-4F56-84B7-6874608E89CA}.Release|x64.ActiveCfg = Release|Any CPU 55 | {AAFB595F-C9DA-4F56-84B7-6874608E89CA}.Release|x64.Build.0 = Release|Any CPU 56 | {AAFB595F-C9DA-4F56-84B7-6874608E89CA}.Release|x86.ActiveCfg = Release|Any CPU 57 | {AAFB595F-C9DA-4F56-84B7-6874608E89CA}.Release|x86.Build.0 = Release|Any CPU 58 | {ABC18B70-4250-4281-AE39-F9AC644C6735}.Debug|x64.ActiveCfg = Debug|x64 59 | {ABC18B70-4250-4281-AE39-F9AC644C6735}.Debug|x64.Build.0 = Debug|x64 60 | {ABC18B70-4250-4281-AE39-F9AC644C6735}.Debug|x86.ActiveCfg = Debug|x86 61 | {ABC18B70-4250-4281-AE39-F9AC644C6735}.Debug|x86.Build.0 = Debug|x86 62 | {ABC18B70-4250-4281-AE39-F9AC644C6735}.Release|x64.ActiveCfg = Release|x64 63 | {ABC18B70-4250-4281-AE39-F9AC644C6735}.Release|x64.Build.0 = Release|x64 64 | {ABC18B70-4250-4281-AE39-F9AC644C6735}.Release|x86.ActiveCfg = Release|x86 65 | {ABC18B70-4250-4281-AE39-F9AC644C6735}.Release|x86.Build.0 = Release|x86 66 | EndGlobalSection 67 | GlobalSection(SolutionProperties) = preSolution 68 | HideSolutionNode = FALSE 69 | EndGlobalSection 70 | GlobalSection(NestedProjects) = preSolution 71 | {C959B22A-239C-4264-8E54-51AFD5A5B7C4} = {B5707277-42B0-4BDA-8EAF-33612CA2ABF0} 72 | {123B6CA4-82FF-4AD5-B4B6-8536C9EDF1D8} = {B5707277-42B0-4BDA-8EAF-33612CA2ABF0} 73 | {AAFB595F-C9DA-4F56-84B7-6874608E89CA} = {7CA7FDEC-C032-4B4E-8289-AD0B19064A89} 74 | {ABC18B70-4250-4281-AE39-F9AC644C6735} = {7CA7FDEC-C032-4B4E-8289-AD0B19064A89} 75 | EndGlobalSection 76 | GlobalSection(ExtensibilityGlobals) = postSolution 77 | SolutionGuid = {E0CCDD11-AAC6-45FC-883B-0DBE493DA7E9} 78 | EndGlobalSection 79 | EndGlobal 80 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.cs] 2 | 3 | # CA1031: Do not catch general exception types 4 | dotnet_diagnostic.CA1031.severity = none 5 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | namespace LiveWallpaperEngine.Samples.NetCore.Test 4 | { 5 | /// 6 | /// Interaction logic for App.xaml 7 | /// 8 | public partial class App : Application 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/LiveWallpaperEngine.Samples.NetCore.Test.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WinExe 5 | net5.0-windows 6 | true 7 | true 8 | LiveWallpaperEngine.Samples.NetCore.Test.App 9 | 10 | 11 | 12 | 13 | true 14 | true 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | PreserveNewest 37 | 38 | 39 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/MainWindow.xaml: -------------------------------------------------------------------------------- 1 |  13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 45 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/audio.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/audio.mp4 -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/UnityPlayer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/UnityPlayer.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/preview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/preview.jpg -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": "Sheep", 3 | "preview": "preview.jpg", 4 | "file": "sheep.exe", 5 | "authorsteamid": "76561197975619619", 6 | "official" : true, 7 | "timestamp": 0, 8 | "general": { 9 | "properties" : 10 | { 11 | "schemecolor" : 12 | { 13 | "text" : "Scheme color", 14 | "type" : "color", 15 | "value" : "0.19607843137254902 0.4470588235294118 0.25098039215686274" 16 | } 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep.exe -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/Assembly-CSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/Assembly-CSharp.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/Mono.Security.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/Mono.Security.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/System.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/System.Core.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/System.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/System.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AIModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AIModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AIModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AIModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ARModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ARModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ARModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ARModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ARModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.ARModule 6 | 7 | 8 | 9 | Class used to override a camera's default background rendering path to instead render a given Texture and/or Material. This will typically be used with images from the color camera for rendering the AR background on mobile devices. 10 | 11 | 12 | 13 | 14 | The Material used for AR rendering. 15 | 16 | 17 | 18 | 19 | Called when any of the public properties of this class have been changed. 20 | 21 | 22 | 23 | 24 | 25 | An optional Texture used for AR rendering. If this property is not set then the texture set in XR.ARBackgroundRenderer._backgroundMaterial as "_MainTex" is used. 26 | 27 | 28 | 29 | 30 | An optional Camera whose background rendering will be overridden by this class. If this property is not set then the main Camera in the scene is used. 31 | 32 | 33 | 34 | 35 | When set to XR.ARRenderMode.StandardBackground (default) the camera is not overridden to display the background image. Setting this property to XR.ARRenderMode.MaterialAsBackground will render the texture specified by XR.ARBackgroundRenderer._backgroundMaterial and or XR.ARBackgroundRenderer._backgroundTexture as the background. 36 | 37 | 38 | 39 | 40 | Disables AR background rendering. This method is called internally but can be overridden by users who wish to subclass XR.ARBackgroundRenderer to customize handling of AR background rendering. 41 | 42 | 43 | 44 | 45 | Enumeration describing the AR rendering mode used with XR.ARBackgroundRenderer. 46 | 47 | 48 | 49 | 50 | The material associated with XR.ARBackgroundRenderer is being rendered as the background. 51 | 52 | 53 | 54 | 55 | The standard background is rendered. (Skybox, Solid Color, etc.) 56 | 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AccessibilityModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AccessibilityModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AccessibilityModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AccessibilityModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AccessibilityModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.AccessibilityModule 6 | 7 | 8 | 9 | A class containing methods to assist with accessibility for users with different vision capabilities. 10 | 11 | 12 | 13 | 14 | Gets a palette of colors that should be distinguishable for normal vision, deuteranopia, protanopia, and tritanopia. 15 | 16 | An array of colors to populate with a palette. 17 | Minimum allowable perceived luminance from 0 to 1. A value of 0.2 or greater is recommended for dark backgrounds. 18 | Maximum allowable perceived luminance from 0 to 1. A value of 0.8 or less is recommended for light backgrounds. 19 | 20 | The number of unambiguous colors in the palette. 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AnimationModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AnimationModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AnimationModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AnimationModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AudioModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AudioModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AudioModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.AudioModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ClothModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ClothModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ClothModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ClothModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ClusterInputModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ClusterInputModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ClusterInputModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ClusterInputModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ClusterInputModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.ClusterInputModule 6 | 7 | 8 | 9 | Interface for reading and writing inputs in a Unity Cluster. 10 | 11 | 12 | 13 | 14 | Add a new VRPN input entry. 15 | 16 | Name of the input entry. This has to be unique. 17 | Device name registered to VRPN server. 18 | URL to the vrpn server. 19 | Index of the Input entry, refer to vrpn.cfg if unsure. 20 | Type of the input. 21 | 22 | True if the operation succeed. 23 | 24 | 25 | 26 | 27 | Check the connection status of the device to the VRPN server it connected to. 28 | 29 | Name of the input entry. 30 | 31 | 32 | 33 | Edit an input entry which added via ClusterInput.AddInput. 34 | 35 | Name of the input entry. This has to be unique. 36 | Device name registered to VRPN server. 37 | URL to the vrpn server. 38 | Index of the Input entry, refer to vrpn.cfg if unsure. 39 | Type of the ClusterInputType as follow. 40 | 41 | 42 | 43 | Returns the axis value as a continous float. 44 | 45 | Name of input to poll.c. 46 | 47 | 48 | 49 | Returns the binary value of a button. 50 | 51 | Name of input to poll. 52 | 53 | 54 | 55 | Return the position of a tracker as a Vector3. 56 | 57 | Name of input to poll. 58 | 59 | 60 | 61 | Returns the rotation of a tracker as a Quaternion. 62 | 63 | Name of input to poll. 64 | 65 | 66 | 67 | Sets the axis value for this input. Only works for input typed Custom. 68 | 69 | Name of input to modify. 70 | Value to set. 71 | 72 | 73 | 74 | Sets the button value for this input. Only works for input typed Custom. 75 | 76 | Name of input to modify. 77 | Value to set. 78 | 79 | 80 | 81 | Sets the tracker position for this input. Only works for input typed Custom. 82 | 83 | Name of input to modify. 84 | Value to set. 85 | 86 | 87 | 88 | Sets the tracker rotation for this input. Only works for input typed Custom. 89 | 90 | Name of input to modify. 91 | Value to set. 92 | 93 | 94 | 95 | Values to determine the type of input value to be expect from one entry of ClusterInput. 96 | 97 | 98 | 99 | 100 | Device is an analog axis that provides continuous value represented by a float. 101 | 102 | 103 | 104 | 105 | Device that return a binary result of pressed or not pressed. 106 | 107 | 108 | 109 | 110 | A user customized input. 111 | 112 | 113 | 114 | 115 | Device that provide position and orientation values. 116 | 117 | 118 | 119 | 120 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ClusterRendererModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ClusterRendererModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ClusterRendererModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ClusterRendererModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ClusterRendererModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.ClusterRendererModule 6 | 7 | 8 | 9 | A helper class that contains static method to inquire status of Unity Cluster. 10 | 11 | 12 | 13 | 14 | Check whether the current instance is disconnected from the cluster network. 15 | 16 | 17 | 18 | 19 | Check whether the current instance is a master node in the cluster network. 20 | 21 | 22 | 23 | 24 | To acquire or set the node index of the current machine from the cluster network. 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.CoreModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.CoreModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.CoreModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.CoreModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.CrashReportingModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.CrashReportingModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.CrashReportingModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.CrashReportingModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.CrashReportingModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.CrashReportingModule 6 | 7 | 8 | 9 | Engine API for CrashReporting Service. 10 | 11 | 12 | 13 | 14 | This Boolean field will cause CrashReportHandler to capture exceptions when set to true. By default enable capture exceptions is true. 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.DirectorModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.DirectorModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.DirectorModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.DirectorModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.GameCenterModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.GameCenterModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.GameCenterModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.GameCenterModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.GridModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.GridModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.GridModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.GridModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.IMGUIModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.IMGUIModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.IMGUIModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.IMGUIModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ImageConversionModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ImageConversionModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ImageConversionModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ImageConversionModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ImageConversionModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.ImageConversionModule 6 | 7 | 8 | 9 | Class with utility methods and extension methods to deal with converting image data from or to PNG and JPEG formats. 10 | 11 | 12 | 13 | 14 | Encodes this texture into the EXR format. 15 | 16 | The texture to convert. 17 | Flags used to control compression and the output format. 18 | 19 | 20 | 21 | Encodes this texture into JPG format. 22 | 23 | Text texture to convert. 24 | JPG quality to encode with, 1..100 (default 75). 25 | 26 | 27 | 28 | Encodes this texture into JPG format. 29 | 30 | Text texture to convert. 31 | JPG quality to encode with, 1..100 (default 75). 32 | 33 | 34 | 35 | Encodes this texture into PNG format. 36 | 37 | The texture to convert. 38 | 39 | 40 | 41 | Loads PNG/JPG image byte array into a texture. 42 | 43 | The byte array containing the image data to load. 44 | Set to false by default, pass true to optionally mark the texture as non-readable. 45 | The texture to load the image into. 46 | 47 | Returns true if the data can be loaded, false otherwise. 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.InputModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.InputModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.InputModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.InputModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.InputModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.InputModule 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.JSONSerializeModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.JSONSerializeModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.JSONSerializeModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.JSONSerializeModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.JSONSerializeModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.JSONSerializeModule 6 | 7 | 8 | 9 | Utility functions for working with JSON data. 10 | 11 | 12 | 13 | 14 | Create an object from its JSON representation. 15 | 16 | The JSON representation of the object. 17 | 18 | An instance of the object. 19 | 20 | 21 | 22 | 23 | Create an object from its JSON representation. 24 | 25 | The JSON representation of the object. 26 | The type of object represented by the Json. 27 | 28 | An instance of the object. 29 | 30 | 31 | 32 | 33 | Overwrite data in an object by reading from its JSON representation. 34 | 35 | The JSON representation of the object. 36 | The object that should be overwritten. 37 | 38 | 39 | 40 | Generate a JSON representation of the public fields of an object. 41 | 42 | The object to convert to JSON form. 43 | If true, format the output for readability. If false, format the output for minimum size. Default is false. 44 | 45 | The object's data in JSON format. 46 | 47 | 48 | 49 | 50 | Generate a JSON representation of the public fields of an object. 51 | 52 | The object to convert to JSON form. 53 | If true, format the output for readability. If false, format the output for minimum size. Default is false. 54 | 55 | The object's data in JSON format. 56 | 57 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.Networking.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.Networking.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ParticleSystemModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ParticleSystemModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ParticleSystemModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ParticleSystemModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ParticlesLegacyModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ParticlesLegacyModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ParticlesLegacyModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ParticlesLegacyModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.PerformanceReportingModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.PerformanceReportingModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.PerformanceReportingModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.PerformanceReportingModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.PerformanceReportingModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.PerformanceReportingModule 6 | 7 | 8 | 9 | Unity Performace provides insight into your game performace. 10 | 11 | 12 | 13 | 14 | Controls whether the Performance Reporting service is enabled at runtime. 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.Physics2DModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.Physics2DModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.Physics2DModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.Physics2DModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.PhysicsModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.PhysicsModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.PhysicsModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.PhysicsModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ScreenCaptureModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ScreenCaptureModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ScreenCaptureModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ScreenCaptureModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.ScreenCaptureModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.ScreenCaptureModule 6 | 7 | 8 | 9 | Functionality to take Screenshots. 10 | 11 | 12 | 13 | 14 | Captures a screenshot at path filename as a PNG file. 15 | 16 | Pathname to save the screenshot file to. 17 | Factor by which to increase resolution. 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.SpatialTracking.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.SpatialTracking.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.SpriteMaskModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.SpriteMaskModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.SpriteMaskModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.SpriteMaskModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.SpriteMaskModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.SpriteMaskModule 6 | 7 | 8 | 9 | A component for masking Sprites and Particles. 10 | 11 | 12 | 13 | 14 | The minimum alpha value used by the mask to select the area of influence defined over the mask's sprite. 15 | 16 | 17 | 18 | 19 | Unique ID of the sorting layer defining the end of the custom range. 20 | 21 | 22 | 23 | 24 | Order within the back sorting layer defining the end of the custom range. 25 | 26 | 27 | 28 | 29 | Unique ID of the sorting layer defining the start of the custom range. 30 | 31 | 32 | 33 | 34 | Order within the front sorting layer defining the start of the custom range. 35 | 36 | 37 | 38 | 39 | Mask sprites from front to back sorting values only. 40 | 41 | 42 | 43 | 44 | The Sprite used to define the mask. 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.StyleSheetsModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.StyleSheetsModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.StyleSheetsModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.StyleSheetsModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.StyleSheetsModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.StyleSheetsModule 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TerrainModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TerrainModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TerrainModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TerrainModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TerrainPhysicsModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TerrainPhysicsModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TerrainPhysicsModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TerrainPhysicsModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TerrainPhysicsModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.TerrainPhysicsModule 6 | 7 | 8 | 9 | A heightmap based collider. 10 | 11 | 12 | 13 | 14 | The terrain that stores the heightmap. 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TextRenderingModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TextRenderingModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TextRenderingModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TextRenderingModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TilemapModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TilemapModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TilemapModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.TilemapModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.Timeline.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.Timeline.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UI.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UIElementsModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UIElementsModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UIElementsModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UIElementsModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UIModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UIModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UIModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UIModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UNETModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UNETModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UNETModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UNETModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityAnalyticsModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityAnalyticsModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityAnalyticsModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityAnalyticsModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityConnectModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityConnectModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityConnectModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityConnectModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestAudioModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestAudioModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestAudioModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestAudioModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestAudioModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.UnityWebRequestAudioModule 6 | 7 | 8 | 9 | A DownloadHandler subclass specialized for downloading audio data for use as AudioClip objects. 10 | 11 | 12 | 13 | 14 | Returns the downloaded AudioClip, or null. (Read Only) 15 | 16 | 17 | 18 | 19 | Constructor, specifies what kind of audio data is going to be downloaded. 20 | 21 | The nominal (pre-redirect) URL at which the audio clip is located. 22 | Value to set for AudioClip type. 23 | 24 | 25 | 26 | Returns the downloaded AudioClip, or null. 27 | 28 | A finished UnityWebRequest object with DownloadHandlerAudioClip attached. 29 | 30 | The same as DownloadHandlerAudioClip.audioClip 31 | 32 | 33 | 34 | 35 | Called by DownloadHandler.data. Returns a copy of the downloaded clip data as raw bytes. 36 | 37 | 38 | A copy of the downloaded data. 39 | 40 | 41 | 42 | 43 | A specialized DownloadHandler for creating MovieTexture out of downloaded bytes. 44 | 45 | 46 | 47 | 48 | A MovieTexture created out of downloaded bytes. 49 | 50 | 51 | 52 | 53 | Create new DownloadHandlerMovieTexture. 54 | 55 | 56 | 57 | 58 | A convenience (helper) method for casting DownloadHandler to DownloadHandlerMovieTexture and accessing its movieTexture property. 59 | 60 | A UnityWebRequest with attached DownloadHandlerMovieTexture. 61 | 62 | A MovieTexture created out of downloaded bytes. 63 | 64 | 65 | 66 | 67 | Raw downloaded data. 68 | 69 | 70 | Raw downloaded bytes. 71 | 72 | 73 | 74 | 75 | Helpers for downloading multimedia files using UnityWebRequest. 76 | 77 | 78 | 79 | 80 | Create a UnityWebRequest to download an audio clip via HTTP GET and create an AudioClip based on the retrieved data. 81 | 82 | The URI of the audio clip to download. 83 | The type of audio encoding for the downloaded audio clip. See AudioType. 84 | 85 | A UnityWebRequest properly configured to download an audio clip and convert it to an AudioClip. 86 | 87 | 88 | 89 | 90 | Create a UnityWebRequest intended to download a movie clip via HTTP GET and create an MovieTexture based on the retrieved data. 91 | 92 | The URI of the movie clip to download. 93 | 94 | A UnityWebRequest properly configured to download a movie clip and convert it to a MovieTexture. 95 | 96 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestTextureModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestTextureModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestTextureModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestTextureModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestTextureModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.UnityWebRequestTextureModule 6 | 7 | 8 | 9 | A DownloadHandler subclass specialized for downloading images for use as Texture objects. 10 | 11 | 12 | 13 | 14 | Returns the downloaded Texture, or null. (Read Only) 15 | 16 | 17 | 18 | 19 | Default constructor. 20 | 21 | 22 | 23 | 24 | Constructor, allows TextureImporter.isReadable property to be set. 25 | 26 | Value to set for TextureImporter.isReadable. 27 | 28 | 29 | 30 | Returns the downloaded Texture, or null. 31 | 32 | A finished UnityWebRequest object with DownloadHandlerTexture attached. 33 | 34 | The same as DownloadHandlerTexture.texture 35 | 36 | 37 | 38 | 39 | Called by DownloadHandler.data. Returns a copy of the downloaded image data as raw bytes. 40 | 41 | 42 | A copy of the downloaded data. 43 | 44 | 45 | 46 | 47 | Helpers for downloading image files into Textures using UnityWebRequest. 48 | 49 | 50 | 51 | 52 | Create a UnityWebRequest intended to download an image via HTTP GET and create a Texture based on the retrieved data. 53 | 54 | The URI of the image to download. 55 | If true, the texture's raw data will not be accessible to script. This can conserve memory. Default: false. 56 | 57 | A UnityWebRequest properly configured to download an image and convert it to a Texture. 58 | 59 | 60 | 61 | 62 | Create a UnityWebRequest intended to download an image via HTTP GET and create a Texture based on the retrieved data. 63 | 64 | The URI of the image to download. 65 | If true, the texture's raw data will not be accessible to script. This can conserve memory. Default: false. 66 | 67 | A UnityWebRequest properly configured to download an image and convert it to a Texture. 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestWWWModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestWWWModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestWWWModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.UnityWebRequestWWWModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.VRModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.VRModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.VRModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.VRModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.VehiclesModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.VehiclesModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.VehiclesModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.VehiclesModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.VideoModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.VideoModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.VideoModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.VideoModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.WebModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.WebModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.WebModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.WebModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.WebModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.WebModule 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.WindModule.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.WindModule.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.WindModule.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.WindModule.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.WindModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UnityEngine.WindModule 6 | 7 | 8 | 9 | Wind Zones add realism to the trees you create by making them wave their branches and leaves as if blown by the wind. 10 | 11 | 12 | 13 | 14 | Defines the type of wind zone to be used (Spherical or Directional). 15 | 16 | 17 | 18 | 19 | Radius of the Spherical Wind Zone (only active if the WindZoneMode is set to Spherical). 20 | 21 | 22 | 23 | 24 | The primary wind force. 25 | 26 | 27 | 28 | 29 | Defines the frequency of the wind changes. 30 | 31 | 32 | 33 | 34 | Defines ow much the wind changes over time. 35 | 36 | 37 | 38 | 39 | The turbulence wind force. 40 | 41 | 42 | 43 | 44 | The constructor. 45 | 46 | 47 | 48 | 49 | Modes a Wind Zone can have, either Spherical or Directional. 50 | 51 | 52 | 53 | 54 | Wind zone affects the entire scene in one direction. 55 | 56 | 57 | 58 | 59 | Wind zone only has an effect inside the radius, and has a falloff from the center towards the edge. 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/UnityEngine.dll.mdb -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/mscorlib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Managed/mscorlib.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Mono/EmbedRuntime/MonoPosixHelper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Mono/EmbedRuntime/MonoPosixHelper.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Mono/EmbedRuntime/mono.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Mono/EmbedRuntime/mono.dll -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Mono/etc/mono/2.0/Browsers/Compat.browser: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Mono/etc/mono/2.0/settings.map: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 10 | 11 | 20 | 23 | 24 | 25 | 26 | 29 | 30 | 33 | 34 | 43 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Mono/etc/mono/browscap.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Mono/etc/mono/browscap.ini -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Mono/etc/mono/config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Resources/unity default resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Resources/unity default resources -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Resources/unity_builtin_extra: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/Resources/unity_builtin_extra -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/app.info: -------------------------------------------------------------------------------- 1 | DefaultCompany 2 | Sheep Land -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/boot.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/boot.config -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/globalgamemanagers: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/globalgamemanagers -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/globalgamemanagers.assets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/globalgamemanagers.assets -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/level0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/level0 -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/resources.assets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/resources.assets -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/resources.assets.resS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/resources.assets.resS -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/sharedassets0.assets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/sharedassets0.assets -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/sharedassets0.assets.resS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/sharedassets0.assets.resS -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/sharedassets0.resource: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/sheep_Data/sharedassets0.resource -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/video.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/game/video.mp4 -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/imgs/55bb083c71d37.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/imgs/55bb083c71d37.jpg -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/imgs/567b96c0e81f3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/imgs/567b96c0e81f3.jpg -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/imgs/5f1e6ed553d86.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/imgs/5f1e6ed553d86.jpg -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/video.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/video.mp4 -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | test 4 | 5 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/css/component.css: -------------------------------------------------------------------------------- 1 | /* Header */ 2 | .large-header { 3 | position: relative; 4 | width: 100%; 5 | background: #333; 6 | overflow: hidden; 7 | background-size: cover; 8 | background-position: center center; 9 | z-index: 1; 10 | } 11 | .demo-1 .large-header { 12 | background-image: url('../img/demo-1-bg.jpg'); 13 | } 14 | video#bgvid { 15 | position: fixed; right: 0; bottom: 0; 16 | min-width: 100%; min-height: 100%; 17 | width: auto; 18 | height: auto; 19 | z-index: -100; 20 | background: url(polina.jpg) no-repeat; 21 | background-size: cover; } 22 | 23 | .main-title { 24 | position: absolute; 25 | margin: 0; 26 | padding: 0; 27 | color: #f9f1e9; 28 | text-align: center; 29 | top: 50%; 30 | left: 50%; 31 | -webkit-transform: translate3d(-50%,-50%,0); 32 | transform: translate3d(-50%,-50%,0); 33 | } 34 | 35 | .demo-1 .main-title, 36 | .demo-3 .main-title { 37 | text-transform: uppercase; 38 | font-size: 4.2em; 39 | letter-spacing: 0.1em; 40 | } 41 | 42 | .demo-2 .main-title { 43 | font-family: 'Clicker Script', cursive; 44 | font-weight: normal; 45 | font-size: 8em; 46 | padding-left: 10px; 47 | text-shadow: 2px 2px 4px rgba(0,0,0,0.4); 48 | } 49 | 50 | .demo-2 .main-title::before { 51 | content: ''; 52 | width: 20vw; 53 | height: 20vw; 54 | min-width: 3.5em; 55 | min-height: 3.5em; 56 | background: url(../img/deco.svg) no-repeat center center; 57 | background-size: cover; 58 | position: absolute; 59 | top: 50%; 60 | left: 50%; 61 | border-radius: 50%; 62 | z-index: -1; 63 | -webkit-transform: translate3d(-50%,-50%,0); 64 | transform: translate3d(-50%,-50%,0); 65 | } 66 | 67 | .demo-3 .main-title { 68 | padding: 10px 40px; 69 | border: 10px double #f9f1e9; 70 | text-transform: uppercase; 71 | font-family: Londrina Outline, sans-serif; 72 | } 73 | 74 | .demo-4 .main-title { 75 | font-size: 6em; 76 | font-weight: 300; 77 | padding: 10px 30px; 78 | text-transform: uppercase; 79 | color: #222; 80 | } 81 | 82 | .main-title .thin { 83 | font-weight: 200; 84 | } 85 | 86 | @media only screen and (max-width : 768px) { 87 | .demo-1 .main-title, 88 | .demo-3 .main-title, 89 | .demo-4 .main-title { 90 | font-size: 3em; 91 | } 92 | 93 | .demo-2 .main-title { 94 | font-size: 4em; 95 | } 96 | } -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/css/demo.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-weight: normal; 3 | font-style: normal; 4 | font-family: 'codropsicons'; 5 | src:url('../fonts/codropsicons/codropsicons.eot'); 6 | src:url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'), 7 | url('../fonts/codropsicons/codropsicons.woff') format('woff'), 8 | url('../fonts/codropsicons/codropsicons.ttf') format('truetype'), 9 | url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg'); 10 | } 11 | 12 | *, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; } 13 | .clearfix:before, .clearfix:after { content: ''; display: table; } 14 | .clearfix:after { clear: both; } 15 | 16 | body { 17 | overflow:hidden; 18 | background: #fff; 19 | color: #fff; 20 | font-weight: 400; 21 | font-size: 1em; 22 | line-height: 1.25; 23 | font-family: 'Raleway', Calibri, Arial, sans-serif; 24 | } 25 | 26 | a, button { 27 | outline: none; 28 | } 29 | 30 | a { 31 | color: #fff; 32 | text-decoration: none; 33 | } 34 | 35 | a:hover, a:focus { 36 | color: #fff; 37 | } 38 | 39 | section { 40 | padding: 1em; 41 | text-align: center; 42 | } 43 | 44 | p.ref { 45 | text-align: center; 46 | padding: 2em 1em; 47 | } 48 | 49 | /* Header */ 50 | .codrops-header { 51 | margin: 0 auto; 52 | padding: 2em; 53 | text-align: center; 54 | max-width: 900px; 55 | } 56 | 57 | .codrops-header h1 { 58 | margin: 0; 59 | font-size: 4.5em; 60 | line-height: 1; 61 | font-weight: 200; 62 | } 63 | 64 | .codrops-header h1 span { 65 | display: block; 66 | padding: 1em 0 1.5em; 67 | font-size: 36%; 68 | color: #95a5a6; 69 | line-height: 1.4; 70 | } 71 | 72 | /* To Navigation Style */ 73 | .codrops-top { 74 | width: 100%; 75 | text-transform: uppercase; 76 | font-weight: 700; 77 | font-size: 0.69em; 78 | text-align: center; 79 | padding: 3em 0; 80 | } 81 | 82 | .codrops-top a { 83 | display: inline-block; 84 | padding: 1.5em; 85 | text-decoration: none; 86 | letter-spacing: 1px; 87 | } 88 | 89 | .codrops-icon:before { 90 | margin: 0 4px; 91 | text-transform: none; 92 | font-weight: normal; 93 | font-style: normal; 94 | font-variant: normal; 95 | font-family: 'codropsicons'; 96 | line-height: 1; 97 | speak: none; 98 | -webkit-font-smoothing: antialiased; 99 | } 100 | 101 | .codrops-icon-drop:before { 102 | content: "\e001"; 103 | } 104 | 105 | .codrops-icon-prev:before { 106 | content: "\e004"; 107 | } 108 | 109 | /* Demo Buttons Style */ 110 | .codrops-demos { 111 | padding-top: 1em; 112 | font-size: 0.8em; 113 | text-align:center; 114 | } 115 | 116 | .codrops-demos a { 117 | display: inline-block; 118 | margin: 0.35em 0.1em; 119 | padding: 0.5em 1.2em; 120 | outline: none; 121 | text-decoration: none; 122 | text-transform: uppercase; 123 | letter-spacing: 1px; 124 | font-weight: 700; 125 | border-radius: 2px; 126 | font-size: 110%; 127 | border: 2px solid transparent; 128 | } 129 | 130 | .codrops-demos a:hover, 131 | .codrops-demos a.current-demo { 132 | border-color: #fff; 133 | } 134 | 135 | .codrops-demos h3 { 136 | margin: 0; 137 | padding: 1em 0 0.5em 0; 138 | font-size: 0.9em; 139 | float: left; 140 | min-width: 90px; 141 | clear: left; 142 | } 143 | 144 | .codrops-demos div:not(:first-child) h3 { 145 | padding-top: 2em; 146 | } 147 | 148 | .codrops-demos a:hover, 149 | .codrops-demos a.current-demo { 150 | color: inherit; 151 | border-color: initial; 152 | } 153 | 154 | /* Related demos */ 155 | .related { 156 | padding: 10em 0; 157 | } 158 | 159 | .related p { 160 | font-size: 1.5em; 161 | } 162 | 163 | .related > a { 164 | display: inline-block; 165 | text-align: center; 166 | margin: 20px 10px; 167 | padding: 25px; 168 | vertical-align: middle; 169 | } 170 | 171 | .related a img { 172 | max-width: 100%; 173 | opacity: 0.8; 174 | border-radius: 10px; 175 | } 176 | 177 | .related a:hover img, 178 | .related a:active img { 179 | opacity: 1; 180 | } 181 | 182 | .related a h3 { 183 | margin: 0; 184 | min-height: 63px; 185 | padding: 0.5em 0 0.3em; 186 | max-width: 300px; 187 | text-align: center; 188 | font-weight: 400; 189 | font-size: 1em; 190 | } 191 | 192 | @media screen and (max-width: 40em) { 193 | 194 | .codrops-header h1 { 195 | font-size: 2.5em; 196 | } 197 | } -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/css/normalize.css: -------------------------------------------------------------------------------- 1 | article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;} -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/fonts/codropsicons/codropsicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/fonts/codropsicons/codropsicons.eot -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/fonts/codropsicons/codropsicons.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This is a custom SVG font generated by IcoMoon. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/fonts/codropsicons/codropsicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/fonts/codropsicons/codropsicons.ttf -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/fonts/codropsicons/codropsicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/fonts/codropsicons/codropsicons.woff -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/fonts/codropsicons/license.txt: -------------------------------------------------------------------------------- 1 | Icon Set: Font Awesome -- http://fortawesome.github.com/Font-Awesome/ 2 | License: SIL -- http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL 3 | 4 | 5 | Icon Set: Eco Ico -- http://dribbble.com/shots/665585-Eco-Ico 6 | License: CC0 -- http://creativecommons.org/publicdomain/zero/1.0/ -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/img/demo-1-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/img/demo-1-bg.jpg -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 桌面 11 | 12 | 13 | 14 | 15 | 18 | 19 | 20 | 21 |
22 |
23 |
24 | 25 |

这里显示时间

26 |
27 |
28 |
29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/js/EasePack.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * VERSION: beta 1.9.4 3 | * DATE: 2014-07-17 4 | * UPDATES AND DOCS AT: http://www.greensock.com 5 | * 6 | * @license Copyright (c) 2008-2014, GreenSock. All rights reserved. 7 | * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for 8 | * Club GreenSock members, the software agreement that was issued with your membership. 9 | * 10 | * @author: Jack Doyle, jack@greensock.com 11 | **/ 12 | var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,s,r=_gsScope.GreenSockGlobals||_gsScope,n=r.com.greensock,a=2*Math.PI,o=Math.PI/2,h=n._class,l=function(e,i){var s=h("easing."+e,function(){},!0),r=s.prototype=new t;return r.constructor=s,r.getRatio=i,s},_=t.register||function(){},u=function(t,e,i,s){var r=h("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new s},!0);return _(r,t),r},c=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},p=function(e,i){var s=h("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=s.prototype=new t;return r.constructor=s,r.getRatio=i,r.config=function(t){return new s(t)},s},f=u("Back",p("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),p("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),p("BackInOut",function(t){return 1>(t*=2)?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=h("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=i===!0},!0),d=m.prototype=new t;return d.constructor=m,d.getRatio=function(t){var e=t+(.5-t)*this._p;return this._p1>t?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),d.config=m.config=function(t,e,i){return new m(t,e,i)},e=h("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0),d=e.prototype=new t,d.constructor=e,d.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},d.config=e.config=function(t){return new e(t)},i=h("easing.RoughEase",function(e){e=e||{};for(var i,s,r,n,a,o,h=e.taper||"none",l=[],_=0,u=0|(e.points||20),p=u,f=e.randomize!==!1,m=e.clamp===!0,d=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--p>-1;)i=f?Math.random():1/u*p,s=d?d.getRatio(i):i,"none"===h?r=g:"out"===h?(n=1-i,r=n*n*g):"in"===h?r=i*i*g:.5>i?(n=2*i,r=.5*n*n*g):(n=2*(1-i),r=.5*n*n*g),f?s+=Math.random()*r-.5*r:p%2?s+=.5*r:s-=.5*r,m&&(s>1?s=1:0>s&&(s=0)),l[_++]={x:i,y:s};for(l.sort(function(t,e){return t.x-e.x}),o=new c(1,1,null),p=u;--p>-1;)a=l[p],o=new c(a.x,a.y,o);this._prev=new c(0,0,0!==o.t?o:o.next)},!0),d=i.prototype=new t,d.constructor=i,d.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&e.t>=t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},d.config=function(t){return new i(t)},i.ease=new i,u("Bounce",l("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),l("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),l("BounceInOut",function(t){var e=.5>t;return t=e?1-2*t:2*t-1,t=1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),u("Circ",l("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),l("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),l("CircInOut",function(t){return 1>(t*=2)?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),s=function(e,i,s){var r=h("easing."+e,function(t,e){this._p1=t||1,this._p2=e||s,this._p3=this._p2/a*(Math.asin(1/this._p1)||0)},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,n.config=function(t,e){return new r(t,e)},r},u("Elastic",s("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*a/this._p2)+1},.3),s("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*a/this._p2))},.3),s("ElasticInOut",function(t){return 1>(t*=2)?-.5*this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*a/this._p2):.5*this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*a/this._p2)+1},.45)),u("Expo",l("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),l("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),l("ExpoInOut",function(t){return 1>(t*=2)?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),u("Sine",l("SineOut",function(t){return Math.sin(t*o)}),l("SineIn",function(t){return-Math.cos(t*o)+1}),l("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),h("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),_(r.SlowMo,"SlowMo","ease,"),_(i,"RoughEase","ease,"),_(e,"SteppedEase","ease,"),f},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(); -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/js/html5.js: -------------------------------------------------------------------------------- 1 | /* 2 | HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); 5 | a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; 6 | c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| 7 | "undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f); 8 | if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d"; 13 | if ( ww > 0 && ww < 7 ) colorhead=""; 14 | if (ww==0) ww="SUN"; 15 | if (ww==1) ww="MON"; 16 | if (ww==2) ww="TUE"; 17 | if (ww==3) ww="WED"; 18 | if (ww==4) ww="THU"; 19 | if (ww==5) ww="FRI"; 20 | if (ww==6) ww="SAT"; 21 | colorfoot="" 22 | if (useAm == 0) { 23 | str = colorhead + "" + hh + ":" + mm + ":" + ss + ""+ "
" + ww + " " + colorfoot; 24 | }else { 25 | if (hh > 12) { 26 | hh = hh - 12; 27 | str = colorhead + "" + "PM" + ""+ "
" + "" + hh + ":" + mm + ":" + ss + ""+ "
" + ww + " " + colorfoot; 28 | }else{ 29 | str = colorhead + "" + "AM" + ""+ "
" + "" + hh + ":" + mm + ":" + ss + ""+ "
" + ww + " " + colorfoot; 30 | } 31 | } 32 | return(str); 33 | }; 34 | function tick() 35 | { 36 | var today; 37 | today = new Date(); 38 | document.getElementById("localtime").innerHTML = showLocale(today); 39 | window.setTimeout("tick()", 1000); 40 | }; 41 | tick(); -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/preview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web/preview.jpg -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/config.png -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-bg_glass_40_ffc73d_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-bg_glass_40_ffc73d_1x400.png -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-bg_highlight-hard_20_0972a5_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-bg_highlight-hard_20_0972a5_1x100.png -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-bg_highlight-soft_33_003147_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-bg_highlight-soft_33_003147_1x100.png -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-bg_highlight-soft_35_222222_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-bg_highlight-soft_35_222222_1x100.png -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-bg_highlight-soft_44_444444_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-bg_highlight-soft_44_444444_1x100.png -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-bg_highlight-soft_80_eeeeee_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-bg_highlight-soft_80_eeeeee_1x100.png -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-bg_loop_25_000000_21x21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-bg_loop_25_000000_21x21.png -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-icons_4b8e0b_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-icons_4b8e0b_256x240.png -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-icons_a83300_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-icons_a83300_256x240.png -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-icons_cccccc_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-icons_cccccc_256x240.png -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 16 | 17 | 18 |
19 |
20 |
21 |

color change rate:

22 |
23 |

light scope:

24 |
25 | 29 |
30 | 31 |
32 |
33 |
34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/preview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/preview.jpg -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "approved" : true, 3 | "description" : "一个鼠标跟随的网格效果,支持鼠标运动过程中自动变换颜色", 4 | "file" : "index.html", 5 | "general" : 6 | { 7 | "properties" : 8 | { 9 | "schemecolor" : 10 | { 11 | "order" : 0, 12 | "text" : "ui_browse_properties_scheme_color", 13 | "type" : "color", 14 | "value" : "0 0 0" 15 | } 16 | } 17 | }, 18 | "monetization" : false, 19 | "preview" : "preview.jpg", 20 | "tags" : [ "Fantasy" ], 21 | "title" : "鼠标跟随网格", 22 | "type" : "web", 23 | "visibility" : "public", 24 | "workshopid" : 840063766 25 | } -------------------------------------------------------------------------------- /LiveWallpaperEngine.Samples.NetCore.Test/WallpaperSamples/web2/store.min.js: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2010-2013 Marcus Westin */ 2 | "use strict";(function(e,t){typeof define=="function"&&define.amd?define([],t):typeof exports=="object"?module.exports=t():e.store=t()})(this,function(){function o(){try{return r in t&&t[r]}catch(e){return!1}}var e={},t=typeof window!="undefined"?window:global,n=t.document,r="localStorage",i="script",s;e.disabled=!1,e.version="1.3.20",e.set=function(e,t){},e.get=function(e,t){},e.has=function(t){return e.get(t)!==undefined},e.remove=function(e){},e.clear=function(){},e.transact=function(t,n,r){r==null&&(r=n,n=null),n==null&&(n={});var i=e.get(t,n);r(i),e.set(t,i)},e.getAll=function(){},e.forEach=function(){},e.serialize=function(e){return JSON.stringify(e)},e.deserialize=function(e){if(typeof e!="string")return undefined;try{return JSON.parse(e)}catch(t){return e||undefined}};if(o())s=t[r],e.set=function(t,n){return n===undefined?e.remove(t):(s.setItem(t,e.serialize(n)),n)},e.get=function(t,n){var r=e.deserialize(s.getItem(t));return r===undefined?n:r},e.remove=function(e){s.removeItem(e)},e.clear=function(){s.clear()},e.getAll=function(){var t={};return e.forEach(function(e,n){t[e]=n}),t},e.forEach=function(t){for(var n=0;ndocument.w=window'),a.close(),u=a.w.frames[0].document,s=u.createElement("div")}catch(f){s=n.createElement("div"),u=n.body}var l=function(t){return function(){var n=Array.prototype.slice.call(arguments,0);n.unshift(s),u.appendChild(s),s.addBehavior("#default#userData"),s.load(r);var i=t.apply(e,n);return u.removeChild(s),i}},c=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g"),h=function(e){return e.replace(/^d/,"___$&").replace(c,"___")};e.set=l(function(t,n,i){return n=h(n),i===undefined?e.remove(n):(t.setAttribute(n,e.serialize(i)),t.save(r),i)}),e.get=l(function(t,n,r){n=h(n);var i=e.deserialize(t.getAttribute(n));return i===undefined?r:i}),e.remove=l(function(e,t){t=h(t),e.removeAttribute(t),e.save(r)}),e.clear=l(function(e){var t=e.XMLDocument.documentElement.attributes;e.load(r);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(r)}),e.getAll=function(t){var n={};return e.forEach(function(e,t){n[e]=t}),n},e.forEach=l(function(t,n){var r=t.XMLDocument.documentElement.attributes;for(var i=0,s;s=r[i];++i)n(s.name,e.deserialize(t.getAttribute(s.name)))})}try{var p="__storejs__";e.set(p,p),e.get(p)!=p&&(e.disabled=!0),e.remove(p)}catch(f){e.disabled=!0}return e.enabled=!e.disabled,e}); -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Forms/LiveWallpaperRenderForm.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Giantapp.LiveWallpaper.Engine.Forms 2 | { 3 | partial class LiveWallpaperRenderForm 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "LiveWallpaperRenderForm"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Forms/LiveWallpaperRenderForm.cs: -------------------------------------------------------------------------------- 1 | using Giantapp.LiveWallpaper.Engine.Utils; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Drawing; 5 | using System.Windows.Forms; 6 | using WinAPI; 7 | 8 | namespace Giantapp.LiveWallpaper.Engine.Forms 9 | { 10 | /// 11 | /// 显示壁纸根窗体 12 | /// 13 | public partial class LiveWallpaperRenderForm : Form 14 | { 15 | static readonly Dictionary _hosts = new Dictionary(); 16 | readonly string _screenName; 17 | 18 | public LiveWallpaperRenderForm(string screenName) 19 | { 20 | InitializeComponent(); 21 | Text = "RenderHost" + screenName; 22 | _screenName = screenName; 23 | //UI 24 | BackColor = Color.Magenta; 25 | TransparencyKey = Color.Magenta; 26 | ShowInTaskbar = false; 27 | FormBorderStyle = FormBorderStyle.None; 28 | Opacity = 0; 29 | _hosts[screenName] = this; 30 | } 31 | 32 | internal void ShowWallpaper(IntPtr wallpaperHandle) 33 | { 34 | IntPtr hostForm = IntPtr.Zero; 35 | WallpaperApi.UIInvoke(() => 36 | { 37 | try 38 | { 39 | Controls.Clear(); 40 | Opacity = 1; 41 | hostForm = Handle; 42 | } 43 | catch (Exception ex) 44 | { 45 | System.Diagnostics.Debug.WriteLine($"ShowWallpaper ex:{ex}"); 46 | } 47 | }); 48 | 49 | //hostfrom下潜桌面 50 | WallpaperHelper.GetInstance(_screenName).SendToBackground(hostForm); 51 | //壁纸parent改为hostform 52 | User32Wrapper.SetParent(wallpaperHandle, hostForm); 53 | //把壁纸全屏铺满 hostform 54 | WallpaperHelper.FullScreen(wallpaperHandle, hostForm); 55 | } 56 | 57 | public static LiveWallpaperRenderForm GetHost(string screen, bool autoCreate = true) 58 | { 59 | if (!_hosts.ContainsKey(screen)) 60 | { 61 | if (autoCreate) 62 | WallpaperApi.UIInvoke(() => 63 | { 64 | var host = _hosts[screen] = new LiveWallpaperRenderForm(screen); 65 | host.Show(); 66 | }); 67 | } 68 | 69 | if (_hosts.ContainsKey(screen)) 70 | return _hosts[screen]; 71 | else 72 | return null; 73 | } 74 | 75 | #region private 76 | 77 | #endregion 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Forms/LiveWallpaperRenderForm.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/LiveWallpaperEngineAPI.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | net5.0-windows 5 | true 6 | true 7 | 2.1.0 8 | Giantapp.LiveWallpaper.Engine 9 | 无界面 Windows 10 动态壁纸引擎API。支持视频,网页壁纸,EXE壁纸,图片壁纸 | Windows 10 Dynamic Wallpaper Engine API without UI.Support video, HTML, EXE, IMG wallpaper. 10 | https://github.com/giant-app/LiveWallpaperEngine 11 | Gianapp 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Models/LiveWallpaperOptions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Reflection; 6 | using System.Text; 7 | 8 | namespace Giantapp.LiveWallpaper.Engine 9 | { 10 | public class ScreenOption 11 | { 12 | public enum ActionWhenMaximized 13 | { 14 | Pause, 15 | Stop, 16 | Play 17 | } 18 | /// 19 | /// 最大化时壁纸是否暂停,停止等 20 | /// 21 | public ActionWhenMaximized WhenAppMaximized { get; set; } 22 | /// 23 | /// 所影响的屏幕 24 | /// 25 | public string Screen { get; set; } 26 | } 27 | /// 28 | /// api 提供的选项 29 | /// 30 | public class LiveWallpaperOptions 31 | { 32 | private readonly string _defaultExternalPlayerFolder; 33 | public LiveWallpaperOptions() 34 | { 35 | 36 | } 37 | public LiveWallpaperOptions(string defaultExternalPlayerFolder) 38 | { 39 | _defaultExternalPlayerFolder = defaultExternalPlayerFolder; 40 | } 41 | 42 | /// 43 | /// explorer挂了是否重启 44 | /// 45 | public bool AutoRestartWhenExplorerCrash { get; set; } 46 | /// 47 | /// 屏幕参数 48 | /// 49 | public List ScreenOptions { get; set; } 50 | /// 51 | /// 壁纸音源来源哪块屏幕, 非屏幕值表示禁用 52 | /// 53 | public string AudioScreen { get; set; } 54 | #pragma warning disable CA1822 // 将成员标记为 static 55 | public List AudioScreenOptions 56 | #pragma warning restore CA1822 // 将成员标记为 static 57 | { 58 | get 59 | { 60 | var r = WallpaperApi.Screens.ToList(); 61 | return r; 62 | } 63 | } 64 | /// 65 | /// 屏幕最大化是否影响所有屏幕 66 | /// 67 | public bool AppMaximizedEffectAllScreen { get; set; } 68 | /// 69 | /// 转发鼠标事件 70 | /// 71 | public bool ForwardMouseEvent { get; set; } = true; 72 | 73 | private string _externalPlayerFolder; 74 | /// 75 | /// 视频播放器,浏览器等存储位置 76 | /// 77 | public string ExternalPlayerFolder 78 | { 79 | get 80 | { 81 | if (string.IsNullOrEmpty(_externalPlayerFolder)) 82 | { 83 | //可以通过构造函数,控制默认值 84 | if (!string.IsNullOrEmpty(_defaultExternalPlayerFolder)) 85 | return _defaultExternalPlayerFolder; 86 | 87 | //默认位置 88 | var assembly = Assembly.GetEntryAssembly(); 89 | string appDir = Path.GetDirectoryName(assembly.Location); 90 | return $@"{appDir}\players\"; 91 | } 92 | 93 | return _externalPlayerFolder; 94 | } 95 | set => _externalPlayerFolder = value; 96 | } 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/RenderManager.cs: -------------------------------------------------------------------------------- 1 | using Giantapp.LiveWallpaper.Engine.Renders; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | 6 | namespace Giantapp.LiveWallpaper.Engine 7 | { 8 | /// 9 | /// 定义render类型的实现 10 | /// 11 | /// 12 | public static class RenderManager 13 | { 14 | public static List Renders { get; set; } = new List(); 15 | 16 | public static IRender GetRender(WallpaperType dType) 17 | { 18 | foreach (var instance in Renders) 19 | { 20 | if (instance.SupportType == dType) 21 | return instance; 22 | } 23 | 24 | return null; 25 | } 26 | 27 | public static IRender GetRenderByExtension(string extension) 28 | { 29 | foreach (var instance in Renders) 30 | { 31 | var exist = instance.SupportExtension.FirstOrDefault(m => m == extension.ToLower()); 32 | if (exist != null) 33 | return instance; 34 | } 35 | 36 | return null; 37 | } 38 | 39 | internal static IRender GetRender(WallpaperModel wallpaper) 40 | { 41 | if (wallpaper.RunningData.Type != null) 42 | return GetRender(wallpaper.RunningData.Type.Value); 43 | else if (!string.IsNullOrEmpty(wallpaper.RunningData.AbsolutePath)) 44 | return GetRenderByExtension(Path.GetExtension(wallpaper.RunningData.AbsolutePath)); 45 | return null; 46 | } 47 | 48 | //public static WallpaperType? ResoveType(string filePath) 49 | //{ 50 | // var extension = Path.GetExtension(filePath); 51 | // foreach (var render in Renders) 52 | // { 53 | // var exist = render.SupportedExtension.FirstOrDefault(m => m == extension.ToLower()); 54 | // if (exist != null) 55 | // return render.SupportedType; 56 | // } 57 | // return null; 58 | //} 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Renders/ExeRender.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Giantapp.LiveWallpaper.Engine.Renders 4 | { 5 | public class ExeRender : ExternalProcessRender 6 | { 7 | public ExeRender() : base(WallpaperType.Exe, new List() { ".exe" }) 8 | { 9 | 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Renders/ExternalProcessRender.cs: -------------------------------------------------------------------------------- 1 | using Giantapp.LiveWallpaper.Engine.Forms; 2 | using Giantapp.LiveWallpaper.Engine.Utils; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Diagnostics; 6 | using System.Threading; 7 | using System.Threading.Tasks; 8 | using WinAPI.Helpers; 9 | 10 | namespace Giantapp.LiveWallpaper.Engine.Renders 11 | { 12 | //目前所有动态壁纸都是这个类实现,通过启用外部exe来渲染,以防止崩溃。 13 | public class ExternalProcessRender : BaseRender 14 | { 15 | private static readonly ProcessJobTracker _pj = new ProcessJobTracker(); 16 | 17 | protected ExternalProcessRender(WallpaperType type, List extension, bool mouseEvent = true) : base(type, extension, mouseEvent) 18 | { 19 | } 20 | 21 | protected override async Task InnerCloseWallpaperAsync(List wallpaperRenders, bool closeBeforeOpening) 22 | { 23 | //不论是否临时关闭,都需要关闭进程重启进程 24 | foreach (var render in wallpaperRenders) 25 | { 26 | try 27 | { 28 | var p = Process.GetProcessById(render.PId); 29 | p.Kill(); 30 | } 31 | catch (Exception ex) 32 | { 33 | Debug.WriteLine($"InnerCloseWallpaper ex:{ex}"); 34 | } 35 | finally 36 | { 37 | if (SupportMouseEvent) 38 | await DesktopMouseEventReciver.RemoveHandle(render.ReceiveMouseEventHandle); 39 | } 40 | } 41 | } 42 | 43 | protected override async Task>> InnerShowWallpaper(WallpaperModel wallpaper, CancellationToken ct, params string[] screens) 44 | { 45 | List infos = new List(); 46 | List tmpTasks = new List(); 47 | 48 | ProcessStartInfo pInfo = await Task.Run(() => GetRenderExeInfo(wallpaper)); 49 | if (pInfo == null) 50 | return BaseApiResult>.ErrorState(ErrorType.NoPlayer); 51 | 52 | foreach (var screenItem in screens) 53 | { 54 | if (ct.IsCancellationRequested) 55 | break; 56 | var task = Task.Run(async () => 57 | { 58 | try 59 | { 60 | var processResult = await StartProcess(pInfo, ct); 61 | 62 | //壁纸启动失败 63 | if (processResult.HostHandle == IntPtr.Zero) 64 | return; 65 | 66 | var host = LiveWallpaperRenderForm.GetHost(screenItem); 67 | host!.ShowWallpaper(processResult.HostHandle); 68 | 69 | infos.Add(new RenderInfo(processResult) 70 | { 71 | Wallpaper = wallpaper, 72 | Screen = screenItem 73 | }); 74 | } 75 | catch (OperationCanceledException) 76 | { 77 | } 78 | catch (Exception ex) 79 | { 80 | Debug.WriteLine(ex); 81 | } 82 | }, ct); 83 | 84 | tmpTasks.Add(task); 85 | } 86 | await Task.WhenAll(tmpTasks); 87 | 88 | if (SupportMouseEvent && WallpaperApi.Options.ForwardMouseEvent && wallpaper.Option.EnableMouseEvent) 89 | { 90 | foreach (var item in infos) 91 | await DesktopMouseEventReciver.AddHandle(item.ReceiveMouseEventHandle, item.Screen); 92 | } 93 | return BaseApiResult>.SuccessState(infos); 94 | } 95 | 96 | protected virtual ProcessStartInfo GetRenderExeInfo(WallpaperModel model) 97 | { 98 | return new ProcessStartInfo(model.RunningData.AbsolutePath); 99 | } 100 | protected virtual Task StartProcess(ProcessStartInfo info, CancellationToken ct) 101 | { 102 | return Task.Run(() => 103 | { 104 | Stopwatch sw = new Stopwatch(); 105 | sw.Start(); 106 | int timeout = 30 * 1000; 107 | 108 | info.WindowStyle = ProcessWindowStyle.Maximized; 109 | info.CreateNoWindow = true; 110 | Process targetProcess = Process.Start(info); 111 | 112 | while (targetProcess.MainWindowHandle == IntPtr.Zero) 113 | { 114 | if (ct.IsCancellationRequested) 115 | targetProcess.Kill(); 116 | ct.ThrowIfCancellationRequested(); 117 | Thread.Sleep(10); 118 | int pid = targetProcess.Id; 119 | targetProcess.Dispose(); 120 | //mainWindowHandle不会变,重新获取 121 | targetProcess = Process.GetProcessById(pid); 122 | 123 | if (sw.ElapsedMilliseconds > timeout) 124 | { 125 | sw.Stop(); 126 | break; 127 | } 128 | } 129 | 130 | RenderProcess result = new RenderProcess() 131 | { 132 | PId = targetProcess.Id, 133 | HostHandle = targetProcess.MainWindowHandle, 134 | ReceiveMouseEventHandle = targetProcess.MainWindowHandle 135 | }; 136 | //壁纸引擎关闭后,关闭渲染进程 137 | _pj.AddProcess(targetProcess); 138 | targetProcess.Dispose(); 139 | return result; 140 | }); 141 | } 142 | } 143 | } 144 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Renders/IRender.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Threading.Tasks; 5 | 6 | namespace Giantapp.LiveWallpaper.Engine.Renders 7 | { 8 | /// 9 | /// 呈现一种类型的壁纸 10 | /// 11 | public interface IRender 12 | { 13 | WallpaperType SupportType { get; } 14 | 15 | List SupportExtension { get; } 16 | /// 17 | /// 释放 18 | /// 19 | void Dispose(); 20 | /// 21 | /// 加载壁纸,内部处理重复开壁纸问题 22 | /// 23 | /// 24 | Task>> ShowWallpaper(WallpaperModel wallpaper, params string[] screen); 25 | void Pause(params string[] screens); 26 | void Resume(params string[] screens); 27 | void SetVolume(int v, string screen); 28 | int GetVolume(string screen); 29 | Task CloseWallpaperAsync(params string[] screens); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Renders/ImageRender.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading; 5 | using System.Threading.Tasks; 6 | using System.Windows.Forms; 7 | using WinAPI.Desktop.API; 8 | 9 | namespace Giantapp.LiveWallpaper.Engine.Renders 10 | { 11 | /// 12 | /// 图片壁纸实现 13 | /// 14 | public class ImageRender : BaseRender 15 | { 16 | readonly IDesktopWallpaper _desktopFactory; 17 | readonly Dictionary _oldWallpapers = new Dictionary(); 18 | 19 | public ImageRender() : base(WallpaperType.Image, new List() { ".jpg", ".jpeg", ".png", ".bmp" }, false) 20 | { 21 | _desktopFactory = DesktopWallpaperFactory.Create(); 22 | } 23 | 24 | protected override Task>> InnerShowWallpaper(WallpaperModel wallpaper, CancellationToken ct, params string[] screens) 25 | { 26 | return Task.Run(() => 27 | { 28 | foreach (var screenName in screens) 29 | { 30 | CacheOldWallpaper(screenName, () => _desktopFactory.GetWallpaper(screenName)); 31 | 32 | string monitoryId = GetMonitoryId(screenName); 33 | _desktopFactory.SetWallpaper(monitoryId, wallpaper.RunningData.AbsolutePath); 34 | } 35 | 36 | List infos = screens.Select(m => new RenderInfo() 37 | { 38 | Wallpaper = wallpaper, 39 | Screen = m 40 | }).ToList(); 41 | return BaseApiResult>.SuccessState(infos); 42 | }); 43 | } 44 | 45 | private string GetMonitoryId(string screenName) 46 | { 47 | for (int i = 0; i < Screen.AllScreens.Length; i++) 48 | { 49 | if (Screen.AllScreens[i].DeviceName == screenName) 50 | { 51 | string r = _desktopFactory.GetMonitorDevicePathAt((uint)i); 52 | return r; 53 | } 54 | } 55 | return null; 56 | } 57 | 58 | private void CacheOldWallpaper(string screenName, Func p) 59 | { 60 | if (!_oldWallpapers.ContainsKey(screenName)) 61 | { 62 | _oldWallpapers[screenName] = p(); 63 | } 64 | } 65 | 66 | protected override Task InnerCloseWallpaperAsync(List playingWallpaper, bool closeBeforeOpening) 67 | { 68 | //临时关闭不用处理 69 | if (closeBeforeOpening) 70 | return Task.CompletedTask; 71 | 72 | return Task.Run(() => 73 | { 74 | foreach (var w in playingWallpaper) 75 | { 76 | string monitoryId = GetMonitoryId(w.Screen); 77 | try 78 | { 79 | var oldWallpaper = GetOldWallpaper(w.Screen); 80 | if (!System.IO.File.Exists(oldWallpaper)) 81 | continue; 82 | _desktopFactory.SetWallpaper(monitoryId, oldWallpaper); 83 | //还原旧壁纸后,这里多等一秒,否则切换视频壁纸会失败 84 | Thread.Sleep(1000); 85 | } 86 | catch (Exception ex) 87 | { 88 | System.Diagnostics.Debug.WriteLine(ex); 89 | } 90 | } 91 | }); 92 | } 93 | 94 | private string GetOldWallpaper(string screen) 95 | { 96 | if (_oldWallpapers.ContainsKey(screen)) 97 | return _oldWallpapers[screen]; 98 | return null; 99 | } 100 | } 101 | } 102 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Renders/VideoRender.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Diagnostics; 3 | using System.IO; 4 | 5 | namespace Giantapp.LiveWallpaper.Engine.Renders 6 | { 7 | public class VideoRender : ExternalProcessRender 8 | { 9 | //每次升级就修改这个文件名 10 | public static string PlayerFolderName { get; } = "video0"; 11 | public VideoRender() : base(WallpaperType.Video, new List() { ".mp4", ".flv", ".blv", ".avi", ".mov", ".gif", }, false) 12 | { 13 | 14 | } 15 | 16 | protected override ProcessStartInfo GetRenderExeInfo(WallpaperModel model) 17 | { 18 | string path = model.RunningData.AbsolutePath; 19 | //文档:https://mpv.io/manual/stable/ 20 | string playerPath = Path.Combine(WallpaperApi.Options.ExternalPlayerFolder, $@"{PlayerFolderName}\mpv.exe"); 21 | if (!File.Exists(playerPath)) 22 | return null; 23 | 24 | FileInfo info = new FileInfo(playerPath); 25 | if (info.Length == 0) 26 | return null; 27 | 28 | string args = $"\"{path}\" --hwdec=auto --panscan=1.0 --loop-file=inf --fs --geometry=-10000:-10000"; 29 | if (!model.Option.HardwareDecoding) 30 | { 31 | args = $"\"{path}\" --hwdec=no --panscan=1.0 --loop-file=inf --fs --geometry=-10000:-10000"; 32 | } 33 | 34 | ProcessStartInfo r = new ProcessStartInfo(playerPath) 35 | { 36 | Arguments = args, 37 | UseShellExecute = false 38 | }; 39 | return r; 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Renders/WebRender.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.IO; 5 | using System.Threading; 6 | using System.Threading.Tasks; 7 | using WinAPI; 8 | 9 | namespace Giantapp.LiveWallpaper.Engine.Renders 10 | { 11 | //本想单进程渲染多屏幕,但是发现声音不可控。故改为单进程只渲染一个屏幕 12 | public class WebRender : ExternalProcessRender 13 | { 14 | //每次升级就修改这个文件名 15 | public static string PlayerFolderName { get; } = "web0"; 16 | public WebRender() : base(WallpaperType.Web, new List() { ".html", ".htm" }) 17 | { 18 | 19 | } 20 | 21 | protected override ProcessStartInfo GetRenderExeInfo(WallpaperModel model) 22 | { 23 | string path = model.RunningData.AbsolutePath; 24 | //文档:https://mpv.io/manual/stable/ 25 | string playerPath = Path.Combine(WallpaperApi.Options.ExternalPlayerFolder, $@"{PlayerFolderName}\LiveWallpaperEngineWebRender.exe"); 26 | if (!File.Exists(playerPath)) 27 | return null; 28 | 29 | var r = new ProcessStartInfo(playerPath) 30 | { 31 | Arguments = $"\"{path}\" --position=-10000,-10000", 32 | UseShellExecute = false 33 | }; 34 | return r; 35 | } 36 | 37 | protected override async Task StartProcess(ProcessStartInfo info, CancellationToken ct) 38 | { 39 | var result = await base.StartProcess(info, ct); 40 | return await Task.Run(() => 41 | { 42 | var p = Process.GetProcessById(result.PId); 43 | string title = p.MainWindowTitle; 44 | 45 | var index = title.IndexOf("cef="); 46 | 47 | while (index < 0) 48 | { 49 | p?.Dispose(); 50 | p = Process.GetProcessById(result.PId); 51 | 52 | title = p.MainWindowTitle; 53 | index = title.IndexOf("cef="); 54 | Thread.Sleep(10); 55 | } 56 | p?.Dispose(); 57 | string handleStr = title[(index + 4)..]; 58 | 59 | var cefHandle = new IntPtr(int.Parse(handleStr)); 60 | var handle = User32Wrapper.FindWindowEx(cefHandle, IntPtr.Zero, "Chrome_WidgetWin_0", IntPtr.Zero); 61 | 62 | result.ReceiveMouseEventHandle = handle; 63 | return result; 64 | }); 65 | } 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Utils/AudioHelper.cs: -------------------------------------------------------------------------------- 1 | using NAudio.CoreAudioApi; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace Giantapp.LiveWallpaper.Engine.Utils 7 | { 8 | public static class AudioHelper 9 | { 10 | static AudioHelper() 11 | { 12 | 13 | } 14 | public static int GetVolume(int pId) 15 | { 16 | var deviceEnumerator = new MMDeviceEnumerator(); 17 | var device = deviceEnumerator.GetDefaultAudioEndpoint(DataFlow.Render, Role.Multimedia); 18 | var sessions = device.AudioSessionManager.Sessions; 19 | for (int i = 0; i < sessions.Count; i++) 20 | { 21 | var sessionItem = sessions[i]; 22 | if (sessionItem.GetProcessID == pId) 23 | { 24 | int r = (int)(sessionItem.SimpleAudioVolume.Volume * 100); 25 | return r; 26 | } 27 | } 28 | return 0; 29 | } 30 | 31 | public static void SetVolume(int pId, int v) 32 | { 33 | var deviceEnumerator = new MMDeviceEnumerator(); 34 | var device = deviceEnumerator.GetDefaultAudioEndpoint(DataFlow.Render, Role.Multimedia); 35 | var sessions = device.AudioSessionManager.Sessions; 36 | for (int i = 0; i < sessions.Count; i++) 37 | { 38 | var sessionItem = sessions[i]; 39 | if (sessionItem.GetProcessID == pId) 40 | { 41 | sessionItem.SimpleAudioVolume.Volume = v / 100; 42 | break; 43 | } 44 | } 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Utils/DesktopMouseEventReciver.cs: -------------------------------------------------------------------------------- 1 | // 参考ADD-SP的PR https://github.com/giant-app/LiveWallpaperEngine/pull/13 ,修改为c#版本 2 | // 感谢https://github.com/ADD-SP 的提交 3 | using System; 4 | using System.Collections; 5 | using System.Collections.Generic; 6 | using System.Linq; 7 | using System.Threading.Tasks; 8 | using System.Windows.Forms; 9 | using EventHook; 10 | using EventHook.Hooks; 11 | using WinAPI; 12 | 13 | namespace Giantapp.LiveWallpaper.Engine.Utils 14 | { 15 | 16 | /// 17 | /// 监听桌面鼠标消息 18 | /// 19 | public static class DesktopMouseEventReciver 20 | { 21 | private class TargetWindow 22 | { 23 | public TargetWindow(IntPtr handle, string screen) 24 | { 25 | Handle = handle; 26 | Screen = screen; 27 | } 28 | 29 | public IntPtr Handle { get; set; } 30 | public string Screen { get; set; } 31 | 32 | } 33 | private static readonly List _targetWindows = new List(); 34 | private static readonly EventHookFactory eventHookFactory = new EventHookFactory(); 35 | private static MouseWatcher mouseWatcher; 36 | private static bool started = false; 37 | private static DateTime _nextSendTime; 38 | 39 | //转发间隔,防止消阻塞 40 | public static int SendInterval { get; set; } = 0; 41 | 42 | public static Task AddHandle(IntPtr handle, string screen) 43 | { 44 | return Task.Run(() => 45 | { 46 | System.Diagnostics.Debug.WriteLine($"AddHandle {handle}"); 47 | var threadSafeList = ArrayList.Synchronized(_targetWindows); 48 | threadSafeList.Add(new TargetWindow(handle, screen)); 49 | if (threadSafeList.Count > 0) 50 | Start(); 51 | }); 52 | } 53 | public static Task RemoveHandle(IntPtr handle) 54 | { 55 | return Task.Run(() => 56 | { 57 | System.Diagnostics.Debug.WriteLine($"RemoveHandle {handle}"); 58 | var threadSafeList = ArrayList.Synchronized(_targetWindows); 59 | var exist = _targetWindows.FirstOrDefault(m => m.Handle == handle); 60 | if (exist == null) 61 | return; 62 | threadSafeList.Remove(exist); 63 | if (threadSafeList.Count == 0) 64 | Stop(); 65 | }); 66 | } 67 | private static void Stop() 68 | { 69 | mouseWatcher?.Stop(); 70 | started = false; 71 | } 72 | 73 | private static void Start() 74 | { 75 | if (started) 76 | return; 77 | 78 | mouseWatcher = eventHookFactory.GetMouseWatcher(); 79 | mouseWatcher.Start(); 80 | mouseWatcher.OnMouseInput += (s, e) => 81 | { 82 | if (SendInterval > 0) 83 | { 84 | if (DateTime.Now < _nextSendTime) 85 | return; 86 | 87 | _nextSendTime = DateTime.Now + TimeSpan.FromMilliseconds(SendInterval); 88 | } 89 | 90 | //cef收到鼠标事件后会自动active,看有办法规避不 91 | //点击等事件只在桌面触发,否则可能导致窗口胡乱激活 92 | if (!WallpaperHelper.IsDesktop() && e.Message != MouseMessages.WM_MOUSEMOVE) 93 | return; 94 | 95 | //MouseMessages[] supportMessage = new MouseMessages[] { MouseMessages.WM_MOUSEMOVE, MouseMessages.WM_LBUTTONDOWN, MouseMessages.WM_LBUTTONUP }; 96 | //MouseMessages[] supportMessage = new MouseMessages[] { MouseMessages.WM_MOUSEMOVE }; 97 | 98 | //if (!supportMessage.Contains(e.Message)) 99 | // return; 100 | 101 | int x = e.Point.x; 102 | int y = e.Point.y; 103 | var currentDisplay = Screen.FromPoint(new System.Drawing.Point(x, y)); 104 | 105 | if (x < 0) 106 | x = SystemInformation.VirtualScreen.Width + x - Screen.PrimaryScreen.Bounds.Width; 107 | else 108 | x -= Math.Abs(currentDisplay.Bounds.X); 109 | 110 | if (y < 0) 111 | y = SystemInformation.VirtualScreen.Height + y - Screen.PrimaryScreen.Bounds.Height; 112 | else 113 | y -= Math.Abs(currentDisplay.Bounds.Y); 114 | 115 | // 根据官网文档中定义,lParam低16位存储鼠标的x坐标,高16位存储y坐标 116 | int lParam = y; 117 | lParam <<= 16; 118 | lParam |= x; 119 | // 发送消息给目标窗口 120 | 121 | IntPtr wParam = (IntPtr)0x0020; 122 | 123 | foreach (var window in _targetWindows) 124 | { 125 | if (window.Screen != currentDisplay.DeviceName) 126 | continue; 127 | 128 | User32Wrapper.PostMessageW(window.Handle, (uint)e.Message, wParam, (IntPtr)lParam); 129 | } 130 | 131 | //System.Diagnostics.Debug.WriteLine("Mouse event {0} --000-- {1},{2}", e.Message.ToString(), e.Point.x, e.Point.y); 132 | //System.Diagnostics.Debug.WriteLine("Mouse event {0} {1},{2}", e.Message.ToString(), x, y); 133 | }; 134 | 135 | started = true; 136 | } 137 | } 138 | } 139 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Utils/ExplorerMonitor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Diagnostics; 3 | 4 | namespace Giantapp.LiveWallpaper.Engine.Utils 5 | { 6 | /// 7 | /// 监控 explorer是否崩溃 8 | /// 9 | public static class ExplorerMonitor 10 | { 11 | public static Process ExploreProcess { get; private set; } 12 | public static bool Crashed { get; private set; } 13 | 14 | public static event EventHandler ExplorerChanged; 15 | 16 | static ExplorerMonitor() 17 | { 18 | ExploreProcess = GetExplorer(); 19 | Crashed = ExploreProcess == null; 20 | } 21 | 22 | public static void Check() 23 | { 24 | //explorer 进程已死 25 | if (ExploreProcess == null || ExploreProcess.HasExited) 26 | { 27 | ExploreProcess = GetExplorer(); 28 | bool nowCrashed = ExploreProcess == null; 29 | if (Crashed != nowCrashed) 30 | { 31 | Crashed = nowCrashed; 32 | ExplorerChanged?.Invoke(null, Crashed); 33 | } 34 | } 35 | //if (_lastTriggerTime != null) 36 | //{ 37 | // var workw = WallpaperHelper.GetWorkerW(); 38 | // if (workw != IntPtr.Zero) 39 | // { 40 | // ExplorerChanged?.Invoke(null, new EventArgs()); 41 | // _lastTriggerTime = null; 42 | // } 43 | //} 44 | } 45 | 46 | private static Process GetExplorer() 47 | { 48 | var explorers = Process.GetProcessesByName("explorer"); 49 | if (explorers.Length == 0) 50 | { 51 | return null; 52 | } 53 | 54 | return explorers[0]; 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Utils/MaximizedMonitor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.Windows.Forms; 5 | using WinAPI.Helpers; 6 | 7 | namespace Giantapp.LiveWallpaper.Engine.Utils 8 | { 9 | public class AppMaximizedEvent : EventArgs 10 | { 11 | public List MaximizedScreens { get; set; } 12 | } 13 | 14 | public static class MaximizedMonitor 15 | { 16 | static Process _cp; 17 | static List _maximizedScreens = new List(); 18 | 19 | public static List MaximizedScreens { get => _maximizedScreens; } 20 | 21 | public static event EventHandler AppMaximized; 22 | 23 | public static void Check() 24 | { 25 | if (_cp == null) 26 | _cp = Process.GetCurrentProcess(); 27 | 28 | new OtherProgramChecker(_cp.Id).CheckMaximized(out List fullscreenWindow); 29 | if (_maximizedScreens.Count == fullscreenWindow.Count) 30 | return; 31 | 32 | _maximizedScreens = fullscreenWindow; 33 | 34 | AppMaximized?.Invoke(null, new AppMaximizedEvent() 35 | { 36 | MaximizedScreens = _maximizedScreens 37 | }); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /LiveWallpaperEngineAPI/Utils/SevenZip.cs: -------------------------------------------------------------------------------- 1 | using SharpCompress.Archives; 2 | using SharpCompress.Archives.SevenZip; 3 | using SharpCompress.Common; 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | 10 | namespace Giantapp.LiveWallpaper.Engine.Utils 11 | { 12 | 13 | class SevenZipUnzipProgressArgs : EventArgs 14 | { 15 | public float Progress { get; internal set; } 16 | } 17 | 18 | class SevenZip 19 | { 20 | private readonly string _zipFile; 21 | private long _total; 22 | private long _completed; 23 | public event EventHandler UnzipProgressChanged; 24 | 25 | 26 | public SevenZip(string zipPath) 27 | { 28 | _zipFile = zipPath; 29 | } 30 | 31 | internal void Extract(string path, System.Threading.CancellationToken token) 32 | { 33 | _total = 0; 34 | _completed = 0; 35 | using var archive = SevenZipArchive.Open(_zipFile); 36 | //try 37 | //{ 38 | // archive.CompressedBytesRead += Archive_CompressedBytesRead; 39 | _total = archive.Entries.Sum(m => m.Size); 40 | foreach (var entry in archive.Entries.Where(entry => !entry.IsDirectory)) 41 | { 42 | token.ThrowIfCancellationRequested(); 43 | entry.WriteToDirectory(path, new ExtractionOptions() 44 | { 45 | ExtractFullPath = true, 46 | Overwrite = true 47 | }); 48 | 49 | _completed += entry.Size; 50 | UnzipProgressChanged?.Invoke(this, new SevenZipUnzipProgressArgs() 51 | { 52 | Progress = (float)_completed / _total 53 | }); 54 | //System.Diagnostics.Debug.WriteLine($"{_completed} {_total}"); 55 | } 56 | // } 57 | // catch (Exception) 58 | // { 59 | // throw; 60 | // } 61 | // finally 62 | // { 63 | // archive.CompressedBytesRead -= Archive_CompressedBytesRead; 64 | // } 65 | } 66 | 67 | internal static Task CanOpenAsync(string file) 68 | { 69 | return Task.Run(() => CanOpen(file)); 70 | } 71 | 72 | internal static bool CanOpen(string downloadFile) 73 | { 74 | try 75 | { 76 | using var archive = SevenZipArchive.Open(downloadFile); 77 | return archive.Entries.Count > 0; 78 | } 79 | catch (Exception) 80 | { 81 | return false; 82 | } 83 | } 84 | 85 | //private void Archive_CompressedBytesRead(object sender, CompressedBytesReadEventArgs e) 86 | //{ 87 | // _completed += e.CompressedBytesRead; 88 | // //System.Diagnostics.Debug.WriteLine($"{e.CompressedBytesRead} {e.CurrentFilePartCompressedBytesRead}"); 89 | // //System.Diagnostics.Debug.WriteLine($"-----------{_tmp} {_total}"); 90 | // UnzipProgressChanged?.Invoke(this, new SevenZipUnzipProgressArgs() 91 | // { 92 | // Progress = (float)_completed / _total 93 | // }); 94 | // System.Diagnostics.Debug.WriteLine($"{_completed} {_total}"); 95 | //} 96 | } 97 | } 98 | -------------------------------------------------------------------------------- /LiveWallpaperEngineWebRender/AppContext.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Windows.Forms; 7 | 8 | namespace LiveWallpaperEngineWebRender 9 | { 10 | public class AppContext : ApplicationContext 11 | { 12 | 13 | public AppContext() 14 | { 15 | } 16 | 17 | public AppContext(string[] args) 18 | { 19 | var position = Resolve(args, "--position=")?.Split(","); 20 | if (position == null) 21 | position = new string[] { "0", "0" }; 22 | var urls = args.Where(m => !m.StartsWith("--")).ToArray(); 23 | 24 | foreach (var item in urls) 25 | { 26 | BrowserForm f = new BrowserForm(item, int.Parse(position[0]), int.Parse(position[1])); 27 | f.Show(); 28 | } 29 | } 30 | 31 | private static string Resolve(string[] args, string v) 32 | { 33 | foreach (var item in args) 34 | { 35 | if (item.StartsWith(v)) 36 | return item.Replace(v, ""); 37 | } 38 | 39 | return null; 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /LiveWallpaperEngineWebRender/BrowserForm.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace LiveWallpaperEngineWebRender 2 | { 3 | partial class BrowserForm 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form1"; 35 | } 36 | 37 | #endregion 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /LiveWallpaperEngineWebRender/BrowserForm.cs: -------------------------------------------------------------------------------- 1 | using CefSharp; 2 | using CefSharp.WinForms; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.ComponentModel; 6 | using System.Data; 7 | using System.Drawing; 8 | using System.Linq; 9 | using System.Text; 10 | using System.Threading.Tasks; 11 | using System.Windows.Forms; 12 | 13 | namespace LiveWallpaperEngineWebRender 14 | { 15 | 16 | public partial class BrowserForm : Form 17 | { 18 | private static List _allForms = new List(); 19 | 20 | private readonly ChromiumWebBrowser browser; 21 | public BrowserForm(string url, int x, int y) 22 | { 23 | InitializeComponent(); 24 | Location = new Point(x, y); 25 | Width = Screen.PrimaryScreen.Bounds.Width; 26 | Height = Screen.PrimaryScreen.Bounds.Height; 27 | FormBorderStyle = FormBorderStyle.None; 28 | StartPosition = FormStartPosition.Manual; 29 | 30 | browser = new ChromiumWebBrowser(url); 31 | browser.MenuHandler = new MenuHanlder(); 32 | 33 | Text = $"WebRender {url}"; 34 | 35 | Controls.Add(browser); 36 | 37 | _allForms.Add(this); 38 | 39 | browser.IsBrowserInitializedChanged += Browser_IsBrowserInitializedChanged; 40 | //MouseMove += BrowserForm_MouseMove; 41 | } 42 | 43 | private void Browser_IsBrowserInitializedChanged(object sender, EventArgs e) 44 | { 45 | //browser.ShowDevTools(); 46 | //var test = browser.GetBrowserHost().GetOpenerWindowHandle(); 47 | Invoke((Action)(() => 48 | { 49 | Text += $" cef={browser.GetBrowserHost().GetWindowHandle()}"; 50 | })); 51 | } 52 | 53 | private void BrowserForm_MouseMove(object sender, MouseEventArgs e) 54 | { 55 | System.Diagnostics.Debug.WriteLine($"x:{e.X},y:{e.Y}"); 56 | } 57 | 58 | protected override void OnClosing(CancelEventArgs e) 59 | { 60 | _allForms.Remove(this); 61 | base.OnClosing(e); 62 | if (_allForms.Count == 0) 63 | Application.Exit(); 64 | } 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /LiveWallpaperEngineWebRender/LiveWallpaperEngineWebRender.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WinExe 5 | net5.0-windows 6 | true 7 | x64;x86 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 | 19 | true 20 | 21 | 22 | true 23 | 24 | 25 | true 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | $(CefSharpBrowserProcessCore64) 35 | true 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | $(CefSharpBrowserProcessCore32) 44 | true 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /LiveWallpaperEngineWebRender/MenuHanlder.cs: -------------------------------------------------------------------------------- 1 | using CefSharp; 2 | 3 | namespace LiveWallpaperEngineWebRender 4 | { 5 | internal class MenuHanlder : IContextMenuHandler 6 | { 7 | public void OnBeforeContextMenu(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IContextMenuParams parameters, IMenuModel model) 8 | { 9 | model.Clear(); 10 | } 11 | 12 | public bool OnContextMenuCommand(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IContextMenuParams parameters, CefMenuCommand commandId, CefEventFlags eventFlags) 13 | { 14 | return false; 15 | } 16 | 17 | public void OnContextMenuDismissed(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame) 18 | { 19 | } 20 | 21 | public bool RunContextMenu(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IContextMenuParams parameters, IMenuModel model, IRunContextMenuCallback callback) 22 | { 23 | return false; 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /LiveWallpaperEngineWebRender/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace LiveWallpaperEngineWebRender 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main(string[] args) 16 | { 17 | if (args.Length == 0) 18 | { 19 | Application.Exit(); 20 | return; 21 | } 22 | Application.Run(new AppContext(args)); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /LiveWallpaperEngineWebRender/Properties/PublishProfiles/FolderProfile.pubxml: -------------------------------------------------------------------------------- 1 |  2 | 5 | 6 | 7 | Debug 8 | x86 9 | ..\LiveWallpaperEngineAPI\Players\web 10 | FileSystem 11 | netcoreapp3.1 12 | win-x86 13 | false 14 | False 15 | False 16 | 17 | -------------------------------------------------------------------------------- /LiveWallpaperEngineWebRender/Properties/PublishProfiles/FolderProfile.pubxml.user: -------------------------------------------------------------------------------- 1 |  2 | 5 | 6 | -------------------------------------------------------------------------------- /LiveWallpaperEngineWebRender/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "LiveWallpaperEngineWebRender": { 4 | "commandName": "Project", 5 | "commandLineArgs": "file:///D:/gitee/LiveWallpaperEngine/LiveWallpaperEngine.Samples.NetCore.Test/bin/Debug/netcoreapp3.1/WallpaperSamples/web2/index.html --position=100,100" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /LiveWallpaperEngineWebRender/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GiantappMan/LiveWallpaperEngine/d93a8592984984a1654e1fcbfa2b6a6879057305/LiveWallpaperEngineWebRender/README.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | This project has been moved to https://github.com/giant-app/LiveWallpaper 2 | # LiveWallpaperEngine 3 | 4 | [![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-) 5 | 6 | 7 | [中文文档](https://github.com/giant-app/LiveWallpaperEngine/blob/master/Docs/README_zh.md) 8 | 9 | ## Features: 10 | Windows10 Live Wallpaper Minimalist API 11 | 12 | ## App: 13 | [LiveWallpaper](https://livewallpaper.giantapp.cn/) 14 | 15 | ## Example: 16 | ```csharp 17 | WallpaperApi.Initlize(Dispatcher); 18 | 19 | //Display video wallpaper 20 | WallpaperApi.ShowWallpaper(new WallpaperModel() { Path = "/xxx.mp4"},WallpaperManager.Screens[0]) 21 | //Display exe wallpaper 22 | WallpaperApi.ShowWallpaper(new WallpaperModel() { Path = "/xxx.exe"},WallpaperManager.Screens[0]) 23 | //Display HTML wallpaper 24 | WallpaperApi.ShowWallpaper(new WallpaperModel() { Path = "/xxx.html"},WallpaperManager.Screens[0]) 25 | //Display image wallpaper 26 | WallpaperApi.ShowWallpaper(new WallpaperModel() { Path = "/xxx.png"},WallpaperManager.Screens[0]) 27 | ``` 28 | 29 | ## Goals: 30 | - [x] No UI wallpaper engine 31 | - [x] Support for multiple screens 32 | - [x] Supports EXE wallpaper 33 | - [x] Mouse event forwarding (Thanks [ADD-SP](https://github.com/ADD-SP) for his advice) 34 | - [x] Video wallpaper 35 | - [x] Web wallpaper 36 | - [x] Image wallpaper 37 | - [x] Audio control 38 | 39 | ## Expectations for open source: 40 | - Welcom PR,Suggest 41 | - Not recommended for commercial projects 42 | 43 | ## Run demo: 44 | ``` 45 | //Select files in this directory for testing 46 | LiveWallpaperEngine\LiveWallpaperEngine.Samples.NetCore.Test\WallpaperSamples 47 | ``` 48 | 49 | ## Note: 50 | * This project is developed in Win10 environment, Win7 is not compatible,if you want you can submit PR by yourself. 51 | * Sometimes it conflicts with desktop organization software, such as Fences. 52 | * Open the antivirus family bucket software, it may not be embedded in the desktop. 53 | 54 | ## Branch management 55 | - master The version under development may have various errors 56 | - 1.x Current online stable version 57 | 58 | ## Author 59 | - [DaZiYuan](https://github.com/DaZiYuan) 60 | 61 | ## If it helps you please give me a star 62 | 63 | This document is translated by Google. If you find any grammatical problems, please don’t be stingy with your PR. 64 | 65 | ## Contributors ✨ 66 | 67 | Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 |

代码抄写狮

💻 🚧 🐛 📆

ADD-SP

💻
78 | 79 | 80 | 81 | 82 | 83 | 84 | This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! 85 | -------------------------------------------------------------------------------- /TestEmbedWindow/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace TestEmbedWindow 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.SuspendLayout(); 32 | // 33 | // Form1 34 | // 35 | this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); 36 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 37 | this.ClientSize = new System.Drawing.Size(800, 450); 38 | this.Name = "Form1"; 39 | this.Text = "Form1"; 40 | this.ResumeLayout(false); 41 | 42 | } 43 | 44 | #endregion 45 | } 46 | } 47 | 48 | -------------------------------------------------------------------------------- /TestEmbedWindow/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Diagnostics; 6 | using System.Drawing; 7 | using System.Linq; 8 | using System.Runtime.InteropServices; 9 | using System.Text; 10 | using System.Threading.Tasks; 11 | using System.Windows.Forms; 12 | 13 | namespace TestEmbedWindow 14 | { 15 | public partial class Form1 : Form 16 | { 17 | public Form1() 18 | { 19 | InitializeComponent(); 20 | Load += Form1_Load; 21 | 22 | //UI 23 | //BackColor = Color.Magenta; 24 | //TransparencyKey = Color.Magenta; 25 | //ShowInTaskbar = false; 26 | //FormBorderStyle = FormBorderStyle.None; 27 | //WindowState = FormWindowState.Maximized; 28 | //Opacity = 0; 29 | } 30 | 31 | private void Form1_Load(object sender, EventArgs e) 32 | { 33 | LoadApplication(@"D:\github-categorized\dotnet\LiveWallpaperEngine\LiveWallpaperEngine.Samples.NetCore.Test\WallpaperSamples\game\sheep.exe", this.Handle); 34 | //LoadApplication(@"c:\windows\system32\notepad.exe", this.Handle); 35 | Opacity = 1; 36 | } 37 | 38 | [DllImport("user32.dll", SetLastError = true)] 39 | private static extern IntPtr SetParent(IntPtr hWndChild, IntPtr hWndNewParent); 40 | [DllImport("user32.dll", EntryPoint = "SetWindowPos")] 41 | public static extern IntPtr SetWindowPos(IntPtr hWnd, int hWndInsertAfter, int x, int Y, int cx, int cy, int wFlags); 42 | 43 | private void LoadApplication(string path, IntPtr handle) 44 | { 45 | Stopwatch sw = new Stopwatch(); 46 | sw.Start(); 47 | int timeout = 10 * 1000; // Timeout value (10s) in case we want to cancel the task if it's taking too long. 48 | 49 | ProcessStartInfo info = new ProcessStartInfo(path); 50 | info.WindowStyle = ProcessWindowStyle.Maximized; 51 | info.CreateNoWindow = true; 52 | Process p = Process.Start(info); 53 | while (p.MainWindowHandle == IntPtr.Zero) 54 | { 55 | System.Threading.Thread.Sleep(10); 56 | p.Refresh(); 57 | 58 | if (sw.ElapsedMilliseconds > timeout) 59 | { 60 | sw.Stop(); 61 | return; 62 | } 63 | } 64 | 65 | SetParent(p.MainWindowHandle, handle); // Set the process parent window to the window we want 66 | SetWindowPos(p.MainWindowHandle, 0, 0, 0, 0, 0, 0x0001 | 0x0040); // Place the window in the top left of the parent window without resizing it 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /TestEmbedWindow/Form1.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | text/microsoft-resx 50 | 51 | 52 | 2.0 53 | 54 | 55 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 56 | 57 | 58 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 59 | 60 | -------------------------------------------------------------------------------- /TestEmbedWindow/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace TestEmbedWindow 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.SetHighDpiMode(HighDpiMode.SystemAware); 18 | Application.EnableVisualStyles(); 19 | Application.SetCompatibleTextRenderingDefault(false); 20 | Application.Run(new Form1()); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /TestEmbedWindow/TestEmbedWindow.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WinExe 5 | net5.0-windows 6 | true 7 | TestEmbedWindow 8 | 9 | 10 | -------------------------------------------------------------------------------- /Thirdparty-LiveWallpaperEngineWebRender.TXT: -------------------------------------------------------------------------------- 1 | License notice for CefSharp.WinForms (v86.0.241) 2 | ------------------------------------ 3 | 4 | https://github.com/cefsharp/cefsharp 5 | 6 | Copyright © The CefSharp Authors 7 | 8 | License available at https://raw.github.com/cefsharp/CefSharp/master/LICENSE 9 | 10 | 11 | License notice for cef.redist.x64 (v86.0.24) 12 | ------------------------------------ 13 | 14 | https://github.com/cefsharp/cef-binary 15 | 16 | Copyright © 2008-2015 17 | 18 | License available at https://raw.github.com/cefsharp/cef-binary/master/LICENSE.txt 19 | 20 | 21 | License notice for cef.redist.x86 (v86.0.24) 22 | ------------------------------------ 23 | 24 | https://github.com/cefsharp/cef-binary 25 | 26 | Copyright © 2008-2015 27 | 28 | License available at https://raw.github.com/cefsharp/cef-binary/master/LICENSE.txt 29 | 30 | 31 | License notice for CefSharp.Common (v86.0.241) 32 | ------------------------------------ 33 | 34 | https://github.com/cefsharp/CefSharp 35 | 36 | Copyright © The CefSharp Authors 37 | 38 | License available at https://raw.github.com/cefsharp/CefSharp/master/LICENSE 39 | 40 | 41 | --------------------------------------------------------------------------------