Initial Commit
|
@ -0,0 +1,17 @@
|
|||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
|
||||
# Custom for Visual Studio
|
||||
*.cs diff=csharp
|
||||
|
||||
# Standard to msysgit
|
||||
*.doc diff=astextplain
|
||||
*.DOC diff=astextplain
|
||||
*.docx diff=astextplain
|
||||
*.DOCX diff=astextplain
|
||||
*.dot diff=astextplain
|
||||
*.DOT diff=astextplain
|
||||
*.pdf diff=astextplain
|
||||
*.PDF diff=astextplain
|
||||
*.rtf diff=astextplain
|
||||
*.RTF diff=astextplain
|
|
@ -0,0 +1,290 @@
|
|||
######################## START WaveEngine
|
||||
|
||||
.vs/
|
||||
packages/
|
||||
bin/
|
||||
obj/
|
||||
.fake/
|
||||
FAKE/
|
||||
Intermediate/
|
||||
AppPackages/
|
||||
BundleArtifacts/
|
||||
WaveEngine.WindowsTools/
|
||||
WaveEngine.MacTools/
|
||||
|
||||
/output/
|
||||
/outputilc/
|
||||
/artifacts/
|
||||
|
||||
*.user
|
||||
*.userprefs
|
||||
*.lock.json
|
||||
*.nuget.props
|
||||
*.nuget.targets
|
||||
*.orig
|
||||
*.orig.winfo
|
||||
|
||||
cookie_jar
|
||||
TestResult.xml
|
||||
WaveContent.cs
|
||||
generate.info
|
||||
UpgradeLog.htm
|
||||
|
||||
src/Launchers/*/output/
|
||||
src/Launchers/*/outputilc/
|
||||
src/Libs/Sources/Amqp/output/
|
||||
|
||||
######################## END WaveEngine
|
||||
|
||||
## Ignore Visual Studio temporary files, build results, and
|
||||
## files generated by popular Visual Studio add-ons.
|
||||
|
||||
# User-specific files
|
||||
*.suo
|
||||
*.user
|
||||
*.userosscache
|
||||
*.sln.docstates
|
||||
|
||||
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||
*.userprefs
|
||||
|
||||
# Build results
|
||||
[Dd]ebug/
|
||||
[Dd]ebugPublic/
|
||||
[Rr]elease/
|
||||
[Rr]eleases/
|
||||
x64/
|
||||
x86/
|
||||
bld/
|
||||
[Bb]in/
|
||||
[Oo]bj/
|
||||
[Ll]og/
|
||||
|
||||
# Visual Studio 2015 cache/options directory
|
||||
.vs/
|
||||
# Uncomment if you have tasks that create the project's static files in wwwroot
|
||||
#wwwroot/
|
||||
|
||||
# MSTest test Results
|
||||
[Tt]est[Rr]esult*/
|
||||
[Bb]uild[Ll]og.*
|
||||
|
||||
# NUNIT
|
||||
*.VisualState.xml
|
||||
TestResult.xml
|
||||
|
||||
# Build Results of an ATL Project
|
||||
[Dd]ebugPS/
|
||||
[Rr]eleasePS/
|
||||
dlldata.c
|
||||
|
||||
# DNX
|
||||
project.lock.json
|
||||
artifacts/
|
||||
|
||||
*_i.c
|
||||
*_p.c
|
||||
*_i.h
|
||||
*.ilk
|
||||
*.meta
|
||||
*.obj
|
||||
*.pch
|
||||
*.pdb
|
||||
*.pgc
|
||||
*.pgd
|
||||
*.rsp
|
||||
*.sbr
|
||||
*.tlb
|
||||
*.tli
|
||||
*.tlh
|
||||
*.tmp
|
||||
*.tmp_proj
|
||||
*.log
|
||||
*.vspscc
|
||||
*.vssscc
|
||||
.builds
|
||||
*.pidb
|
||||
*.svclog
|
||||
*.scc
|
||||
|
||||
# Chutzpah Test files
|
||||
_Chutzpah*
|
||||
|
||||
# Visual C++ cache files
|
||||
ipch/
|
||||
*.aps
|
||||
*.ncb
|
||||
*.opendb
|
||||
*.opensdf
|
||||
*.sdf
|
||||
*.cachefile
|
||||
*.VC.db
|
||||
*.VC.VC.opendb
|
||||
|
||||
# Visual Studio profiler
|
||||
*.psess
|
||||
*.vsp
|
||||
*.vspx
|
||||
*.sap
|
||||
|
||||
# TFS 2012 Local Workspace
|
||||
$tf/
|
||||
|
||||
# Guidance Automation Toolkit
|
||||
*.gpState
|
||||
|
||||
# ReSharper is a .NET coding add-in
|
||||
_ReSharper*/
|
||||
*.[Rr]e[Ss]harper
|
||||
*.DotSettings.user
|
||||
|
||||
# JustCode is a .NET coding add-in
|
||||
.JustCode
|
||||
|
||||
# TeamCity is a build add-in
|
||||
_TeamCity*
|
||||
|
||||
# DotCover is a Code Coverage Tool
|
||||
*.dotCover
|
||||
|
||||
# NCrunch
|
||||
_NCrunch_*
|
||||
.*crunch*.local.xml
|
||||
nCrunchTemp_*
|
||||
|
||||
# MightyMoose
|
||||
*.mm.*
|
||||
AutoTest.Net/
|
||||
|
||||
# Web workbench (sass)
|
||||
.sass-cache/
|
||||
|
||||
# Installshield output folder
|
||||
[Ee]xpress/
|
||||
|
||||
# DocProject is a documentation generator add-in
|
||||
DocProject/buildhelp/
|
||||
DocProject/Help/*.HxT
|
||||
DocProject/Help/*.HxC
|
||||
DocProject/Help/*.hhc
|
||||
DocProject/Help/*.hhk
|
||||
DocProject/Help/*.hhp
|
||||
DocProject/Help/Html2
|
||||
DocProject/Help/html
|
||||
|
||||
# Click-Once directory
|
||||
publish/
|
||||
|
||||
# Publish Web Output
|
||||
*.[Pp]ublish.xml
|
||||
*.azurePubxml
|
||||
# TODO: Comment the next line if you want to checkin your web deploy settings
|
||||
# but database connection strings (with potential passwords) will be unencrypted
|
||||
*.pubxml
|
||||
*.publishproj
|
||||
|
||||
# Microsoft Azure Web App publish settings. Comment the next line if you want to
|
||||
# checkin your Azure Web App publish settings, but sensitive information contained
|
||||
# in these scripts will be unencrypted
|
||||
PublishScripts/
|
||||
|
||||
# NuGet Packages
|
||||
*.nupkg
|
||||
# The packages folder can be ignored because of Package Restore
|
||||
**/packages/*
|
||||
# except build/, which is used as an MSBuild target.
|
||||
!**/packages/build/
|
||||
# Uncomment if necessary however generally it will be regenerated when needed
|
||||
#!**/packages/repositories.config
|
||||
# NuGet v3's project.json files produces more ignoreable files
|
||||
*.nuget.props
|
||||
*.nuget.targets
|
||||
|
||||
# Microsoft Azure Build Output
|
||||
csx/
|
||||
*.build.csdef
|
||||
|
||||
# Microsoft Azure Emulator
|
||||
ecf/
|
||||
rcf/
|
||||
|
||||
# Windows Store app package directories and files
|
||||
AppPackages/
|
||||
BundleArtifacts/
|
||||
Package.StoreAssociation.xml
|
||||
_pkginfo.txt
|
||||
|
||||
# Visual Studio cache files
|
||||
# files ending in .cache can be ignored
|
||||
*.[Cc]ache
|
||||
# but keep track of directories ending in .cache
|
||||
!*.[Cc]ache/
|
||||
|
||||
# Others
|
||||
ClientBin/
|
||||
~$*
|
||||
*~
|
||||
*.dbmdl
|
||||
*.dbproj.schemaview
|
||||
*.pfx
|
||||
*.publishsettings
|
||||
node_modules/
|
||||
orleans.codegen.cs
|
||||
|
||||
# Since there are multiple workflows, uncomment next line to ignore bower_components
|
||||
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
|
||||
#bower_components/
|
||||
|
||||
# RIA/Silverlight projects
|
||||
Generated_Code/
|
||||
|
||||
# Backup & report files from converting an old project file
|
||||
# to a newer Visual Studio version. Backup files are not needed,
|
||||
# because we have git ;-)
|
||||
_UpgradeReport_Files/
|
||||
Backup*/
|
||||
UpgradeLog*.XML
|
||||
UpgradeLog*.htm
|
||||
|
||||
# SQL Server files
|
||||
*.mdf
|
||||
*.ldf
|
||||
|
||||
# Business Intelligence projects
|
||||
*.rdl.data
|
||||
*.bim.layout
|
||||
*.bim_*.settings
|
||||
|
||||
# Microsoft Fakes
|
||||
FakesAssemblies/
|
||||
|
||||
# GhostDoc plugin setting file
|
||||
*.GhostDoc.xml
|
||||
|
||||
# Node.js Tools for Visual Studio
|
||||
.ntvs_analysis.dat
|
||||
|
||||
# Visual Studio 6 build log
|
||||
*.plg
|
||||
|
||||
# Visual Studio 6 workspace options file
|
||||
*.opt
|
||||
|
||||
# Visual Studio LightSwitch build output
|
||||
**/*.HTMLClient/GeneratedArtifacts
|
||||
**/*.DesktopClient/GeneratedArtifacts
|
||||
**/*.DesktopClient/ModelManifest.xml
|
||||
**/*.Server/GeneratedArtifacts
|
||||
**/*.Server/ModelManifest.xml
|
||||
_Pvt_Extensions
|
||||
|
||||
# Paket dependency manager
|
||||
.paket/paket.exe
|
||||
paket-files/
|
||||
|
||||
# FAKE - F# Make
|
||||
.fake/
|
||||
|
||||
# JetBrains Rider
|
||||
.idea/
|
||||
*.sln.iml
|
После Ширина: | Высота: | Размер: 325 KiB |
После Ширина: | Высота: | Размер: 6.6 KiB |
После Ширина: | Высота: | Размер: 334 KiB |
После Ширина: | Высота: | Размер: 308 KiB |
После Ширина: | Высота: | Размер: 732 KiB |
После Ширина: | Высота: | Размер: 374 KiB |
|
@ -0,0 +1,956 @@
|
|||
<Asset xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="WaveEngine.Framework.Models">
|
||||
<Id>2e9b3b54-defd-4157-9c04-0cd82c185471</Id>
|
||||
<AsRaw>false</AsRaw>
|
||||
<Asset xmlns:d2p1="WaveEngine.Framework.Models.Assets" i:type="d2p1:Model">
|
||||
<d2p1:AssociatedFiles xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
|
||||
<d2p1:Profiles xmlns:d3p1="WaveEngine.Framework.Models.Profiles">
|
||||
<d3p1:ExportProfile i:type="d3p1:ModelProfile">
|
||||
<d3p1:ExcludeAsset>false</d3p1:ExcludeAsset>
|
||||
<d3p1:Name i:nil="true" />
|
||||
</d3p1:ExportProfile>
|
||||
</d2p1:Profiles>
|
||||
<d2p1:ZipCompress>true</d2p1:ZipCompress>
|
||||
<d2p1:Clips xmlns:d3p1="WaveEngine.Framework.Models.Profiles" />
|
||||
<d2p1:EmbeddedResources xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
|
||||
<d2p1:ExportAnimations>false</d2p1:ExportAnimations>
|
||||
<d2p1:GenerateTangentSpace>true</d2p1:GenerateTangentSpace>
|
||||
<d2p1:Materials>
|
||||
<d2p1:Material>
|
||||
<d2p1:AmbientColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:AmbientColor>
|
||||
<d2p1:AmbientTextureFile i:nil="true" />
|
||||
<d2p1:DiffuseColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>85</d5p1:B>
|
||||
<d5p1:G>85</d5p1:G>
|
||||
<d5p1:R>85</d5p1:R>
|
||||
</d2p1:DiffuseColor>
|
||||
<d2p1:DiffuseTextureFile i:nil="true" />
|
||||
<d2p1:EmissiveColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:EmissiveColor>
|
||||
<d2p1:EmissiveTextureFile i:nil="true" />
|
||||
<d2p1:Name>headlights</d2p1:Name>
|
||||
<d2p1:NormalTextureFile i:nil="true" />
|
||||
<d2p1:Opacity>0.6867466</d2p1:Opacity>
|
||||
<d2p1:SpecularColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:SpecularColor>
|
||||
<d2p1:SpecularTextureFile i:nil="true" />
|
||||
</d2p1:Material>
|
||||
<d2p1:Material>
|
||||
<d2p1:AmbientColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:AmbientColor>
|
||||
<d2p1:AmbientTextureFile i:nil="true" />
|
||||
<d2p1:DiffuseColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>163</d5p1:B>
|
||||
<d5p1:G>163</d5p1:G>
|
||||
<d5p1:R>163</d5p1:R>
|
||||
</d2p1:DiffuseColor>
|
||||
<d2p1:DiffuseTextureFile i:nil="true" />
|
||||
<d2p1:EmissiveColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:EmissiveColor>
|
||||
<d2p1:EmissiveTextureFile i:nil="true" />
|
||||
<d2p1:Name>alloy</d2p1:Name>
|
||||
<d2p1:NormalTextureFile i:nil="true" />
|
||||
<d2p1:Opacity>1</d2p1:Opacity>
|
||||
<d2p1:SpecularColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:SpecularColor>
|
||||
<d2p1:SpecularTextureFile i:nil="true" />
|
||||
</d2p1:Material>
|
||||
<d2p1:Material>
|
||||
<d2p1:AmbientColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:AmbientColor>
|
||||
<d2p1:AmbientTextureFile i:nil="true" />
|
||||
<d2p1:DiffuseColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>55</d5p1:B>
|
||||
<d5p1:G>55</d5p1:G>
|
||||
<d5p1:R>55</d5p1:R>
|
||||
</d2p1:DiffuseColor>
|
||||
<d2p1:DiffuseTextureFile i:nil="true" />
|
||||
<d2p1:EmissiveColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:EmissiveColor>
|
||||
<d2p1:EmissiveTextureFile i:nil="true" />
|
||||
<d2p1:Name>black_paint</d2p1:Name>
|
||||
<d2p1:NormalTextureFile i:nil="true" />
|
||||
<d2p1:Opacity>1</d2p1:Opacity>
|
||||
<d2p1:SpecularColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:SpecularColor>
|
||||
<d2p1:SpecularTextureFile i:nil="true" />
|
||||
</d2p1:Material>
|
||||
<d2p1:Material>
|
||||
<d2p1:AmbientColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:AmbientColor>
|
||||
<d2p1:AmbientTextureFile i:nil="true" />
|
||||
<d2p1:DiffuseColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>255</d5p1:B>
|
||||
<d5p1:G>255</d5p1:G>
|
||||
<d5p1:R>255</d5p1:R>
|
||||
</d2p1:DiffuseColor>
|
||||
<d2p1:DiffuseTextureFile i:nil="true" />
|
||||
<d2p1:EmissiveColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:EmissiveColor>
|
||||
<d2p1:EmissiveTextureFile i:nil="true" />
|
||||
<d2p1:Name>tire</d2p1:Name>
|
||||
<d2p1:NormalTextureFile>datsun240k_0.jpg</d2p1:NormalTextureFile>
|
||||
<d2p1:Opacity>1</d2p1:Opacity>
|
||||
<d2p1:SpecularColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:SpecularColor>
|
||||
<d2p1:SpecularTextureFile i:nil="true" />
|
||||
</d2p1:Material>
|
||||
<d2p1:Material>
|
||||
<d2p1:AmbientColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:AmbientColor>
|
||||
<d2p1:AmbientTextureFile i:nil="true" />
|
||||
<d2p1:DiffuseColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>31</d5p1:B>
|
||||
<d5p1:G>31</d5p1:G>
|
||||
<d5p1:R>31</d5p1:R>
|
||||
</d2p1:DiffuseColor>
|
||||
<d2p1:DiffuseTextureFile i:nil="true" />
|
||||
<d2p1:EmissiveColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:EmissiveColor>
|
||||
<d2p1:EmissiveTextureFile i:nil="true" />
|
||||
<d2p1:Name>black_matte</d2p1:Name>
|
||||
<d2p1:NormalTextureFile i:nil="true" />
|
||||
<d2p1:Opacity>1</d2p1:Opacity>
|
||||
<d2p1:SpecularColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:SpecularColor>
|
||||
<d2p1:SpecularTextureFile i:nil="true" />
|
||||
</d2p1:Material>
|
||||
<d2p1:Material>
|
||||
<d2p1:AmbientColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:AmbientColor>
|
||||
<d2p1:AmbientTextureFile i:nil="true" />
|
||||
<d2p1:DiffuseColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>98</d5p1:B>
|
||||
<d5p1:G>98</d5p1:G>
|
||||
<d5p1:R>98</d5p1:R>
|
||||
</d2p1:DiffuseColor>
|
||||
<d2p1:DiffuseTextureFile i:nil="true" />
|
||||
<d2p1:EmissiveColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:EmissiveColor>
|
||||
<d2p1:EmissiveTextureFile i:nil="true" />
|
||||
<d2p1:Name>chrome</d2p1:Name>
|
||||
<d2p1:NormalTextureFile i:nil="true" />
|
||||
<d2p1:Opacity>1</d2p1:Opacity>
|
||||
<d2p1:SpecularColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:SpecularColor>
|
||||
<d2p1:SpecularTextureFile i:nil="true" />
|
||||
</d2p1:Material>
|
||||
<d2p1:Material>
|
||||
<d2p1:AmbientColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:AmbientColor>
|
||||
<d2p1:AmbientTextureFile i:nil="true" />
|
||||
<d2p1:DiffuseColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>255</d5p1:B>
|
||||
<d5p1:G>255</d5p1:G>
|
||||
<d5p1:R>255</d5p1:R>
|
||||
</d2p1:DiffuseColor>
|
||||
<d2p1:DiffuseTextureFile i:nil="true" />
|
||||
<d2p1:EmissiveColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:EmissiveColor>
|
||||
<d2p1:EmissiveTextureFile i:nil="true" />
|
||||
<d2p1:Name>license</d2p1:Name>
|
||||
<d2p1:NormalTextureFile i:nil="true" />
|
||||
<d2p1:Opacity>1</d2p1:Opacity>
|
||||
<d2p1:SpecularColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:SpecularColor>
|
||||
<d2p1:SpecularTextureFile i:nil="true" />
|
||||
</d2p1:Material>
|
||||
<d2p1:Material>
|
||||
<d2p1:AmbientColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:AmbientColor>
|
||||
<d2p1:AmbientTextureFile i:nil="true" />
|
||||
<d2p1:DiffuseColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>36</d5p1:B>
|
||||
<d5p1:G>78</d5p1:G>
|
||||
<d5p1:R>163</d5p1:R>
|
||||
</d2p1:DiffuseColor>
|
||||
<d2p1:DiffuseTextureFile i:nil="true" />
|
||||
<d2p1:EmissiveColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:EmissiveColor>
|
||||
<d2p1:EmissiveTextureFile i:nil="true" />
|
||||
<d2p1:Name>orange_glass</d2p1:Name>
|
||||
<d2p1:NormalTextureFile i:nil="true" />
|
||||
<d2p1:Opacity>0.7922865</d2p1:Opacity>
|
||||
<d2p1:SpecularColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:SpecularColor>
|
||||
<d2p1:SpecularTextureFile i:nil="true" />
|
||||
</d2p1:Material>
|
||||
<d2p1:Material>
|
||||
<d2p1:AmbientColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:AmbientColor>
|
||||
<d2p1:AmbientTextureFile i:nil="true" />
|
||||
<d2p1:DiffuseColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>47</d5p1:B>
|
||||
<d5p1:G>47</d5p1:G>
|
||||
<d5p1:R>47</d5p1:R>
|
||||
</d2p1:DiffuseColor>
|
||||
<d2p1:DiffuseTextureFile i:nil="true" />
|
||||
<d2p1:EmissiveColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:EmissiveColor>
|
||||
<d2p1:EmissiveTextureFile i:nil="true" />
|
||||
<d2p1:Name>glass</d2p1:Name>
|
||||
<d2p1:NormalTextureFile i:nil="true" />
|
||||
<d2p1:Opacity>0.9108652</d2p1:Opacity>
|
||||
<d2p1:SpecularColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:SpecularColor>
|
||||
<d2p1:SpecularTextureFile i:nil="true" />
|
||||
</d2p1:Material>
|
||||
<d2p1:Material>
|
||||
<d2p1:AmbientColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:AmbientColor>
|
||||
<d2p1:AmbientTextureFile i:nil="true" />
|
||||
<d2p1:DiffuseColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>69</d5p1:B>
|
||||
<d5p1:G>78</d5p1:G>
|
||||
<d5p1:R>87</d5p1:R>
|
||||
</d2p1:DiffuseColor>
|
||||
<d2p1:DiffuseTextureFile i:nil="true" />
|
||||
<d2p1:EmissiveColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:EmissiveColor>
|
||||
<d2p1:EmissiveTextureFile i:nil="true" />
|
||||
<d2p1:Name>paint</d2p1:Name>
|
||||
<d2p1:NormalTextureFile i:nil="true" />
|
||||
<d2p1:Opacity>1</d2p1:Opacity>
|
||||
<d2p1:SpecularColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:SpecularColor>
|
||||
<d2p1:SpecularTextureFile i:nil="true" />
|
||||
</d2p1:Material>
|
||||
<d2p1:Material>
|
||||
<d2p1:AmbientColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:AmbientColor>
|
||||
<d2p1:AmbientTextureFile i:nil="true" />
|
||||
<d2p1:DiffuseColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>17</d5p1:B>
|
||||
<d5p1:G>19</d5p1:G>
|
||||
<d5p1:R>100</d5p1:R>
|
||||
</d2p1:DiffuseColor>
|
||||
<d2p1:DiffuseTextureFile i:nil="true" />
|
||||
<d2p1:EmissiveColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:EmissiveColor>
|
||||
<d2p1:EmissiveTextureFile i:nil="true" />
|
||||
<d2p1:Name>red_glass</d2p1:Name>
|
||||
<d2p1:NormalTextureFile>datsun240k_1.jpg</d2p1:NormalTextureFile>
|
||||
<d2p1:Opacity>0.917232454</d2p1:Opacity>
|
||||
<d2p1:SpecularColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:SpecularColor>
|
||||
<d2p1:SpecularTextureFile i:nil="true" />
|
||||
</d2p1:Material>
|
||||
<d2p1:Material>
|
||||
<d2p1:AmbientColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:AmbientColor>
|
||||
<d2p1:AmbientTextureFile i:nil="true" />
|
||||
<d2p1:DiffuseColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>163</d5p1:B>
|
||||
<d5p1:G>163</d5p1:G>
|
||||
<d5p1:R>163</d5p1:R>
|
||||
</d2p1:DiffuseColor>
|
||||
<d2p1:DiffuseTextureFile i:nil="true" />
|
||||
<d2p1:EmissiveColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:EmissiveColor>
|
||||
<d2p1:EmissiveTextureFile i:nil="true" />
|
||||
<d2p1:Name>coat</d2p1:Name>
|
||||
<d2p1:NormalTextureFile i:nil="true" />
|
||||
<d2p1:Opacity>1</d2p1:Opacity>
|
||||
<d2p1:SpecularColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:SpecularColor>
|
||||
<d2p1:SpecularTextureFile i:nil="true" />
|
||||
</d2p1:Material>
|
||||
<d2p1:Material>
|
||||
<d2p1:AmbientColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:AmbientColor>
|
||||
<d2p1:AmbientTextureFile i:nil="true" />
|
||||
<d2p1:DiffuseColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>128</d5p1:B>
|
||||
<d5p1:G>128</d5p1:G>
|
||||
<d5p1:R>128</d5p1:R>
|
||||
</d2p1:DiffuseColor>
|
||||
<d2p1:DiffuseTextureFile i:nil="true" />
|
||||
<d2p1:EmissiveColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:EmissiveColor>
|
||||
<d2p1:EmissiveTextureFile i:nil="true" />
|
||||
<d2p1:Name>DefaultMaterial</d2p1:Name>
|
||||
<d2p1:NormalTextureFile i:nil="true" />
|
||||
<d2p1:Opacity>1</d2p1:Opacity>
|
||||
<d2p1:SpecularColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:SpecularColor>
|
||||
<d2p1:SpecularTextureFile i:nil="true" />
|
||||
</d2p1:Material>
|
||||
<d2p1:Material>
|
||||
<d2p1:AmbientColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:AmbientColor>
|
||||
<d2p1:AmbientTextureFile i:nil="true" />
|
||||
<d2p1:DiffuseColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>255</d5p1:B>
|
||||
<d5p1:G>255</d5p1:G>
|
||||
<d5p1:R>255</d5p1:R>
|
||||
</d2p1:DiffuseColor>
|
||||
<d2p1:DiffuseTextureFile i:nil="true" />
|
||||
<d2p1:EmissiveColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:EmissiveColor>
|
||||
<d2p1:EmissiveTextureFile i:nil="true" />
|
||||
<d2p1:Name>stickers</d2p1:Name>
|
||||
<d2p1:NormalTextureFile i:nil="true" />
|
||||
<d2p1:Opacity>0.199999988</d2p1:Opacity>
|
||||
<d2p1:SpecularColor xmlns:d5p1="WaveEngine.Common.Graphics">
|
||||
<d5p1:A>255</d5p1:A>
|
||||
<d5p1:B>0</d5p1:B>
|
||||
<d5p1:G>0</d5p1:G>
|
||||
<d5p1:R>0</d5p1:R>
|
||||
</d2p1:SpecularColor>
|
||||
<d2p1:SpecularTextureFile i:nil="true" />
|
||||
</d2p1:Material>
|
||||
</d2p1:Materials>
|
||||
<d2p1:Meshes>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>3</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.013</d2p1:Name>
|
||||
<d2p1:NumFaces>33792</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>17954</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>1</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.013</d2p1:Name>
|
||||
<d2p1:NumFaces>29496</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>16415</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>2</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.013</d2p1:Name>
|
||||
<d2p1:NumFaces>21120</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>14440</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>3</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.014</d2p1:Name>
|
||||
<d2p1:NumFaces>7052</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>5848</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>3</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.012</d2p1:Name>
|
||||
<d2p1:NumFaces>33792</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>17954</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>1</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.012</d2p1:Name>
|
||||
<d2p1:NumFaces>29496</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>16415</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>2</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.012</d2p1:Name>
|
||||
<d2p1:NumFaces>21120</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>14440</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>3</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.011</d2p1:Name>
|
||||
<d2p1:NumFaces>33792</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>17954</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>1</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.011</d2p1:Name>
|
||||
<d2p1:NumFaces>29496</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>16415</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>2</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.011</d2p1:Name>
|
||||
<d2p1:NumFaces>21120</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>14440</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>3</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.010</d2p1:Name>
|
||||
<d2p1:NumFaces>7052</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>5848</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>3</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.009</d2p1:Name>
|
||||
<d2p1:NumFaces>7052</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>5848</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>3</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.007</d2p1:Name>
|
||||
<d2p1:NumFaces>33792</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>17954</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>1</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.007</d2p1:Name>
|
||||
<d2p1:NumFaces>29496</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>16415</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>2</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.007</d2p1:Name>
|
||||
<d2p1:NumFaces>21120</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>14440</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>3</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cylinder.008</d2p1:Name>
|
||||
<d2p1:NumFaces>7052</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>5848</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>4</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.036</d2p1:Name>
|
||||
<d2p1:NumFaces>22138</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>20399</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>6</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.056</d2p1:Name>
|
||||
<d2p1:NumFaces>178</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>104</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>6</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.040</d2p1:Name>
|
||||
<d2p1:NumFaces>178</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>104</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>13</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.034</d2p1:Name>
|
||||
<d2p1:NumFaces>24</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>28</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>5</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.034</d2p1:Name>
|
||||
<d2p1:NumFaces>360</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>211</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>13</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.033</d2p1:Name>
|
||||
<d2p1:NumFaces>2</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>4</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>13</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.032</d2p1:Name>
|
||||
<d2p1:NumFaces>5</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>7</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>13</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.031</d2p1:Name>
|
||||
<d2p1:NumFaces>24</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>28</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>5</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.031</d2p1:Name>
|
||||
<d2p1:NumFaces>360</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>211</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>13</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.029</d2p1:Name>
|
||||
<d2p1:NumFaces>2</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>4</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>0</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Sphere.001</d2p1:Name>
|
||||
<d2p1:NumFaces>41472</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>21516</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>0</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.053</d2p1:Name>
|
||||
<d2p1:NumFaces>5984</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>3188</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>5</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.053</d2p1:Name>
|
||||
<d2p1:NumFaces>896</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>484</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>7</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.053</d2p1:Name>
|
||||
<d2p1:NumFaces>5824</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>3044</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>0</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.047</d2p1:Name>
|
||||
<d2p1:NumFaces>27648</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>13824</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>4</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.047</d2p1:Name>
|
||||
<d2p1:NumFaces>23424</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>11943</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>5</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.047</d2p1:Name>
|
||||
<d2p1:NumFaces>74408</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>52226</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>10</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.047</d2p1:Name>
|
||||
<d2p1:NumFaces>26784</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>15590</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>0</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.039</d2p1:Name>
|
||||
<d2p1:NumFaces>5824</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>3074</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>5</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.039</d2p1:Name>
|
||||
<d2p1:NumFaces>896</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>504</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>7</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.039</d2p1:Name>
|
||||
<d2p1:NumFaces>5824</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>3066</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>2</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.055</d2p1:Name>
|
||||
<d2p1:NumFaces>1824</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>937</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>4</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.055</d2p1:Name>
|
||||
<d2p1:NumFaces>1824</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>937</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>5</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.055</d2p1:Name>
|
||||
<d2p1:NumFaces>106179</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>54551</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>2</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.054</d2p1:Name>
|
||||
<d2p1:NumFaces>91069</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>49533</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>4</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.054</d2p1:Name>
|
||||
<d2p1:NumFaces>102546</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>65534</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>4</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.054</d2p1:Name>
|
||||
<d2p1:NumFaces>57594</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>36739</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>5</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.054</d2p1:Name>
|
||||
<d2p1:NumFaces>121798</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>65534</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>5</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.054</d2p1:Name>
|
||||
<d2p1:NumFaces>123893</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>65534</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>5</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.054</d2p1:Name>
|
||||
<d2p1:NumFaces>118708</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>65534</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>5</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.054</d2p1:Name>
|
||||
<d2p1:NumFaces>60926</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>31325</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>2</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Cube.001</d2p1:Name>
|
||||
<d2p1:NumFaces>11936</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>6556</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>2</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.049</d2p1:Name>
|
||||
<d2p1:NumFaces>33184</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>17236</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>4</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.049</d2p1:Name>
|
||||
<d2p1:NumFaces>21612</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>16831</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>4</d2p1:MaterialIndex>
|
||||
<d2p1:Name>wyciroczka.001</d2p1:Name>
|
||||
<d2p1:NumFaces>1843</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>978</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>5</d2p1:MaterialIndex>
|
||||
<d2p1:Name>wyciroczka.001</d2p1:Name>
|
||||
<d2p1:NumFaces>11254</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>5760</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>4</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.052</d2p1:Name>
|
||||
<d2p1:NumFaces>550</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>446</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>4</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.048</d2p1:Name>
|
||||
<d2p1:NumFaces>592</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>464</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>4</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.046</d2p1:Name>
|
||||
<d2p1:NumFaces>8192</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>6232</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>5</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.046</d2p1:Name>
|
||||
<d2p1:NumFaces>9472</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>7360</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>4</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.044</d2p1:Name>
|
||||
<d2p1:NumFaces>5427</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>4342</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>4</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.042</d2p1:Name>
|
||||
<d2p1:NumFaces>39384</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>26856</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>5</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.057</d2p1:Name>
|
||||
<d2p1:NumFaces>4286</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>3240</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>5</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.043</d2p1:Name>
|
||||
<d2p1:NumFaces>11734</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>8253</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>7</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.038</d2p1:Name>
|
||||
<d2p1:NumFaces>6208</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>3276</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>7</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.037</d2p1:Name>
|
||||
<d2p1:NumFaces>1408</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>900</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>8</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.051</d2p1:Name>
|
||||
<d2p1:NumFaces>9228</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>7053</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>9</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.050</d2p1:Name>
|
||||
<d2p1:NumFaces>1520</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>1254</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>9</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.045</d2p1:Name>
|
||||
<d2p1:NumFaces>104514</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>65534</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>9</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.045</d2p1:Name>
|
||||
<d2p1:NumFaces>54344</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>34569</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>11</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.041</d2p1:Name>
|
||||
<d2p1:NumFaces>107511</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>65534</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>11</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.041</d2p1:Name>
|
||||
<d2p1:NumFaces>107763</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>65534</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>11</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.041</d2p1:Name>
|
||||
<d2p1:NumFaces>2633</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>1822</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
<d2p1:Mesh>
|
||||
<d2p1:MaterialIndex>12</d2p1:MaterialIndex>
|
||||
<d2p1:Name>Plane.035</d2p1:Name>
|
||||
<d2p1:NumFaces>2</d2p1:NumFaces>
|
||||
<d2p1:NumVertices>4</d2p1:NumVertices>
|
||||
</d2p1:Mesh>
|
||||
</d2p1:Meshes>
|
||||
<d2p1:Nodes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
|
||||
<d3p1:string>RootNode</d3p1:string>
|
||||
<d3p1:string>RootNode.Sphere_001</d3p1:string>
|
||||
<d3p1:string>RootNode.Cylinder_013</d3p1:string>
|
||||
<d3p1:string>RootNode.Cylinder_013.Cylinder_014</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.wyciroczka_001</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Cylinder_012</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_057</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_056</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_055</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_054</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_053</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_052</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_051</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Cube_002</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Cube_001</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_050</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_049</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_048</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_047</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_046</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_045</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_044</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_043</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_042</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_041</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Cylinder_011</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_040</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_039</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_038</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_036.Plane_037</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_035</d3p1:string>
|
||||
<d3p1:string>RootNode.Cylinder_010</d3p1:string>
|
||||
<d3p1:string>RootNode.Cylinder_009</d3p1:string>
|
||||
<d3p1:string>RootNode.Cylinder_007</d3p1:string>
|
||||
<d3p1:string>RootNode.Cylinder_007.Cylinder_008</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_034</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_033</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_032</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_031</d3p1:string>
|
||||
<d3p1:string>RootNode.Plane_029</d3p1:string>
|
||||
</d2p1:Nodes>
|
||||
<d2p1:SourceAnimationTracks xmlns:d3p1="http://schemas.datacontract.org/2004/07/WaveEngine.Framework.Models.Profiles" />
|
||||
<d2p1:SwapWindingOrder>true</d2p1:SwapWindingOrder>
|
||||
</Asset>
|
||||
<Thumbnail i:nil="true" />
|
||||
<Version xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
|
||||
<d2p1:_Build>0</d2p1:_Build>
|
||||
<d2p1:_Major>1</d2p1:_Major>
|
||||
<d2p1:_Minor>0</d2p1:_Minor>
|
||||
<d2p1:_Revision>0</d2p1:_Revision>
|
||||
</Version>
|
||||
</Asset>
|
После Ширина: | Высота: | Размер: 2.0 MiB |
После Ширина: | Высота: | Размер: 2.0 MiB |
После Ширина: | Высота: | Размер: 935 KiB |
После Ширина: | Высота: | Размер: 2.7 MiB |
После Ширина: | Высота: | Размер: 1.0 MiB |
После Ширина: | Высота: | Размер: 333 KiB |
После Ширина: | Высота: | Размер: 167 B |
Двоичные данные
src/Content/Assets/Textures/c4d13e1ef5c20e49d7206aefff123f19--no-signa.jpg
Normal file
После Ширина: | Высота: | Размер: 302 KiB |
После Ширина: | Высота: | Размер: 406 KiB |
После Ширина: | Высота: | Размер: 79 KiB |
После Ширина: | Высота: | Размер: 3.6 MiB |
После Ширина: | Высота: | Размер: 351 KiB |
После Ширина: | Высота: | Размер: 376 KiB |
После Ширина: | Высота: | Размер: 3.6 MiB |
|
@ -0,0 +1,57 @@
|
|||
<Prefab xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="WaveEngine.Framework.Models.Assets">
|
||||
<Id xmlns="WaveEngine.Framework.Models">d1e4bec0-3359-421e-bf71-af149770b710</Id>
|
||||
<EntityModel xmlns:d2p1="WaveEngine.Framework.Models.Entities">
|
||||
<d2p1:SerializeChildrens />
|
||||
<d2p1:isDisabled>false</d2p1:isDisabled>
|
||||
<d2p1:isStatic>false</d2p1:isStatic>
|
||||
<d2p1:isVisible>true</d2p1:isVisible>
|
||||
<d2p1:name>plane</d2p1:name>
|
||||
<d2p1:tag i:nil="true" />
|
||||
<d2p1:SerializeComponents xmlns:d3p1="WaveEngine.Framework">
|
||||
<d3p1:Component xmlns:d4p1="WaveEngine.Framework.Graphics" i:type="d4p1:Transform3D">
|
||||
<d4p1:LocalOrientation xmlns:d5p1="WaveEngine.Common.Math">
|
||||
<d5p1:W>1</d5p1:W>
|
||||
<d5p1:X>0</d5p1:X>
|
||||
<d5p1:Y>0</d5p1:Y>
|
||||
<d5p1:Z>0</d5p1:Z>
|
||||
</d4p1:LocalOrientation>
|
||||
<d4p1:LocalPosition xmlns:d5p1="WaveEngine.Common.Math">
|
||||
<d5p1:X>0</d5p1:X>
|
||||
<d5p1:Y>0</d5p1:Y>
|
||||
<d5p1:Z>0</d5p1:Z>
|
||||
</d4p1:LocalPosition>
|
||||
<d4p1:LocalScale xmlns:d5p1="WaveEngine.Common.Math">
|
||||
<d5p1:X>1</d5p1:X>
|
||||
<d5p1:Y>1</d5p1:Y>
|
||||
<d5p1:Z>1</d5p1:Z>
|
||||
</d4p1:LocalScale>
|
||||
</d3p1:Component>
|
||||
<d3p1:Component xmlns:d4p1="http://schemas.datacontract.org/2004/07/WaveEngine.Components.Graphics3D" i:type="d4p1:MaterialComponent">
|
||||
<d4p1:AsignedTo>Default</d4p1:AsignedTo>
|
||||
<d4p1:MaterialPath>Content/Assets/Materials/floorMaterial.wmat</d4p1:MaterialPath>
|
||||
<d4p1:UseCopy>false</d4p1:UseCopy>
|
||||
<d4p1:useDummyMaterial>false</d4p1:useDummyMaterial>
|
||||
</d3p1:Component>
|
||||
<d3p1:Component xmlns:d4p1="http://schemas.datacontract.org/2004/07/WaveEngine.Components.Graphics3D" i:type="d4p1:PlaneMesh">
|
||||
<ModelMeshName xmlns="WaveEngine.Components.Graphics3D">Primitive</ModelMeshName>
|
||||
<d4p1:Height>1</d4p1:Height>
|
||||
<d4p1:Normal xmlns:d5p1="WaveEngine.Common.Math">
|
||||
<d5p1:X>0</d5p1:X>
|
||||
<d5p1:Y>1</d5p1:Y>
|
||||
<d5p1:Z>0</d5p1:Z>
|
||||
</d4p1:Normal>
|
||||
<d4p1:TwoSides>false</d4p1:TwoSides>
|
||||
<d4p1:UTile>1</d4p1:UTile>
|
||||
<d4p1:UVHorizontalFlip>false</d4p1:UVHorizontalFlip>
|
||||
<d4p1:UVVerticalFlip>false</d4p1:UVVerticalFlip>
|
||||
<d4p1:Width>1</d4p1:Width>
|
||||
<d4p1:YTile>1</d4p1:YTile>
|
||||
</d3p1:Component>
|
||||
<d3p1:Component xmlns:d4p1="WaveEngine.Components.Graphics3D" i:type="d4p1:MeshRenderer">
|
||||
<d3p1:FrustumCullingEnabled>true</d3p1:FrustumCullingEnabled>
|
||||
<d3p1:IsVisible>true</d3p1:IsVisible>
|
||||
</d3p1:Component>
|
||||
</d2p1:SerializeComponents>
|
||||
</EntityModel>
|
||||
<EntityPointers xmlns:d2p1="http://schemas.datacontract.org/2004/07/WaveEngine.Framework.Models.Entities" />
|
||||
</Prefab>
|
|
@ -0,0 +1,162 @@
|
|||
<Scene xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="WaveEngine.Framework.Models">
|
||||
<Id>a7c6db7a-74e3-48e5-a1cc-1bf9f8a9b677</Id>
|
||||
<Entities xmlns:d2p1="WaveEngine.Framework.Models.Entities">
|
||||
<d2p1:BaseEntityModel i:type="d2p1:EntityModel">
|
||||
<d2p1:SerializeChildrens />
|
||||
<d2p1:isDisabled>false</d2p1:isDisabled>
|
||||
<d2p1:isStatic>false</d2p1:isStatic>
|
||||
<d2p1:isVisible>true</d2p1:isVisible>
|
||||
<d2p1:name>defaultLight</d2p1:name>
|
||||
<d2p1:tag i:nil="true" />
|
||||
<d2p1:SerializeComponents xmlns:d4p1="WaveEngine.Framework">
|
||||
<d4p1:Component xmlns:d5p1="WaveEngine.Framework.Graphics" i:type="d5p1:Transform3D">
|
||||
<d5p1:LocalOrientation xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:W>0.6797593</d6p1:W>
|
||||
<d6p1:X>-0.186608791</d6p1:X>
|
||||
<d6p1:Y>0.5015498</d6p1:Y>
|
||||
<d6p1:Z>0.5015498</d6p1:Z>
|
||||
</d5p1:LocalOrientation>
|
||||
<d5p1:LocalPosition xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>4</d6p1:X>
|
||||
<d6p1:Y>4</d6p1:Y>
|
||||
<d6p1:Z>4</d6p1:Z>
|
||||
</d5p1:LocalPosition>
|
||||
<d5p1:LocalScale xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>1</d6p1:X>
|
||||
<d6p1:Y>1</d6p1:Y>
|
||||
<d6p1:Z>1</d6p1:Z>
|
||||
</d5p1:LocalScale>
|
||||
</d4p1:Component>
|
||||
<d4p1:Component xmlns:d5p1="WaveEngine.Framework.Graphics" i:type="d5p1:DirectionalLightProperties">
|
||||
<d5p1:Color xmlns:d6p1="WaveEngine.Common.Graphics">
|
||||
<d6p1:A>255</d6p1:A>
|
||||
<d6p1:B>255</d6p1:B>
|
||||
<d6p1:G>255</d6p1:G>
|
||||
<d6p1:R>255</d6p1:R>
|
||||
</d5p1:Color>
|
||||
<d5p1:Intensity>1</d5p1:Intensity>
|
||||
<d5p1:isLightDisabled>false</d5p1:isLightDisabled>
|
||||
</d4p1:Component>
|
||||
</d2p1:SerializeComponents>
|
||||
</d2p1:BaseEntityModel>
|
||||
<d2p1:BaseEntityModel i:type="d2p1:EntityModel">
|
||||
<d2p1:SerializeChildrens />
|
||||
<d2p1:isDisabled>false</d2p1:isDisabled>
|
||||
<d2p1:isStatic>false</d2p1:isStatic>
|
||||
<d2p1:isVisible>true</d2p1:isVisible>
|
||||
<d2p1:name>defaultCamera2D</d2p1:name>
|
||||
<d2p1:tag i:nil="true" />
|
||||
<d2p1:SerializeComponents xmlns:d4p1="WaveEngine.Framework">
|
||||
<d4p1:Component xmlns:d5p1="WaveEngine.Framework.Graphics" i:type="d5p1:Transform2D">
|
||||
<d5p1:LocalOrientation xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:W>1</d6p1:W>
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>0</d6p1:Y>
|
||||
<d6p1:Z>0</d6p1:Z>
|
||||
</d5p1:LocalOrientation>
|
||||
<d5p1:LocalPosition xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>640</d6p1:X>
|
||||
<d6p1:Y>360</d6p1:Y>
|
||||
<d6p1:Z>10</d6p1:Z>
|
||||
</d5p1:LocalPosition>
|
||||
<d5p1:LocalScale xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>1</d6p1:X>
|
||||
<d6p1:Y>1</d6p1:Y>
|
||||
<d6p1:Z>1</d6p1:Z>
|
||||
</d5p1:LocalScale>
|
||||
<d5p1:Opacity>1</d5p1:Opacity>
|
||||
<d5p1:Rectangle xmlns:d6p1="http://schemas.datacontract.org/2004/07/WaveEngine.Common.Math">
|
||||
<d6p1:Height>0</d6p1:Height>
|
||||
<d6p1:Width>0</d6p1:Width>
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>0</d6p1:Y>
|
||||
</d5p1:Rectangle>
|
||||
<d5p1:effect>None</d5p1:effect>
|
||||
<d5p1:origin xmlns:d6p1="http://schemas.datacontract.org/2004/07/WaveEngine.Common.Math">
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>0</d6p1:Y>
|
||||
</d5p1:origin>
|
||||
<d5p1:screenPosition xmlns:d6p1="http://schemas.datacontract.org/2004/07/WaveEngine.Common.Math">
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>0</d6p1:Y>
|
||||
</d5p1:screenPosition>
|
||||
<d5p1:transformMode>Standard</d5p1:transformMode>
|
||||
</d4p1:Component>
|
||||
<d4p1:Component xmlns:d5p1="WaveEngine.Framework.Graphics" i:type="d5p1:Camera2D">
|
||||
<d5p1:BackgroundColor xmlns:d6p1="WaveEngine.Common.Graphics">
|
||||
<d6p1:A>255</d6p1:A>
|
||||
<d6p1:B>255</d6p1:B>
|
||||
<d6p1:G>255</d6p1:G>
|
||||
<d6p1:R>255</d6p1:R>
|
||||
</d5p1:BackgroundColor>
|
||||
<d5p1:CameraOrder>0</d5p1:CameraOrder>
|
||||
<d5p1:ClearDepth>1</d5p1:ClearDepth>
|
||||
<d5p1:ClearFlags>All</d5p1:ClearFlags>
|
||||
<d5p1:ClearStencil>0</d5p1:ClearStencil>
|
||||
<d5p1:DepthRange xmlns:d6p1="WaveEngine.Common.Graphics">
|
||||
<d6p1:MaxDepth>1</d6p1:MaxDepth>
|
||||
<d6p1:MinDepth>0</d6p1:MinDepth>
|
||||
</d5p1:DepthRange>
|
||||
<d5p1:FarPlane>1000</d5p1:FarPlane>
|
||||
<d5p1:FieldOfView>0</d5p1:FieldOfView>
|
||||
<d5p1:FrustumCullingEnabled>true</d5p1:FrustumCullingEnabled>
|
||||
<d5p1:IsActive>true</d5p1:IsActive>
|
||||
<d5p1:LayerMaskDefaultValue>true</d5p1:LayerMaskDefaultValue>
|
||||
<d5p1:NearPlane>-1000</d5p1:NearPlane>
|
||||
<d5p1:UpVector xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>-0</d6p1:X>
|
||||
<d6p1:Y>1</d6p1:Y>
|
||||
<d6p1:Z>0</d6p1:Z>
|
||||
</d5p1:UpVector>
|
||||
<d5p1:Viewport xmlns:d6p1="WaveEngine.Common.Graphics">
|
||||
<d6p1:Height>1</d6p1:Height>
|
||||
<d6p1:Width>1</d6p1:Width>
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>0</d6p1:Y>
|
||||
</d5p1:Viewport>
|
||||
<d5p1:customVirtualScreen xmlns:d6p1="WaveEngine.Framework.Managers" i:nil="true" />
|
||||
<d5p1:distance>0</d5p1:distance>
|
||||
<d5p1:rotation>-0</d5p1:rotation>
|
||||
<d5p1:vanishingPoint xmlns:d6p1="http://schemas.datacontract.org/2004/07/WaveEngine.Common.Math">
|
||||
<d6p1:X>0.5</d6p1:X>
|
||||
<d6p1:Y>0.5</d6p1:Y>
|
||||
</d5p1:vanishingPoint>
|
||||
<d5p1:zoom xmlns:d6p1="http://schemas.datacontract.org/2004/07/WaveEngine.Common.Math">
|
||||
<d6p1:X>1</d6p1:X>
|
||||
<d6p1:Y>1</d6p1:Y>
|
||||
</d5p1:zoom>
|
||||
</d4p1:Component>
|
||||
</d2p1:SerializeComponents>
|
||||
</d2p1:BaseEntityModel>
|
||||
</Entities>
|
||||
<EntityPointers xmlns:d2p1="http://schemas.datacontract.org/2004/07/WaveEngine.Framework.Models.Entities" />
|
||||
<Settings xmlns:d2p1="WaveEngine.Framework.Models.Settings">
|
||||
<d2p1:Categories xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
|
||||
<d3p1:KeyValueOfstringanyType>
|
||||
<d3p1:Key>VirtualScreen</d3p1:Key>
|
||||
<d3p1:Value xmlns:d5p1="WaveEngine.Framework.Managers" i:type="d5p1:VirtualScreenManager">
|
||||
<d5p1:Enabled>true</d5p1:Enabled>
|
||||
<d5p1:Expand>true</d5p1:Expand>
|
||||
<d5p1:Stretch>Uniform</d5p1:Stretch>
|
||||
<d5p1:VirtualHeight>720</d5p1:VirtualHeight>
|
||||
<d5p1:VirtualWidth>1280</d5p1:VirtualWidth>
|
||||
</d3p1:Value>
|
||||
</d3p1:KeyValueOfstringanyType>
|
||||
<d3p1:KeyValueOfstringanyType>
|
||||
<d3p1:Key>Physics</d3p1:Key>
|
||||
<d3p1:Value xmlns:d5p1="WaveEngine.Framework.Models.Settings.Categories" i:type="d5p1:PhysicCategory">
|
||||
<d5p1:AllowSleep>true</d5p1:AllowSleep>
|
||||
<d5p1:Gravity2D xmlns:d6p1="http://schemas.datacontract.org/2004/07/WaveEngine.Common.Math">
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>9.8</d6p1:Y>
|
||||
</d5p1:Gravity2D>
|
||||
<d5p1:Gravity3D xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>-9.8</d6p1:Y>
|
||||
<d6p1:Z>0</d6p1:Z>
|
||||
</d5p1:Gravity3D>
|
||||
</d3p1:Value>
|
||||
</d3p1:KeyValueOfstringanyType>
|
||||
</d2p1:Categories>
|
||||
</Settings>
|
||||
</Scene>
|
|
@ -0,0 +1,354 @@
|
|||
<Scene xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="WaveEngine.Framework.Models">
|
||||
<Id>ca1e2372-d6d6-46d2-b894-6ae25ffff02f</Id>
|
||||
<Entities xmlns:d2p1="WaveEngine.Framework.Models.Entities">
|
||||
<d2p1:BaseEntityModel i:type="d2p1:EntityModel">
|
||||
<d2p1:SerializeChildrens />
|
||||
<d2p1:isDisabled>false</d2p1:isDisabled>
|
||||
<d2p1:isStatic>false</d2p1:isStatic>
|
||||
<d2p1:isVisible>true</d2p1:isVisible>
|
||||
<d2p1:name>frontLight</d2p1:name>
|
||||
<d2p1:tag i:nil="true" />
|
||||
<d2p1:SerializeComponents xmlns:d4p1="WaveEngine.Framework">
|
||||
<d4p1:Component xmlns:d5p1="WaveEngine.Framework.Graphics" i:type="d5p1:Transform3D">
|
||||
<d5p1:LocalOrientation xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:W>0.888520539</d6p1:W>
|
||||
<d6p1:X>-0.2798391</d6p1:X>
|
||||
<d6p1:Y>0.346826434</d6p1:Y>
|
||||
<d6p1:Z>0.109233096</d6p1:Z>
|
||||
</d5p1:LocalOrientation>
|
||||
<d5p1:LocalPosition xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>3.23791933</d6p1:X>
|
||||
<d6p1:Y>6.81779861</d6p1:Y>
|
||||
<d6p1:Z>2.42736721</d6p1:Z>
|
||||
</d5p1:LocalPosition>
|
||||
<d5p1:LocalScale xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>1</d6p1:X>
|
||||
<d6p1:Y>1</d6p1:Y>
|
||||
<d6p1:Z>1</d6p1:Z>
|
||||
</d5p1:LocalScale>
|
||||
</d4p1:Component>
|
||||
<d4p1:Component xmlns:d5p1="WaveEngine.Framework.Graphics" i:type="d5p1:DirectionalLightProperties">
|
||||
<d5p1:Color xmlns:d6p1="WaveEngine.Common.Graphics">
|
||||
<d6p1:A>255</d6p1:A>
|
||||
<d6p1:B>255</d6p1:B>
|
||||
<d6p1:G>255</d6p1:G>
|
||||
<d6p1:R>255</d6p1:R>
|
||||
</d5p1:Color>
|
||||
<d5p1:Intensity>1</d5p1:Intensity>
|
||||
<d5p1:isLightDisabled>false</d5p1:isLightDisabled>
|
||||
</d4p1:Component>
|
||||
<d4p1:Component xmlns:d5p1="WaveEngine.Framework.Graphics" i:type="d5p1:DirectionalLightRenderer">
|
||||
<d4p1:FrustumCullingEnabled>true</d4p1:FrustumCullingEnabled>
|
||||
<d4p1:IsVisible>true</d4p1:IsVisible>
|
||||
</d4p1:Component>
|
||||
<d4p1:Component xmlns:d5p1="http://schemas.datacontract.org/2004/07/WaveEngine.ARMobile.Components" i:type="d5p1:ARLightEstimation">
|
||||
<d4p1:UpdateOrder>0.5</d4p1:UpdateOrder>
|
||||
<d4p1:isDisabled>false</d4p1:isDisabled>
|
||||
<d5p1:ApplyTemperature>false</d5p1:ApplyTemperature>
|
||||
</d4p1:Component>
|
||||
</d2p1:SerializeComponents>
|
||||
</d2p1:BaseEntityModel>
|
||||
<d2p1:BaseEntityModel i:type="d2p1:EntityModel">
|
||||
<d2p1:SerializeChildrens />
|
||||
<d2p1:isDisabled>false</d2p1:isDisabled>
|
||||
<d2p1:isStatic>false</d2p1:isStatic>
|
||||
<d2p1:isVisible>true</d2p1:isVisible>
|
||||
<d2p1:name>rearLight</d2p1:name>
|
||||
<d2p1:tag i:nil="true" />
|
||||
<d2p1:SerializeComponents xmlns:d4p1="WaveEngine.Framework">
|
||||
<d4p1:Component xmlns:d5p1="WaveEngine.Framework.Graphics" i:type="d5p1:Transform3D">
|
||||
<d5p1:LocalOrientation xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:W>0.9032827</d6p1:W>
|
||||
<d6p1:X>0.347584337</d6p1:X>
|
||||
<d6p1:Y>0.234746486</d6p1:Y>
|
||||
<d6p1:Z>-0.09033087</d6p1:Z>
|
||||
</d5p1:LocalOrientation>
|
||||
<d5p1:LocalPosition xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>3.23791933</d6p1:X>
|
||||
<d6p1:Y>6.81779861</d6p1:Y>
|
||||
<d6p1:Z>2.42736721</d6p1:Z>
|
||||
</d5p1:LocalPosition>
|
||||
<d5p1:LocalScale xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>1</d6p1:X>
|
||||
<d6p1:Y>1</d6p1:Y>
|
||||
<d6p1:Z>1</d6p1:Z>
|
||||
</d5p1:LocalScale>
|
||||
</d4p1:Component>
|
||||
<d4p1:Component xmlns:d5p1="WaveEngine.Framework.Graphics" i:type="d5p1:DirectionalLightProperties">
|
||||
<d5p1:Color xmlns:d6p1="WaveEngine.Common.Graphics">
|
||||
<d6p1:A>255</d6p1:A>
|
||||
<d6p1:B>255</d6p1:B>
|
||||
<d6p1:G>255</d6p1:G>
|
||||
<d6p1:R>255</d6p1:R>
|
||||
</d5p1:Color>
|
||||
<d5p1:Intensity>1</d5p1:Intensity>
|
||||
<d5p1:isLightDisabled>false</d5p1:isLightDisabled>
|
||||
</d4p1:Component>
|
||||
<d4p1:Component xmlns:d5p1="WaveEngine.Framework.Graphics" i:type="d5p1:DirectionalLightRenderer">
|
||||
<d4p1:FrustumCullingEnabled>true</d4p1:FrustumCullingEnabled>
|
||||
<d4p1:IsVisible>true</d4p1:IsVisible>
|
||||
</d4p1:Component>
|
||||
<d4p1:Component xmlns:d5p1="http://schemas.datacontract.org/2004/07/WaveEngine.ARMobile.Components" i:type="d5p1:ARLightEstimation">
|
||||
<d4p1:UpdateOrder>0.5</d4p1:UpdateOrder>
|
||||
<d4p1:isDisabled>false</d4p1:isDisabled>
|
||||
<d5p1:ApplyTemperature>false</d5p1:ApplyTemperature>
|
||||
</d4p1:Component>
|
||||
</d2p1:SerializeComponents>
|
||||
</d2p1:BaseEntityModel>
|
||||
<d2p1:BaseEntityModel i:type="d2p1:EntityModel">
|
||||
<d2p1:SerializeChildrens />
|
||||
<d2p1:isDisabled>false</d2p1:isDisabled>
|
||||
<d2p1:isStatic>false</d2p1:isStatic>
|
||||
<d2p1:isVisible>true</d2p1:isVisible>
|
||||
<d2p1:name>cameraRig</d2p1:name>
|
||||
<d2p1:tag i:nil="true" />
|
||||
<d2p1:SerializeComponents xmlns:d4p1="WaveEngine.Framework">
|
||||
<d4p1:Component xmlns:d5p1="WaveEngine.Framework.Graphics" i:type="d5p1:Transform3D">
|
||||
<d5p1:LocalOrientation xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:W>0</d6p1:W>
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>1</d6p1:Y>
|
||||
<d6p1:Z>0</d6p1:Z>
|
||||
</d5p1:LocalOrientation>
|
||||
<d5p1:LocalPosition xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>0.4</d6p1:Y>
|
||||
<d6p1:Z>-2</d6p1:Z>
|
||||
</d5p1:LocalPosition>
|
||||
<d5p1:LocalScale xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>1</d6p1:X>
|
||||
<d6p1:Y>1</d6p1:Y>
|
||||
<d6p1:Z>1</d6p1:Z>
|
||||
</d5p1:LocalScale>
|
||||
</d4p1:Component>
|
||||
<d4p1:Component xmlns:d5p1="WaveEngine.Framework.Sound" i:type="d5p1:SoundListener3D">
|
||||
<d4p1:UpdateOrder>0.5</d4p1:UpdateOrder>
|
||||
<d4p1:isDisabled>false</d4p1:isDisabled>
|
||||
</d4p1:Component>
|
||||
<d4p1:Component xmlns:d5p1="http://schemas.datacontract.org/2004/07/WaveEngine.Components.AR" i:type="d5p1:ARCameraRig">
|
||||
<BackgroundColor xmlns:d6p1="WaveEngine.Common.Graphics" xmlns="WaveEngine.Framework.Graphics">
|
||||
<d6p1:A>0</d6p1:A>
|
||||
<d6p1:B>0</d6p1:B>
|
||||
<d6p1:G>0</d6p1:G>
|
||||
<d6p1:R>0</d6p1:R>
|
||||
</BackgroundColor>
|
||||
<CameraOrder xmlns="WaveEngine.Framework.Graphics">0</CameraOrder>
|
||||
<ClearDepth xmlns="WaveEngine.Framework.Graphics">1</ClearDepth>
|
||||
<ClearFlags xmlns="WaveEngine.Framework.Graphics">All</ClearFlags>
|
||||
<ClearStencil xmlns="WaveEngine.Framework.Graphics">0</ClearStencil>
|
||||
<DepthRange xmlns:d6p1="WaveEngine.Common.Graphics" xmlns="WaveEngine.Framework.Graphics">
|
||||
<d6p1:MaxDepth>1</d6p1:MaxDepth>
|
||||
<d6p1:MinDepth>0</d6p1:MinDepth>
|
||||
</DepthRange>
|
||||
<FarPlane xmlns="WaveEngine.Framework.Graphics">1000</FarPlane>
|
||||
<FieldOfView xmlns="WaveEngine.Framework.Graphics">0.7853982</FieldOfView>
|
||||
<FrustumCullingEnabled xmlns="WaveEngine.Framework.Graphics">true</FrustumCullingEnabled>
|
||||
<IsActive xmlns="WaveEngine.Framework.Graphics">true</IsActive>
|
||||
<LayerMaskDefaultValue xmlns="WaveEngine.Framework.Graphics">true</LayerMaskDefaultValue>
|
||||
<NearPlane xmlns="WaveEngine.Framework.Graphics">0.1</NearPlane>
|
||||
<UpVector xmlns:d6p1="WaveEngine.Common.Math" xmlns="WaveEngine.Framework.Graphics">
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>1</d6p1:Y>
|
||||
<d6p1:Z>0</d6p1:Z>
|
||||
</UpVector>
|
||||
<Viewport xmlns:d6p1="WaveEngine.Common.Graphics" xmlns="WaveEngine.Framework.Graphics">
|
||||
<d6p1:Height>1</d6p1:Height>
|
||||
<d6p1:Width>1</d6p1:Width>
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>0</d6p1:Y>
|
||||
</Viewport>
|
||||
<AspectRatio xmlns="WaveEngine.Framework.Graphics">1.78217816</AspectRatio>
|
||||
<d5p1:ShowPointCloud>false</d5p1:ShowPointCloud>
|
||||
</d4p1:Component>
|
||||
<d4p1:Component xmlns:d5p1="http://schemas.datacontract.org/2004/07/WaveEngine.ARMobile.Components" i:type="d5p1:ARMobileProvider">
|
||||
<d5p1:AutoStart>true</d5p1:AutoStart>
|
||||
<d5p1:lightEstimationEnabled>true</d5p1:lightEstimationEnabled>
|
||||
<d5p1:planeDetection>Horizontal</d5p1:planeDetection>
|
||||
<d5p1:pointCloudEnabled>false</d5p1:pointCloudEnabled>
|
||||
<d5p1:trackPosition>true</d5p1:trackPosition>
|
||||
<d5p1:worldAlignment>Gravity</d5p1:worldAlignment>
|
||||
</d4p1:Component>
|
||||
<d4p1:Component xmlns:d5p1="http://schemas.datacontract.org/2004/07/XamarinForms3DCarSample" i:type="d5p1:PlaneDetector">
|
||||
<d4p1:UpdateOrder>0.5</d4p1:UpdateOrder>
|
||||
<d4p1:isDisabled>false</d4p1:isDisabled>
|
||||
<d5p1:HitType>ExistingPlane</d5p1:HitType>
|
||||
<d5p1:targetEntity>Hammer</d5p1:targetEntity>
|
||||
</d4p1:Component>
|
||||
</d2p1:SerializeComponents>
|
||||
</d2p1:BaseEntityModel>
|
||||
<d2p1:BaseEntityModel i:type="d2p1:EntityModel">
|
||||
<d2p1:SerializeChildrens />
|
||||
<d2p1:isDisabled>false</d2p1:isDisabled>
|
||||
<d2p1:isStatic>false</d2p1:isStatic>
|
||||
<d2p1:isVisible>true</d2p1:isVisible>
|
||||
<d2p1:name>ARplane</d2p1:name>
|
||||
<d2p1:tag i:nil="true" />
|
||||
<d2p1:SerializeComponents xmlns:d4p1="WaveEngine.Framework">
|
||||
<d4p1:Component xmlns:d5p1="WaveEngine.Framework.Graphics" i:type="d5p1:Transform3D">
|
||||
<d5p1:LocalOrientation xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:W>1</d6p1:W>
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>0</d6p1:Y>
|
||||
<d6p1:Z>0</d6p1:Z>
|
||||
</d5p1:LocalOrientation>
|
||||
<d5p1:LocalPosition xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>0</d6p1:Y>
|
||||
<d6p1:Z>0</d6p1:Z>
|
||||
</d5p1:LocalPosition>
|
||||
<d5p1:LocalScale xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>1</d6p1:X>
|
||||
<d6p1:Y>1</d6p1:Y>
|
||||
<d6p1:Z>1</d6p1:Z>
|
||||
</d5p1:LocalScale>
|
||||
</d4p1:Component>
|
||||
<d4p1:Component xmlns:d5p1="http://schemas.datacontract.org/2004/07/WaveEngine.ARMobile.Components" i:type="d5p1:ARMobilePlaneVisualizer">
|
||||
<d5p1:PrefabPath>Content/Assets/plane.wpref</d5p1:PrefabPath>
|
||||
</d4p1:Component>
|
||||
</d2p1:SerializeComponents>
|
||||
</d2p1:BaseEntityModel>
|
||||
<d2p1:BaseEntityModel i:type="d2p1:EntityModel">
|
||||
<d2p1:SerializeChildrens>
|
||||
<d2p1:BaseEntityModel i:type="d2p1:EntityModel">
|
||||
<d2p1:SerializeChildrens />
|
||||
<d2p1:isDisabled>false</d2p1:isDisabled>
|
||||
<d2p1:isStatic>false</d2p1:isStatic>
|
||||
<d2p1:isVisible>true</d2p1:isVisible>
|
||||
<d2p1:name>Metall</d2p1:name>
|
||||
<d2p1:tag i:nil="true" />
|
||||
<d2p1:SerializeComponents xmlns:d6p1="WaveEngine.Framework">
|
||||
<d6p1:Component xmlns:d7p1="WaveEngine.Framework.Graphics" i:type="d7p1:Transform3D">
|
||||
<d7p1:LocalOrientation xmlns:d8p1="WaveEngine.Common.Math">
|
||||
<d8p1:W>0.707106769</d8p1:W>
|
||||
<d8p1:X>-0.707106769</d8p1:X>
|
||||
<d8p1:Y>-1.68587391E-07</d8p1:Y>
|
||||
<d8p1:Z>-1.68587391E-07</d8p1:Z>
|
||||
</d7p1:LocalOrientation>
|
||||
<d7p1:LocalPosition xmlns:d8p1="WaveEngine.Common.Math">
|
||||
<d8p1:X>-0.00225609774</d8p1:X>
|
||||
<d8p1:Y>0.00123512268</d8p1:Y>
|
||||
<d8p1:Z>0.00237173075</d8p1:Z>
|
||||
</d7p1:LocalPosition>
|
||||
<d7p1:LocalScale xmlns:d8p1="WaveEngine.Common.Math">
|
||||
<d8p1:X>1</d8p1:X>
|
||||
<d8p1:Y>0.99999994</d8p1:Y>
|
||||
<d8p1:Z>0.99999994</d8p1:Z>
|
||||
</d7p1:LocalScale>
|
||||
</d6p1:Component>
|
||||
<d6p1:Component xmlns:d7p1="http://schemas.datacontract.org/2004/07/WaveEngine.Components.Graphics3D" i:type="d7p1:MaterialComponent">
|
||||
<d7p1:AsignedTo>Hammer</d7p1:AsignedTo>
|
||||
<d7p1:MaterialPath>Content/Assets/Models/Materials/Hammer.wmat</d7p1:MaterialPath>
|
||||
<d7p1:UseCopy>false</d7p1:UseCopy>
|
||||
<d7p1:useDummyMaterial>false</d7p1:useDummyMaterial>
|
||||
</d6p1:Component>
|
||||
<d6p1:Component xmlns:d7p1="http://schemas.datacontract.org/2004/07/WaveEngine.Components.Graphics3D" i:type="d7p1:FileMesh">
|
||||
<ModelMeshName xmlns="WaveEngine.Components.Graphics3D">Metall</ModelMeshName>
|
||||
<d7p1:ModelPath>Content/Assets/Models/Hammer.fbx.wpk</d7p1:ModelPath>
|
||||
</d6p1:Component>
|
||||
<d6p1:Component xmlns:d7p1="WaveEngine.Components.Graphics3D" i:type="d7p1:MeshRenderer">
|
||||
<d6p1:FrustumCullingEnabled>true</d6p1:FrustumCullingEnabled>
|
||||
<d6p1:IsVisible>true</d6p1:IsVisible>
|
||||
</d6p1:Component>
|
||||
</d2p1:SerializeComponents>
|
||||
</d2p1:BaseEntityModel>
|
||||
<d2p1:BaseEntityModel i:type="d2p1:EntityModel">
|
||||
<d2p1:SerializeChildrens />
|
||||
<d2p1:isDisabled>false</d2p1:isDisabled>
|
||||
<d2p1:isStatic>false</d2p1:isStatic>
|
||||
<d2p1:isVisible>true</d2p1:isVisible>
|
||||
<d2p1:name>Handle</d2p1:name>
|
||||
<d2p1:tag i:nil="true" />
|
||||
<d2p1:SerializeComponents xmlns:d6p1="WaveEngine.Framework">
|
||||
<d6p1:Component xmlns:d7p1="WaveEngine.Framework.Graphics" i:type="d7p1:Transform3D">
|
||||
<d7p1:LocalOrientation xmlns:d8p1="WaveEngine.Common.Math">
|
||||
<d8p1:W>0.707106769</d8p1:W>
|
||||
<d8p1:X>-0.707106769</d8p1:X>
|
||||
<d8p1:Y>-1.68587391E-07</d8p1:Y>
|
||||
<d8p1:Z>-1.68587391E-07</d8p1:Z>
|
||||
</d7p1:LocalOrientation>
|
||||
<d7p1:LocalPosition xmlns:d8p1="WaveEngine.Common.Math">
|
||||
<d8p1:X>-0.00225609774</d8p1:X>
|
||||
<d8p1:Y>0.00123512268</d8p1:Y>
|
||||
<d8p1:Z>0.00237173075</d8p1:Z>
|
||||
</d7p1:LocalPosition>
|
||||
<d7p1:LocalScale xmlns:d8p1="WaveEngine.Common.Math">
|
||||
<d8p1:X>1</d8p1:X>
|
||||
<d8p1:Y>0.99999994</d8p1:Y>
|
||||
<d8p1:Z>0.99999994</d8p1:Z>
|
||||
</d7p1:LocalScale>
|
||||
</d6p1:Component>
|
||||
<d6p1:Component xmlns:d7p1="http://schemas.datacontract.org/2004/07/WaveEngine.Components.Graphics3D" i:type="d7p1:MaterialComponent">
|
||||
<d7p1:AsignedTo>Hammer</d7p1:AsignedTo>
|
||||
<d7p1:MaterialPath>Content/Assets/Models/Materials/Hammer.wmat</d7p1:MaterialPath>
|
||||
<d7p1:UseCopy>false</d7p1:UseCopy>
|
||||
<d7p1:useDummyMaterial>false</d7p1:useDummyMaterial>
|
||||
</d6p1:Component>
|
||||
<d6p1:Component xmlns:d7p1="http://schemas.datacontract.org/2004/07/WaveEngine.Components.Graphics3D" i:type="d7p1:FileMesh">
|
||||
<ModelMeshName xmlns="WaveEngine.Components.Graphics3D">Handle</ModelMeshName>
|
||||
<d7p1:ModelPath>Content/Assets/Models/Hammer.fbx.wpk</d7p1:ModelPath>
|
||||
</d6p1:Component>
|
||||
<d6p1:Component xmlns:d7p1="WaveEngine.Components.Graphics3D" i:type="d7p1:MeshRenderer">
|
||||
<d6p1:FrustumCullingEnabled>true</d6p1:FrustumCullingEnabled>
|
||||
<d6p1:IsVisible>true</d6p1:IsVisible>
|
||||
</d6p1:Component>
|
||||
</d2p1:SerializeComponents>
|
||||
</d2p1:BaseEntityModel>
|
||||
</d2p1:SerializeChildrens>
|
||||
<d2p1:isDisabled>false</d2p1:isDisabled>
|
||||
<d2p1:isStatic>false</d2p1:isStatic>
|
||||
<d2p1:isVisible>true</d2p1:isVisible>
|
||||
<d2p1:name>Hammer</d2p1:name>
|
||||
<d2p1:tag i:nil="true" />
|
||||
<d2p1:SerializeComponents xmlns:d4p1="WaveEngine.Framework">
|
||||
<d4p1:Component xmlns:d5p1="WaveEngine.Framework.Graphics" i:type="d5p1:Transform3D">
|
||||
<d5p1:LocalOrientation xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:W>1</d6p1:W>
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>0</d6p1:Y>
|
||||
<d6p1:Z>0</d6p1:Z>
|
||||
</d5p1:LocalOrientation>
|
||||
<d5p1:LocalPosition xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>-0.002058506</d6p1:X>
|
||||
<d6p1:Y>-0.000489711761</d6p1:Y>
|
||||
<d6p1:Z>0.002827704</d6p1:Z>
|
||||
</d5p1:LocalPosition>
|
||||
<d5p1:LocalScale xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>2</d6p1:X>
|
||||
<d6p1:Y>2</d6p1:Y>
|
||||
<d6p1:Z>2</d6p1:Z>
|
||||
</d5p1:LocalScale>
|
||||
</d4p1:Component>
|
||||
</d2p1:SerializeComponents>
|
||||
</d2p1:BaseEntityModel>
|
||||
</Entities>
|
||||
<EntityPointers xmlns:d2p1="http://schemas.datacontract.org/2004/07/WaveEngine.Framework.Models.Entities" />
|
||||
<Settings xmlns:d2p1="WaveEngine.Framework.Models.Settings">
|
||||
<d2p1:Categories xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
|
||||
<d3p1:KeyValueOfstringanyType>
|
||||
<d3p1:Key>VirtualScreen</d3p1:Key>
|
||||
<d3p1:Value xmlns:d5p1="WaveEngine.Framework.Managers" i:type="d5p1:VirtualScreenManager">
|
||||
<d5p1:Enabled>true</d5p1:Enabled>
|
||||
<d5p1:Expand>true</d5p1:Expand>
|
||||
<d5p1:Stretch>Uniform</d5p1:Stretch>
|
||||
<d5p1:VirtualHeight>720</d5p1:VirtualHeight>
|
||||
<d5p1:VirtualWidth>1280</d5p1:VirtualWidth>
|
||||
</d3p1:Value>
|
||||
</d3p1:KeyValueOfstringanyType>
|
||||
<d3p1:KeyValueOfstringanyType>
|
||||
<d3p1:Key>Physics</d3p1:Key>
|
||||
<d3p1:Value xmlns:d5p1="WaveEngine.Framework.Models.Settings.Categories" i:type="d5p1:PhysicCategory">
|
||||
<d5p1:AllowSleep>true</d5p1:AllowSleep>
|
||||
<d5p1:Gravity2D xmlns:d6p1="http://schemas.datacontract.org/2004/07/WaveEngine.Common.Math">
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>9.8</d6p1:Y>
|
||||
</d5p1:Gravity2D>
|
||||
<d5p1:Gravity3D xmlns:d6p1="WaveEngine.Common.Math">
|
||||
<d6p1:X>0</d6p1:X>
|
||||
<d6p1:Y>-9.8</d6p1:Y>
|
||||
<d6p1:Z>0</d6p1:Z>
|
||||
</d5p1:Gravity3D>
|
||||
</d3p1:Value>
|
||||
</d3p1:KeyValueOfstringanyType>
|
||||
</d2p1:Categories>
|
||||
</Settings>
|
||||
</Scene>
|
|
@ -0,0 +1,253 @@
|
|||
using System;
|
||||
using Android.App;
|
||||
using Android.Content.PM;
|
||||
using Android.Views;
|
||||
using Android.OS;
|
||||
using WaveEngine.Common;
|
||||
using WaveEngine.Adapter;
|
||||
using WaveEngine.Common.Input;
|
||||
using XamarinForms3DCarSample.Helpers;
|
||||
using Xamarin.Forms;
|
||||
using WaveEngine.Framework.Services;
|
||||
|
||||
namespace XamarinForms3DCarSample.Droid
|
||||
{
|
||||
[Activity(
|
||||
Label = "XamarinForms3DCarSample",
|
||||
Icon = "@drawable/icon", MainLauncher = true,
|
||||
ScreenOrientation = ScreenOrientation.Landscape,
|
||||
ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
|
||||
public class MainActivity : Xamarin.Forms.Platform.Android.FormsApplicationActivity, IAndroidApplication
|
||||
{
|
||||
private IGame game;
|
||||
private bool isGameInitialized = false;
|
||||
|
||||
public GLView View { get; set; }
|
||||
|
||||
public Activity Activity
|
||||
{
|
||||
get
|
||||
{
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public int LayoutId { get; set; }
|
||||
|
||||
private bool fullScreen;
|
||||
|
||||
public IAdapter Adapter
|
||||
{
|
||||
get
|
||||
{
|
||||
if (View == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
else
|
||||
{
|
||||
return View.Adapter;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string WindowTitle
|
||||
{
|
||||
get { return string.Empty; }
|
||||
}
|
||||
|
||||
public bool FullScreen
|
||||
{
|
||||
get
|
||||
{
|
||||
return fullScreen;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
if (fullScreen != value)
|
||||
{
|
||||
fullScreen = value;
|
||||
|
||||
if (Window != null)
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
Window.AddFlags(WindowManagerFlags.Fullscreen);
|
||||
}
|
||||
else
|
||||
{
|
||||
Window.ClearFlags(WindowManagerFlags.Fullscreen);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int Width
|
||||
{
|
||||
get { return Adapter.Width; }
|
||||
}
|
||||
|
||||
public int Height
|
||||
{
|
||||
get { return Adapter.Height; }
|
||||
}
|
||||
|
||||
private DisplayOrientation defaultOrientation;
|
||||
|
||||
public DisplayOrientation SupportedOrientations { get; set; }
|
||||
|
||||
public DisplayOrientation DefaultOrientation
|
||||
{
|
||||
get
|
||||
{
|
||||
return defaultOrientation;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
if (defaultOrientation != value)
|
||||
{
|
||||
defaultOrientation = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public bool SkipDefaultSplash
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
public bool IsEditor => false;
|
||||
|
||||
public ExecutionMode ExecutionMode => ExecutionMode.Standalone;
|
||||
|
||||
public void Initialize()
|
||||
{
|
||||
}
|
||||
|
||||
public void Initialize(IGame theGame)
|
||||
{
|
||||
MessagingCenter.Subscribe<MyScene>(this, MessengerKeys.SceneInitialized, OnSceneLoaded);
|
||||
|
||||
game = theGame;
|
||||
isGameInitialized = false;
|
||||
}
|
||||
|
||||
public void Update(TimeSpan elapsedTime)
|
||||
{
|
||||
if (game != null)
|
||||
{
|
||||
if (!isGameInitialized)
|
||||
{
|
||||
game.Initialize(this);
|
||||
isGameInitialized = true;
|
||||
}
|
||||
|
||||
game.UpdateFrame(elapsedTime);
|
||||
}
|
||||
}
|
||||
|
||||
public void OnSceneLoaded(MyScene scene)
|
||||
{
|
||||
WaveEngineFacade.Initialize(scene);
|
||||
}
|
||||
|
||||
public void Draw(TimeSpan elapsedTime)
|
||||
{
|
||||
if (game != null)
|
||||
{
|
||||
game.DrawFrame(elapsedTime);
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void Exit()
|
||||
{
|
||||
Finish();
|
||||
Java.Lang.JavaSystem.Exit(0);
|
||||
}
|
||||
|
||||
protected override void OnCreate(Bundle savedInstanceState)
|
||||
{
|
||||
Window.AddFlags(WindowManagerFlags.KeepScreenOn);
|
||||
|
||||
HideSystemUI();
|
||||
|
||||
base.OnCreate(savedInstanceState);
|
||||
|
||||
this.VolumeControlStream = Android.Media.Stream.Music;
|
||||
|
||||
Forms.Init(this, savedInstanceState);
|
||||
|
||||
LoadApplication(new App());
|
||||
}
|
||||
|
||||
protected override void OnPause()
|
||||
{
|
||||
base.OnPause();
|
||||
|
||||
if (View != null)
|
||||
{
|
||||
View.Pause();
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnResume()
|
||||
{
|
||||
base.OnResume();
|
||||
|
||||
if (View != null)
|
||||
{
|
||||
View.Resume();
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnKeyDown(Keycode keyCode, KeyEvent e)
|
||||
{
|
||||
if (keyCode == Keycode.Back && WaveServices.Platform != null)
|
||||
{
|
||||
WaveServices.Platform.Exit();
|
||||
return true;
|
||||
}
|
||||
|
||||
if (View != null)
|
||||
{
|
||||
return View.OnKeyDown(keyCode, e);
|
||||
}
|
||||
|
||||
return base.OnKeyDown(keyCode, e);
|
||||
}
|
||||
|
||||
public override bool OnKeyUp(Keycode keyCode, KeyEvent e)
|
||||
{
|
||||
bool handled = false;
|
||||
|
||||
if (View != null)
|
||||
{
|
||||
handled = View.OnKeyUp(keyCode, e);
|
||||
}
|
||||
|
||||
return handled;
|
||||
}
|
||||
|
||||
public override void OnWindowFocusChanged(bool hasFocus)
|
||||
{
|
||||
base.OnWindowFocusChanged(hasFocus);
|
||||
|
||||
if(hasFocus)
|
||||
{
|
||||
HideSystemUI();
|
||||
}
|
||||
}
|
||||
|
||||
private void HideSystemUI()
|
||||
{
|
||||
int uiOptions = (int)Window.DecorView.SystemUiVisibility;
|
||||
uiOptions |= (int)SystemUiFlags.Immersive;
|
||||
uiOptions |= (int)SystemUiFlags.Fullscreen;
|
||||
uiOptions |= (int)SystemUiFlags.HideNavigation;
|
||||
Window.DecorView.SystemUiVisibility = (StatusBarVisibility)uiOptions;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto">
|
||||
<uses-sdk android:minSdkVersion="24" android:targetSdkVersion="28" />
|
||||
<uses-feature android:name="android.hardware.camera.ar" android:required="true" />
|
||||
<application android:label="XamarinForms3DCarSample.Droid">
|
||||
<meta-data android:name="com.google.ar.core" android:value="required" />
|
||||
</application>
|
||||
<uses-permission android:name="android.permission.CAMERA" />
|
||||
</manifest>
|
|
@ -0,0 +1,37 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Android.App;
|
||||
using WaveEngine.Common.Attributes;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("XamarinForms3DCarSample.Droid")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("XamarinForms3DCarSample.Droid")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2017")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
[assembly: WaveEngineAssembly]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
|
||||
// Add some common permissions, these can be removed if not needed
|
||||
[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
|
||||
[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
|
|
@ -0,0 +1,51 @@
|
|||
using Android.App;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using WaveEngine.Adapter;
|
||||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Platform.Android;
|
||||
using XamarinForms3DCarSample.Droid;
|
||||
using XamarinForms3DCarSample.Droid.Renderers;
|
||||
using XamarinForms3DCarSample.Controls;
|
||||
|
||||
[assembly: ExportRendererAttribute(typeof(WaveEngineSurface), typeof(WaveEngineSurfaceRenderer))]
|
||||
namespace XamarinForms3DCarSample.Droid.Renderers
|
||||
{
|
||||
public class WaveEngineSurfaceRenderer : ViewRenderer<WaveEngineSurface, GLView>
|
||||
{
|
||||
private GLView _gameView;
|
||||
|
||||
protected override void OnElementChanged(ElementChangedEventArgs<WaveEngineSurface> e)
|
||||
{
|
||||
base.OnElementChanged(e);
|
||||
|
||||
if (e.OldElement != null)
|
||||
{
|
||||
_gameView = null;
|
||||
}
|
||||
|
||||
if (e.NewElement != null)
|
||||
{
|
||||
_gameView = new GLView(Context, null);
|
||||
Activity activity = Context as Activity;
|
||||
SetNativeControl(_gameView);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
|
||||
{
|
||||
base.OnElementPropertyChanged(sender, e);
|
||||
|
||||
if (e.PropertyName.Equals("Game", StringComparison.CurrentCultureIgnoreCase))
|
||||
{
|
||||
InitGame();
|
||||
}
|
||||
}
|
||||
|
||||
private void InitGame()
|
||||
{
|
||||
MainActivity activity = Context as MainActivity;
|
||||
activity.Initialize(Element.Game);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,50 @@
|
|||
Images, layout descriptions, binary blobs and string dictionaries can be included
|
||||
in your application as resource files. Various Android APIs are designed to
|
||||
operate on the resource IDs instead of dealing with images, strings or binary blobs
|
||||
directly.
|
||||
|
||||
For example, a sample Android app that contains a user interface layout (main.xml),
|
||||
an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
|
||||
would keep its resources in the "Resources" directory of the application:
|
||||
|
||||
Resources/
|
||||
drawable-hdpi/
|
||||
icon.png
|
||||
|
||||
drawable-ldpi/
|
||||
icon.png
|
||||
|
||||
drawable-mdpi/
|
||||
icon.png
|
||||
|
||||
layout/
|
||||
main.xml
|
||||
|
||||
values/
|
||||
strings.xml
|
||||
|
||||
In order to get the build system to recognize Android resources, set the build action to
|
||||
"AndroidResource". The native Android APIs do not operate directly with filenames, but
|
||||
instead operate on resource IDs. When you compile an Android application that uses resources,
|
||||
the build system will package the resources for distribution and generate a class called
|
||||
"Resource" that contains the tokens for each one of the resources included. For example,
|
||||
for the above Resources layout, this is what the Resource class would expose:
|
||||
|
||||
public class Resource {
|
||||
public class drawable {
|
||||
public const int icon = 0x123;
|
||||
}
|
||||
|
||||
public class layout {
|
||||
public const int main = 0x456;
|
||||
}
|
||||
|
||||
public class strings {
|
||||
public const int first_string = 0xabc;
|
||||
public const int second_string = 0xbcd;
|
||||
}
|
||||
}
|
||||
|
||||
You would then use R.drawable.icon to reference the drawable/icon.png file, or Resource.layout.main
|
||||
to reference the layout/main.xml file, or Resource.strings.first_string to reference the first
|
||||
string in the dictionary file values/strings.xml.
|
После Ширина: | Высота: | Размер: 19 KiB |
После Ширина: | Высота: | Размер: 21 KiB |
После Ширина: | Высота: | Размер: 26 KiB |
После Ширина: | Высота: | Размер: 9.0 KiB |
После Ширина: | Высота: | Размер: 10 KiB |
После Ширина: | Высота: | Размер: 11 KiB |
После Ширина: | Высота: | Размер: 8.7 KiB |
После Ширина: | Высота: | Размер: 550 B |
После Ширина: | Высота: | Размер: 19 KiB |
После Ширина: | Высота: | Размер: 8.8 KiB |
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
</LinearLayout>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="Hello">Hello World, Click Me!</string>
|
||||
<string name="ApplicationName">XamarinForms3DCarSample</string>
|
||||
</resources>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<resources>
|
||||
<style name="AppTheme" parent="@android:style/Theme.NoTitleBar.Fullscreen">
|
||||
</style>
|
||||
</resources>
|
|
@ -0,0 +1,257 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{0A7838B8-16A9-44E4-91A1-22BC0A141C21}</ProjectGuid>
|
||||
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>XamarinForms3DCarSample.Droid</RootNamespace>
|
||||
<AssemblyName>XamarinForms3DCarSample.Droid</AssemblyName>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AndroidApplication>true</AndroidApplication>
|
||||
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
|
||||
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
|
||||
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
|
||||
<TargetFrameworkVersion>v9.0</TargetFrameworkVersion>
|
||||
<AndroidSupportedAbis>armeabi,armeabi-v7a,x86</AndroidSupportedAbis>
|
||||
<AndroidStoreUncompressedFileExtensions>.wpk</AndroidStoreUncompressedFileExtensions>
|
||||
<MandroidI18n />
|
||||
<JavaMaximumHeapSize />
|
||||
<JavaOptions />
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>TRACE;DEBUG;ANDROID</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AndroidUseSharedRuntime>True</AndroidUseSharedRuntime>
|
||||
<AndroidLinkMode>None</AndroidLinkMode>
|
||||
<AndroidLinkSkip>System.Runtime.Serialization</AndroidLinkSkip>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE;ANDROID</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AndroidUseSharedRuntime>False</AndroidUseSharedRuntime>
|
||||
<AndroidLinkMode>SdkOnly</AndroidLinkMode>
|
||||
<AndroidLinkSkip>System.Runtime.Serialization</AndroidLinkSkip>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Autofac, Version=4.8.1.0, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Autofac.4.8.1\lib\netstandard1.1\Autofac.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="DLToolkit.Forms.Controls.FlowListView, Version=1.0.6234.35546, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\DLToolkit.Forms.Controls.FlowListView.2.0.3\lib\portable-net45+wp8+wpa81+win8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\DLToolkit.Forms.Controls.FlowListView.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="FormsViewGroup, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.193\lib\MonoAndroid10\FormsViewGroup.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Android" />
|
||||
<Reference Include="mscorlib" />
|
||||
<Reference Include="OpenTK-1.0" />
|
||||
<Reference Include="SlideOverKit, Version=1.0.5974.31059, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\SlideOverKit.2.0.0\lib\MonoAndroid10\SlideOverKit.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SlideOverKit.Droid, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\SlideOverKit.2.0.0\lib\MonoAndroid10\SlideOverKit.Droid.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.IO.Compression" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.ObjectModel" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="WaveEngine.Adapter">
|
||||
<HintPath>..\..\packages\WaveEngine.Adapter.2.5.0.39\lib\MonoAndroid\WaveEngine.Adapter.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WaveEngine.ARMobile, Version=2.5.0.39, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\WaveEngine.ARMobile.2.5.0.39\lib\MonoAndroid\WaveEngine.ARMobile.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WaveEngine.Common">
|
||||
<HintPath>..\..\packages\WaveEngine.Common.2.5.0.39\lib\MonoAndroid\WaveEngine.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WaveEngine.Box2D">
|
||||
<HintPath>..\..\packages\WaveEngine.Box2D.2.5.0.39\lib\MonoAndroid\WaveEngine.Box2D.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WaveEngine.Bullet">
|
||||
<HintPath>..\..\packages\WaveEngine.Bullet.2.5.0.39\lib\MonoAndroid\WaveEngine.Bullet.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WaveEngine.Framework">
|
||||
<HintPath>..\..\packages\WaveEngine.Framework.2.5.0.39\lib\MonoAndroid\WaveEngine.Framework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WaveEngine.Components">
|
||||
<HintPath>..\..\packages\WaveEngine.Components.2.5.0.39\lib\MonoAndroid\WaveEngine.Components.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WaveEngine.Materials">
|
||||
<HintPath>..\..\packages\WaveEngine.Materials.2.5.0.39\lib\MonoAndroid\WaveEngine.Materials.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="WaveEngine.ImageEffects">
|
||||
<HintPath>..\..\packages\WaveEngine.ImageEffects.2.5.0.39\lib\MonoAndroid\WaveEngine.ImageEffects.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Animated.Vector.Drawable, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.Animated.Vector.Drawable.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Annotations, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Annotations.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.Annotations.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Compat, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Compat.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.Compat.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Core.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Core.UI.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.Core.UI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Core.Utils, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Core.Utils.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.Core.Utils.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Design, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Design.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.Design.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Fragment, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Fragment.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.Fragment.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Media.Compat, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Media.Compat.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.Media.Compat.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Transition, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Transition.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.Transition.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v4, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.v4.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.v4.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v7.AppCompat, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.v7.AppCompat.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.v7.AppCompat.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v7.CardView, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.v7.CardView.23.3.0\lib\MonoAndroid403\Xamarin.Android.Support.v7.CardView.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v7.MediaRouter, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.v7.MediaRouter.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.v7.MediaRouter.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v7.Palette, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.v7.Palette.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.v7.Palette.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.v7.RecyclerView, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.v7.RecyclerView.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.v7.RecyclerView.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Android.Support.Vector.Drawable, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Android.Support.Vector.Drawable.25.4.0.2\lib\MonoAndroid70\Xamarin.Android.Support.Vector.Drawable.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.193\lib\MonoAndroid10\Xamarin.Forms.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Platform, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.193\lib\MonoAndroid10\Xamarin.Forms.Platform.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Platform.Android, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.193\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.193\lib\MonoAndroid10\Xamarin.Forms.Xaml.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Xamarin.Google.ARCore, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\Xamarin.Google.ARCore.1.0.0\lib\MonoAndroid70\Xamarin.Google.ARCore.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="MainActivity.cs" />
|
||||
<Compile Include="Renderers\WaveEngineSurfaceRenderer.cs" />
|
||||
<Compile Include="Resources\Resource.Designer.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Assets\Content\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Resources\AboutResources.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\Drawable\Icon.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Properties\AndroidManifest.xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\Drawable\camera_selected.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\Drawable\camera1.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\Drawable\camera2.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\Drawable\camera3.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\Drawable\menu.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\Drawable\ico_close_white.png" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\XamarinForms3DCarSampleXamarinForms\XamarinForms3DCarSampleXamarinForms.projitems" Label="Shared" Condition="Exists('..\XamarinForms3DCarSampleXamarinForms\XamarinForms3DCarSampleXamarinForms.projitems')" />
|
||||
<Import Project="..\..\SharedSource\Main\XamarinForms3DCarSampleSource.projitems" Label="Shared" />
|
||||
<Import Project="..\AndroidProfileXamarinForms\XamarinForms3DCarSampleXamarinForms.projitems" Label="Shared" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
|
||||
<Import Project="..\..\packages\WaveEngine.Box2D.2.5.0.39\build\MonoAndroid\WaveEngine.Box2D.targets" Condition="Exists('..\..\packages\WaveEngine.Box2D.2.5.0.39\build\MonoAndroid\WaveEngine.Box2D.targets')" />
|
||||
<Import Project="..\..\packages\WaveEngine.Bullet.2.5.0.39\build\MonoAndroid\WaveEngine.Bullet.targets" Condition="Exists('..\..\packages\WaveEngine.Bullet.2.5.0.39\build\MonoAndroid\WaveEngine.Bullet.targets')" />
|
||||
<Import Project="..\..\packages\WaveEngine.2.5.0.39\build\MonoAndroid\WaveEngine.targets" Condition="Exists('..\..\packages\WaveEngine.2.5.0.39\build\MonoAndroid\WaveEngine.targets')" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Compat.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Compat.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Compat.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Compat.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Compat.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Compat.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Compat.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Compat.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Core.UI.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Core.UI.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Core.UI.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Core.UI.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Core.Utils.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Core.Utils.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Core.Utils.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Core.Utils.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Media.Compat.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Media.Compat.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Media.Compat.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Media.Compat.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Fragment.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Fragment.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Fragment.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Fragment.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Transition.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Transition.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Transition.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Transition.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.v7.Palette.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.Palette.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.v7.Palette.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.Palette.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.v7.RecyclerView.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.RecyclerView.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.v7.RecyclerView.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.RecyclerView.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Vector.Drawable.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Vector.Drawable.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Vector.Drawable.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Vector.Drawable.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Animated.Vector.Drawable.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Animated.Vector.Drawable.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.v7.AppCompat.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.AppCompat.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.v7.AppCompat.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.AppCompat.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.Design.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Design.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.Design.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Design.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.v7.MediaRouter.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.MediaRouter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.v7.MediaRouter.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.MediaRouter.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Forms.2.3.3.193\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Forms.2.3.3.193\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets'))" />
|
||||
<Error Condition="!Exists('..\..\packages\Xamarin.Android.Support.v4.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v4.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Xamarin.Android.Support.v4.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v4.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Core.UI.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Core.UI.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Core.UI.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Core.UI.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Core.Utils.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Core.Utils.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Core.Utils.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Core.Utils.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Media.Compat.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Media.Compat.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Media.Compat.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Media.Compat.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Fragment.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Fragment.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Fragment.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Fragment.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Transition.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Transition.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Transition.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Transition.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.v7.Palette.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.Palette.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.v7.Palette.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.Palette.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.v7.RecyclerView.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.RecyclerView.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.v7.RecyclerView.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.RecyclerView.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Vector.Drawable.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Vector.Drawable.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Vector.Drawable.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Vector.Drawable.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Animated.Vector.Drawable.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Animated.Vector.Drawable.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Animated.Vector.Drawable.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.v7.AppCompat.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.AppCompat.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.v7.AppCompat.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.AppCompat.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.Design.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Design.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.Design.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Design.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.v7.MediaRouter.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.MediaRouter.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.v7.MediaRouter.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v7.MediaRouter.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Forms.2.3.3.193\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets" Condition="Exists('..\..\packages\Xamarin.Forms.2.3.3.193\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" />
|
||||
<Import Project="..\..\packages\Xamarin.Android.Support.v4.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v4.targets" Condition="Exists('..\..\packages\Xamarin.Android.Support.v4.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.v4.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
|
@ -0,0 +1,80 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Autofac" version="4.8.1" targetFramework="monoandroid70" />
|
||||
<package id="DLToolkit.Forms.Controls.FlowListView" version="2.0.3" targetFramework="monoandroid70" />
|
||||
<package id="Microsoft.NETCore.Platforms" version="1.0.1" targetFramework="monoandroid70" />
|
||||
<package id="Microsoft.Win32.Primitives" version="4.0.1" targetFramework="monoandroid70" />
|
||||
<package id="NETStandard.Library" version="1.6.0" targetFramework="monoandroid70" />
|
||||
<package id="SlideOverKit" version="2.0.0" targetFramework="monoandroid70" />
|
||||
<package id="System.AppContext" version="4.1.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Collections" version="4.0.11" targetFramework="monoandroid70" />
|
||||
<package id="System.Collections.Concurrent" version="4.0.12" targetFramework="monoandroid70" />
|
||||
<package id="System.ComponentModel" version="4.0.1" targetFramework="monoandroid70" />
|
||||
<package id="System.Console" version="4.0.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Diagnostics.Debug" version="4.0.11" targetFramework="monoandroid70" />
|
||||
<package id="System.Diagnostics.Tools" version="4.0.1" targetFramework="monoandroid70" />
|
||||
<package id="System.Diagnostics.Tracing" version="4.1.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Globalization" version="4.0.11" targetFramework="monoandroid70" />
|
||||
<package id="System.Globalization.Calendars" version="4.0.1" targetFramework="monoandroid70" />
|
||||
<package id="System.IO" version="4.1.0" targetFramework="monoandroid70" />
|
||||
<package id="System.IO.Compression" version="4.1.0" targetFramework="monoandroid70" />
|
||||
<package id="System.IO.Compression.ZipFile" version="4.0.1" targetFramework="monoandroid70" />
|
||||
<package id="System.IO.FileSystem" version="4.0.1" targetFramework="monoandroid70" />
|
||||
<package id="System.IO.FileSystem.Primitives" version="4.0.1" targetFramework="monoandroid70" />
|
||||
<package id="System.Linq" version="4.1.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Linq.Expressions" version="4.1.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Net.Http" version="4.1.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Net.Primitives" version="4.0.11" targetFramework="monoandroid70" />
|
||||
<package id="System.Net.Sockets" version="4.1.0" targetFramework="monoandroid70" />
|
||||
<package id="System.ObjectModel" version="4.0.12" targetFramework="monoandroid70" />
|
||||
<package id="System.Reflection" version="4.1.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Reflection.Extensions" version="4.0.1" targetFramework="monoandroid70" />
|
||||
<package id="System.Reflection.Primitives" version="4.0.1" targetFramework="monoandroid70" />
|
||||
<package id="System.Resources.ResourceManager" version="4.0.1" targetFramework="monoandroid70" />
|
||||
<package id="System.Runtime" version="4.1.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Runtime.Extensions" version="4.1.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Runtime.Handles" version="4.0.1" targetFramework="monoandroid70" />
|
||||
<package id="System.Runtime.InteropServices" version="4.1.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.0.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Runtime.Numerics" version="4.0.1" targetFramework="monoandroid70" />
|
||||
<package id="System.Security.Cryptography.Algorithms" version="4.2.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Security.Cryptography.Encoding" version="4.0.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Security.Cryptography.Primitives" version="4.0.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Security.Cryptography.X509Certificates" version="4.1.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Text.Encoding" version="4.0.11" targetFramework="monoandroid70" />
|
||||
<package id="System.Text.Encoding.Extensions" version="4.0.11" targetFramework="monoandroid70" />
|
||||
<package id="System.Text.RegularExpressions" version="4.1.0" targetFramework="monoandroid70" />
|
||||
<package id="System.Threading" version="4.0.11" targetFramework="monoandroid70" />
|
||||
<package id="System.Threading.Tasks" version="4.0.11" targetFramework="monoandroid70" />
|
||||
<package id="System.Threading.Timer" version="4.0.1" targetFramework="monoandroid70" />
|
||||
<package id="System.Xml.ReaderWriter" version="4.0.11" targetFramework="monoandroid70" />
|
||||
<package id="System.Xml.XDocument" version="4.0.11" targetFramework="monoandroid70" />
|
||||
<package id="WaveEngine" version="2.5.0.39" targetFramework="monoandroid70" />
|
||||
<package id="WaveEngine.Adapter" version="2.5.0.39" targetFramework="monoandroid70" />
|
||||
<package id="WaveEngine.ARMobile" version="2.5.0.39" targetFramework="monoandroid90" />
|
||||
<package id="WaveEngine.Box2D" version="2.5.0.39" targetFramework="monoandroid70" />
|
||||
<package id="WaveEngine.Bullet" version="2.5.0.39" targetFramework="monoandroid70" />
|
||||
<package id="WaveEngine.Common" version="2.5.0.39" targetFramework="monoandroid70" />
|
||||
<package id="WaveEngine.Components" version="2.5.0.39" targetFramework="monoandroid70" />
|
||||
<package id="WaveEngine.Framework" version="2.5.0.39" targetFramework="monoandroid70" />
|
||||
<package id="WaveEngine.ImageEffects" version="2.5.0.39" targetFramework="monoandroid70" />
|
||||
<package id="WaveEngine.Materials" version="2.5.0.39" targetFramework="monoandroid70" />
|
||||
<package id="Xamarin.Android.Support.Animated.Vector.Drawable" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Annotations" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Compat" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Core.UI" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Core.Utils" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Design" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Fragment" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Media.Compat" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Transition" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.v4" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.v7.AppCompat" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.v7.CardView" version="23.3.0" targetFramework="monoandroid60" />
|
||||
<package id="Xamarin.Android.Support.v7.MediaRouter" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.v7.Palette" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.v7.RecyclerView" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Android.Support.Vector.Drawable" version="25.4.0.2" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Forms" version="2.3.3.193" targetFramework="monoandroid90" />
|
||||
<package id="Xamarin.Google.ARCore" version="1.0.0" targetFramework="monoandroid90" />
|
||||
</packages>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Application xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="XamarinForms3DCarSample.App" />
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
using System.Threading.Tasks;
|
||||
using Xamarin.Forms;
|
||||
using XamarinForms3DCarSample.Services.Navigation;
|
||||
using XamarinForms3DCarSample.ViewModels.Base;
|
||||
|
||||
namespace XamarinForms3DCarSample
|
||||
{
|
||||
public partial class App : Application
|
||||
{
|
||||
public App()
|
||||
{
|
||||
InitNavigation();
|
||||
}
|
||||
|
||||
public static Game Game { get; set; }
|
||||
|
||||
private void InitGame()
|
||||
{
|
||||
Game = new Game();
|
||||
}
|
||||
|
||||
private Task InitNavigation()
|
||||
{
|
||||
var navigationService = ViewModelLocator.Instance.Resolve<INavigationService>();
|
||||
return navigationService.InitializeAsync();
|
||||
}
|
||||
|
||||
protected override void OnStart()
|
||||
{
|
||||
InitGame();
|
||||
}
|
||||
|
||||
protected override void OnSleep()
|
||||
{
|
||||
// Handle when your app sleeps
|
||||
}
|
||||
|
||||
protected override void OnResume()
|
||||
{
|
||||
// Handle when your app resumes
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
using WaveEngine.Common;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace XamarinForms3DCarSample.Controls
|
||||
{
|
||||
public class WaveEngineSurface : View, IViewController
|
||||
{
|
||||
public static readonly BindableProperty GameProperty = BindableProperty.Create(
|
||||
propertyName: "Game",
|
||||
returnType: typeof(IGame),
|
||||
declaringType: typeof(WaveEngineSurface),
|
||||
defaultValue: null);
|
||||
|
||||
public IGame Game
|
||||
{
|
||||
get { return (IGame)GetValue(GameProperty); }
|
||||
set { SetValue(GameProperty, value); }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
using System;
|
||||
using System.Globalization;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace XamarinForms3DCarSample.Converters
|
||||
{
|
||||
public class InverseBoolConverter : IValueConverter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
if (!(value is bool))
|
||||
{
|
||||
throw new InvalidOperationException("The target must be a boolean");
|
||||
}
|
||||
|
||||
return !(bool)value;
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
if (!(value is bool))
|
||||
{
|
||||
throw new InvalidOperationException("The target must be a boolean");
|
||||
}
|
||||
|
||||
return !(bool)value;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
using System;
|
||||
using WaveEngine.Framework;
|
||||
using WaveEngine.Framework.Services;
|
||||
|
||||
namespace XamarinForms3DCarSample.Helpers
|
||||
{
|
||||
public static class WaveEngineFacade
|
||||
{
|
||||
private static MyScene _scene;
|
||||
|
||||
public static event EventHandler<EventArgs> Initialized;
|
||||
|
||||
|
||||
public static void Initialize(MyScene scene)
|
||||
{
|
||||
_scene = scene;
|
||||
|
||||
Initialized?.Invoke(null, EventArgs.Empty);
|
||||
}
|
||||
|
||||
public static ScreenContextManager GetScreenContextManager()
|
||||
{
|
||||
return WaveServices.ScreenContextManager;
|
||||
}
|
||||
|
||||
public static Scene GetCurrentScene()
|
||||
{
|
||||
if (WaveServices.ScreenContextManager.CurrentContext.Count == 0)
|
||||
return null;
|
||||
|
||||
return WaveServices.ScreenContextManager.CurrentContext[0];
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
namespace XamarinForms3DCarSample
|
||||
{
|
||||
public static class MessengerKeys
|
||||
{
|
||||
// Scene initialized
|
||||
public const string SceneInitialized = "SceneInitialized";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using XamarinForms3DCarSample.ViewModels.Base;
|
||||
|
||||
namespace XamarinForms3DCarSample.Services.Navigation
|
||||
{
|
||||
public interface INavigationService
|
||||
{
|
||||
Task InitializeAsync();
|
||||
|
||||
Task NavigateToAsync<TViewModel>() where TViewModel : ViewModelBase;
|
||||
|
||||
Task NavigateToAsync<TViewModel>(object parameter) where TViewModel : ViewModelBase;
|
||||
|
||||
Task NavigateToAsync(Type viewModelType);
|
||||
|
||||
Task NavigateToAsync(Type viewModelType, object parameter);
|
||||
|
||||
Task NavigateBackAsync();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,124 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Xamarin.Forms;
|
||||
using XamarinForms3DCarSample.ViewModels;
|
||||
using XamarinForms3DCarSample.ViewModels.Base;
|
||||
using XamarinForms3DCarSample.Views;
|
||||
|
||||
namespace XamarinForms3DCarSample.Services.Navigation
|
||||
{
|
||||
public partial class NavigationService : INavigationService
|
||||
{
|
||||
protected readonly Dictionary<Type, Type> _mappings;
|
||||
|
||||
protected Application CurrentApplication
|
||||
{
|
||||
get
|
||||
{
|
||||
return Application.Current;
|
||||
}
|
||||
}
|
||||
|
||||
public NavigationService()
|
||||
{
|
||||
_mappings = new Dictionary<Type, Type>();
|
||||
|
||||
CreatePageViewModelMappings();
|
||||
}
|
||||
|
||||
public Task InitializeAsync()
|
||||
{
|
||||
return NavigateToAsync<MainViewModel>();
|
||||
}
|
||||
|
||||
public Task NavigateToAsync<TViewModel>() where TViewModel : ViewModelBase
|
||||
{
|
||||
return InternalNavigateToAsync(typeof(TViewModel), null);
|
||||
}
|
||||
|
||||
public Task NavigateToAsync<TViewModel>(object parameter) where TViewModel : ViewModelBase
|
||||
{
|
||||
return InternalNavigateToAsync(typeof(TViewModel), parameter);
|
||||
}
|
||||
|
||||
public Task NavigateToAsync(Type viewModelType)
|
||||
{
|
||||
return InternalNavigateToAsync(viewModelType, null);
|
||||
}
|
||||
|
||||
public Task NavigateToAsync(Type viewModelType, object parameter)
|
||||
{
|
||||
return InternalNavigateToAsync(viewModelType, parameter);
|
||||
}
|
||||
|
||||
public async Task NavigateBackAsync()
|
||||
{
|
||||
if (CurrentApplication.MainPage is MainView)
|
||||
{
|
||||
var mainPage = CurrentApplication.MainPage as MainView;
|
||||
await mainPage.Navigation.PopAsync();
|
||||
}
|
||||
else if (CurrentApplication.MainPage != null)
|
||||
{
|
||||
await CurrentApplication.MainPage.Navigation.PopAsync();
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual async Task InternalNavigateToAsync(Type viewModelType, object parameter)
|
||||
{
|
||||
Page page = CreateAndBindPage(viewModelType, parameter);
|
||||
|
||||
if (page is MainView)
|
||||
{
|
||||
CurrentApplication.MainPage = new NavigationPage(page);
|
||||
}
|
||||
else
|
||||
{
|
||||
var navigationPage = CurrentApplication.MainPage as NavigationPage;
|
||||
|
||||
if (navigationPage != null)
|
||||
{
|
||||
await navigationPage.PushAsync(page);
|
||||
}
|
||||
else
|
||||
{
|
||||
CurrentApplication.MainPage = new NavigationPage(page);
|
||||
}
|
||||
}
|
||||
|
||||
await (page.BindingContext as ViewModelBase).InitializeAsync(parameter);
|
||||
}
|
||||
|
||||
protected Type GetPageTypeForViewModel(Type viewModelType)
|
||||
{
|
||||
if (!_mappings.ContainsKey(viewModelType))
|
||||
{
|
||||
throw new KeyNotFoundException($"No map for ${viewModelType} was found on navigation mappings");
|
||||
}
|
||||
|
||||
return _mappings[viewModelType];
|
||||
}
|
||||
|
||||
protected Page CreateAndBindPage(Type viewModelType, object parameter)
|
||||
{
|
||||
Type pageType = GetPageTypeForViewModel(viewModelType);
|
||||
|
||||
if (pageType == null)
|
||||
{
|
||||
throw new Exception($"Mapping type for {viewModelType} is not a page");
|
||||
}
|
||||
|
||||
Page page = Activator.CreateInstance(pageType) as Page;
|
||||
ViewModelBase viewModel = ViewModelLocator.Instance.Resolve(viewModelType) as ViewModelBase;
|
||||
page.BindingContext = viewModel;
|
||||
|
||||
return page;
|
||||
}
|
||||
|
||||
private void CreatePageViewModelMappings()
|
||||
{
|
||||
_mappings.Add(typeof(MainViewModel), typeof(MainView));
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
using System;
|
||||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace XamarinForms3DCarSample.ViewModels.Base
|
||||
{
|
||||
public class ExtendedBindableObject : BindableObject
|
||||
{
|
||||
public void RaisePropertyChanged<T>(Expression<Func<T>> property)
|
||||
{
|
||||
var name = GetMemberInfo(property).Name;
|
||||
OnPropertyChanged(name);
|
||||
}
|
||||
|
||||
private MemberInfo GetMemberInfo(Expression expression)
|
||||
{
|
||||
MemberExpression operand;
|
||||
LambdaExpression lambdaExpression = (LambdaExpression)expression;
|
||||
if (lambdaExpression.Body as UnaryExpression != null)
|
||||
{
|
||||
UnaryExpression body = (UnaryExpression)lambdaExpression.Body;
|
||||
operand = (MemberExpression)body.Operand;
|
||||
}
|
||||
else
|
||||
{
|
||||
operand = (MemberExpression)lambdaExpression.Body;
|
||||
}
|
||||
return operand.Member;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
using System.Threading.Tasks;
|
||||
using XamarinForms3DCarSample.Services.Navigation;
|
||||
|
||||
namespace XamarinForms3DCarSample.ViewModels.Base
|
||||
{
|
||||
public abstract class ViewModelBase : ExtendedBindableObject
|
||||
{
|
||||
protected readonly INavigationService NavigationService;
|
||||
|
||||
private bool _isBusy;
|
||||
|
||||
public bool IsBusy
|
||||
{
|
||||
get
|
||||
{
|
||||
return _isBusy;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_isBusy = value;
|
||||
RaisePropertyChanged(() => IsBusy);
|
||||
}
|
||||
}
|
||||
|
||||
public ViewModelBase()
|
||||
{
|
||||
NavigationService = ViewModelLocator.Instance.Resolve<INavigationService>();
|
||||
}
|
||||
|
||||
public virtual Task InitializeAsync(object navigationData)
|
||||
{
|
||||
return Task.FromResult(false);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
using Autofac;
|
||||
using XamarinForms3DCarSample.Services.Navigation;
|
||||
|
||||
namespace XamarinForms3DCarSample.ViewModels.Base
|
||||
{
|
||||
public class ViewModelLocator
|
||||
{
|
||||
private static IContainer _container;
|
||||
|
||||
private static readonly ViewModelLocator _instance = new ViewModelLocator();
|
||||
|
||||
public static ViewModelLocator Instance
|
||||
{
|
||||
get { return _instance; }
|
||||
}
|
||||
|
||||
protected ViewModelLocator()
|
||||
{
|
||||
var builder = new ContainerBuilder();
|
||||
|
||||
// Services
|
||||
builder.RegisterType<NavigationService>().As<INavigationService>();
|
||||
|
||||
// View models
|
||||
builder.RegisterType<MainViewModel>();
|
||||
|
||||
if (_container != null)
|
||||
{
|
||||
_container.Dispose();
|
||||
}
|
||||
|
||||
_container = builder.Build();
|
||||
}
|
||||
|
||||
public T Resolve<T>()
|
||||
{
|
||||
return _container.Resolve<T>();
|
||||
}
|
||||
|
||||
public object Resolve(System.Type type)
|
||||
{
|
||||
return _container.Resolve(type);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using XamarinForms3DCarSample.Helpers;
|
||||
using XamarinForms3DCarSample.ViewModels.Base;
|
||||
|
||||
namespace XamarinForms3DCarSample.ViewModels
|
||||
{
|
||||
public class MainViewModel : ViewModelBase
|
||||
{
|
||||
private bool _isInit;
|
||||
|
||||
public MainViewModel()
|
||||
{
|
||||
_isInit = false;
|
||||
}
|
||||
|
||||
public bool IsInit
|
||||
{
|
||||
get { return _isInit; }
|
||||
set
|
||||
{
|
||||
_isInit = value;
|
||||
RaisePropertyChanged(() => IsInit);
|
||||
}
|
||||
}
|
||||
|
||||
public override Task InitializeAsync(object navigationData)
|
||||
{
|
||||
WaveEngineFacade.Initialized += OnInitialized;
|
||||
|
||||
return Task.FromResult(true);
|
||||
}
|
||||
|
||||
private void OnInitialized(object sender, EventArgs e)
|
||||
{
|
||||
IsInit = true;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage
|
||||
xmlns:controls="clr-namespace:XamarinForms3DCarSample.Controls"
|
||||
xmlns:converters="clr-namespace:XamarinForms3DCarSample.Converters;assembly=XamarinForms3DCarSample.Droid"
|
||||
xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="XamarinForms3DCarSample.Views.MainView">
|
||||
|
||||
<ContentPage.Resources>
|
||||
<ResourceDictionary>
|
||||
|
||||
<!-- COLORS -->
|
||||
<Color x:Key="WhiteColor">#ffffff</Color>
|
||||
<Color x:Key="BlackColor">#000000</Color>
|
||||
|
||||
<!-- CONVERTERS -->
|
||||
<converters:InverseBoolConverter x:Key="InverseBoolConverter" />
|
||||
|
||||
</ResourceDictionary>
|
||||
</ContentPage.Resources>
|
||||
|
||||
<Grid>
|
||||
<AbsoluteLayout>
|
||||
<!-- WAVE ENGINE SURFACE -->
|
||||
<controls:WaveEngineSurface
|
||||
x:Name="WaveEngineSurface"
|
||||
AbsoluteLayout.LayoutFlags="All"
|
||||
AbsoluteLayout.LayoutBounds="0, 0, 1, 1" />
|
||||
</AbsoluteLayout>
|
||||
|
||||
<!-- LOADING -->
|
||||
<Grid BackgroundColor="{StaticResource WhiteColor}"
|
||||
IsVisible="{Binding IsInit, Converter={StaticResource InverseBoolConverter}}">
|
||||
<ActivityIndicator Color="{StaticResource BlackColor}"
|
||||
IsRunning="True"
|
||||
IsVisible="{Binding IsInit, Converter={StaticResource InverseBoolConverter}}"
|
||||
HeightRequest="100"
|
||||
WidthRequest="100"
|
||||
VerticalOptions="Center"
|
||||
HorizontalOptions="Center" />
|
||||
</Grid>
|
||||
|
||||
</Grid>
|
||||
</ContentPage>
|
|
@ -0,0 +1,23 @@
|
|||
using Xamarin.Forms;
|
||||
|
||||
namespace XamarinForms3DCarSample.Views
|
||||
{
|
||||
public partial class MainView : ContentPage
|
||||
{
|
||||
public MainView()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
NavigationPage.SetHasNavigationBar(this, false);
|
||||
}
|
||||
|
||||
protected override void OnAppearing()
|
||||
{
|
||||
base.OnAppearing();
|
||||
|
||||
WaveEngineSurface.Game = App.Game;
|
||||
|
||||
ForceLayout();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
<HasSharedItems>true</HasSharedItems>
|
||||
<SharedGUID>f6366c44-5666-48a5-b467-e518fb1c4104</SharedGUID>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration">
|
||||
<Import_RootNamespace>XamarinForms3DCarSampleXamarinForms</Import_RootNamespace>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="$(MSBuildThisFileDirectory)App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Controls\WaveEngineSurface.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Converters\InverseBoolConverter.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Helpers\WaveEngineFacade.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)MessengerKeys.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Services\Navigation\INavigationService.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Services\Navigation\NavigationService.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)ViewModels\Base\ExtendedBindableObject.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)ViewModels\Base\ViewModelBase.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)ViewModels\Base\ViewModelLocator.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)ViewModels\MainViewModel.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Views\MainView.xaml.cs">
|
||||
<DependentUpon>MainView.xaml</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="$(MSBuildThisFileDirectory)Views\MainView.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="$(MSBuildThisFileDirectory)App.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>f6366c44-5666-48a5-b467-e518fb1c4104</ProjectGuid>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
|
||||
<PropertyGroup />
|
||||
<Import Project="XamarinForms3DCarSampleXamarinForms.projitems" Label="Shared" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
|
||||
</Project>
|
|
@ -0,0 +1,146 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using WaveEngine.Common.Graphics;
|
||||
using WaveEngine.Common.Input;
|
||||
using WaveEngine.Common.Math;
|
||||
using WaveEngine.Framework.Graphics;
|
||||
using WaveEngine.Framework.Services;
|
||||
|
||||
namespace XamarinForms3DCarSample
|
||||
{
|
||||
public class App : WaveEngine.Adapter.Application
|
||||
{
|
||||
XamarinForms3DCarSample.Game game;
|
||||
SpriteBatch spriteBatch;
|
||||
Texture2D splashScreen;
|
||||
bool splashState = true;
|
||||
TimeSpan time;
|
||||
Vector2 position;
|
||||
Color backgroundSplashColor;
|
||||
|
||||
public App()
|
||||
{
|
||||
this.Width = 1280;
|
||||
this.Height = 720;
|
||||
this.FullScreen = false;
|
||||
this.WindowTitle = "XamarinForms3DCarSample";
|
||||
this.HasVideoSupport = true;
|
||||
}
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
this.game = new XamarinForms3DCarSample.Game();
|
||||
this.game.Initialize(this);
|
||||
|
||||
#region DEFAULT SPLASHSCREEN
|
||||
this.backgroundSplashColor = new Color("#ebebeb");
|
||||
this.spriteBatch = new SpriteBatch(WaveServices.GraphicsDevice);
|
||||
|
||||
var resourceNames = Assembly.GetExecutingAssembly().GetManifestResourceNames();
|
||||
string name = string.Empty;
|
||||
|
||||
foreach (string item in resourceNames)
|
||||
{
|
||||
if (item.Contains("SplashScreen.png"))
|
||||
{
|
||||
name = item;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(name))
|
||||
{
|
||||
throw new InvalidProgramException("License terms not agreed.");
|
||||
}
|
||||
|
||||
using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(name))
|
||||
{
|
||||
this.splashScreen = Texture2D.FromFile(WaveServices.GraphicsDevice, stream);
|
||||
}
|
||||
|
||||
position = new Vector2();
|
||||
position.X = (this.Width / 2.0f) - (this.splashScreen.Width / 2.0f);
|
||||
position.Y = (this.Height / 2.0f) - (this.splashScreen.Height / 2.0f);
|
||||
#endregion
|
||||
}
|
||||
|
||||
public override void Update(TimeSpan elapsedTime)
|
||||
{
|
||||
if (this.game != null && !this.game.HasExited)
|
||||
{
|
||||
if (WaveServices.Input.KeyboardState.F10 == ButtonState.Pressed)
|
||||
{
|
||||
this.FullScreen = !this.FullScreen;
|
||||
}
|
||||
|
||||
if (this.splashState)
|
||||
{
|
||||
#region DEFAULT SPLASHSCREEN
|
||||
this.time += elapsedTime;
|
||||
if (time > TimeSpan.FromSeconds(2))
|
||||
{
|
||||
this.splashState = false;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
else
|
||||
{
|
||||
if (WaveServices.Input.KeyboardState.Escape == ButtonState.Pressed)
|
||||
{
|
||||
WaveServices.Platform.Exit();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.game.UpdateFrame(elapsedTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void Draw(TimeSpan elapsedTime)
|
||||
{
|
||||
if (this.game != null && !this.game.HasExited)
|
||||
{
|
||||
if (this.splashState)
|
||||
{
|
||||
#region DEFAULT SPLASHSCREEN
|
||||
WaveServices.GraphicsDevice.RenderTargets.SetRenderTarget(null);
|
||||
WaveServices.GraphicsDevice.Clear(ref this.backgroundSplashColor, ClearFlags.Target, 1);
|
||||
this.spriteBatch.Draw(this.splashScreen, this.position, Color.White);
|
||||
this.spriteBatch.Render();
|
||||
#endregion
|
||||
}
|
||||
else
|
||||
{
|
||||
this.game.DrawFrame(elapsedTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when [activated].
|
||||
/// </summary>
|
||||
public override void OnActivated()
|
||||
{
|
||||
base.OnActivated();
|
||||
if (this.game != null)
|
||||
{
|
||||
game.OnActivated();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when [deactivate].
|
||||
/// </summary>
|
||||
public override void OnDeactivate()
|
||||
{
|
||||
base.OnDeactivate();
|
||||
if (this.game != null)
|
||||
{
|
||||
game.OnDeactivated();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
После Ширина: | Высота: | Размер: 298 KiB |
|
@ -0,0 +1,20 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
using WaveEngine.Adapter;
|
||||
|
||||
namespace XamarinForms3DCarSample
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
using (App game = new App())
|
||||
{
|
||||
game.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|