Demo02-WebcamCapture.unity 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. %YAML 1.1
  2. %TAG !u! tag:unity3d.com,2011:
  3. --- !u!29 &1
  4. OcclusionCullingSettings:
  5. m_ObjectHideFlags: 0
  6. serializedVersion: 2
  7. m_OcclusionBakeSettings:
  8. smallestOccluder: 5
  9. smallestHole: 0.25
  10. backfaceThreshold: 100
  11. m_SceneGUID: 00000000000000000000000000000000
  12. m_OcclusionCullingData: {fileID: 0}
  13. --- !u!104 &2
  14. RenderSettings:
  15. m_ObjectHideFlags: 0
  16. serializedVersion: 8
  17. m_Fog: 1
  18. m_FogColor: {r: 0, g: 0, b: 0, a: 1}
  19. m_FogMode: 1
  20. m_FogDensity: 0.01
  21. m_LinearFogStart: 0
  22. m_LinearFogEnd: 30
  23. m_AmbientSkyColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
  24. m_AmbientEquatorColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
  25. m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
  26. m_AmbientIntensity: 1
  27. m_AmbientMode: 3
  28. m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
  29. m_SkyboxMaterial: {fileID: 0}
  30. m_HaloStrength: 0.5
  31. m_FlareStrength: 1
  32. m_FlareFadeSpeed: 3
  33. m_HaloTexture: {fileID: 0}
  34. m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
  35. m_DefaultReflectionMode: 0
  36. m_DefaultReflectionResolution: 128
  37. m_ReflectionBounces: 1
  38. m_ReflectionIntensity: 1
  39. m_CustomReflection: {fileID: 0}
  40. m_Sun: {fileID: 0}
  41. m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
  42. --- !u!157 &4
  43. LightmapSettings:
  44. m_ObjectHideFlags: 0
  45. serializedVersion: 9
  46. m_GIWorkflowMode: 1
  47. m_GISettings:
  48. serializedVersion: 2
  49. m_BounceScale: 1
  50. m_IndirectOutputScale: 1
  51. m_AlbedoBoost: 1
  52. m_TemporalCoherenceThreshold: 1
  53. m_EnvironmentLightingMode: 0
  54. m_EnableBakedLightmaps: 1
  55. m_EnableRealtimeLightmaps: 0
  56. m_LightmapEditorSettings:
  57. serializedVersion: 8
  58. m_Resolution: 1
  59. m_BakeResolution: 50
  60. m_TextureWidth: 1024
  61. m_TextureHeight: 1024
  62. m_AO: 1
  63. m_AOMaxDistance: 1
  64. m_CompAOExponent: 1
  65. m_CompAOExponentDirect: 0
  66. m_Padding: 2
  67. m_LightmapParameters: {fileID: 0}
  68. m_LightmapsBakeMode: 1
  69. m_TextureCompression: 0
  70. m_FinalGather: 0
  71. m_FinalGatherFiltering: 1
  72. m_FinalGatherRayCount: 256
  73. m_ReflectionCompression: 2
  74. m_MixedBakeMode: 1
  75. m_BakeBackend: 0
  76. m_PVRSampling: 1
  77. m_PVRDirectSampleCount: 32
  78. m_PVRSampleCount: 500
  79. m_PVRBounces: 2
  80. m_PVRFilterTypeDirect: 0
  81. m_PVRFilterTypeIndirect: 0
  82. m_PVRFilterTypeAO: 0
  83. m_PVRFilteringMode: 0
  84. m_PVRCulling: 1
  85. m_PVRFilteringGaussRadiusDirect: 1
  86. m_PVRFilteringGaussRadiusIndirect: 5
  87. m_PVRFilteringGaussRadiusAO: 2
  88. m_PVRFilteringAtrousPositionSigmaDirect: 0.5
  89. m_PVRFilteringAtrousPositionSigmaIndirect: 2
  90. m_PVRFilteringAtrousPositionSigmaAO: 1
  91. m_LightingDataAsset: {fileID: 0}
  92. m_ShadowMaskMode: 2
  93. --- !u!1 &11
  94. GameObject:
  95. m_ObjectHideFlags: 0
  96. m_PrefabParentObject: {fileID: 0}
  97. m_PrefabInternal: {fileID: 0}
  98. serializedVersion: 5
  99. m_Component:
  100. - component: {fileID: 18}
  101. - component: {fileID: 20}
  102. - component: {fileID: 37}
  103. - component: {fileID: 12}
  104. m_Layer: 0
  105. m_Name: Main Camera
  106. m_TagString: MainCamera
  107. m_Icon: {fileID: 0}
  108. m_NavMeshLayer: 0
  109. m_StaticEditorFlags: 0
  110. m_IsActive: 1
  111. --- !u!114 &12
  112. MonoBehaviour:
  113. m_ObjectHideFlags: 0
  114. m_PrefabParentObject: {fileID: 0}
  115. m_PrefabInternal: {fileID: 0}
  116. m_GameObject: {fileID: 11}
  117. m_Enabled: 1
  118. m_EditorHideFlags: 0
  119. m_Script: {fileID: 11500000, guid: 98a052fe19e52c048865e758e854f078, type: 3}
  120. m_Name:
  121. m_EditorClassIdentifier:
  122. _skin: {fileID: 11400000, guid: eb821627fb1a0c044a6fd7a6dabe3147, type: 2}
  123. _prefab: {fileID: 1774798094}
  124. _webcamResolutionWidth: 640
  125. _webcamResolutionHeight: 480
  126. _webcamFrameRate: 30
  127. --- !u!4 &18
  128. Transform:
  129. m_ObjectHideFlags: 0
  130. m_PrefabParentObject: {fileID: 0}
  131. m_PrefabInternal: {fileID: 0}
  132. m_GameObject: {fileID: 11}
  133. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  134. m_LocalPosition: {x: 0, y: 0, z: -10}
  135. m_LocalScale: {x: 1, y: 1, z: 1}
  136. m_Children: []
  137. m_Father: {fileID: 0}
  138. m_RootOrder: 0
  139. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  140. --- !u!20 &20
  141. Camera:
  142. m_ObjectHideFlags: 0
  143. m_PrefabParentObject: {fileID: 0}
  144. m_PrefabInternal: {fileID: 0}
  145. m_GameObject: {fileID: 11}
  146. m_Enabled: 1
  147. serializedVersion: 2
  148. m_ClearFlags: 2
  149. m_BackGroundColor: {r: 0.08088237, g: 0.08088237, b: 0.08088237, a: 0}
  150. m_NormalizedViewPortRect:
  151. serializedVersion: 2
  152. x: 0
  153. y: 0
  154. width: 1
  155. height: 1
  156. near clip plane: 0.01
  157. far clip plane: 300
  158. field of view: 60
  159. orthographic: 0
  160. orthographic size: 100
  161. m_Depth: -1
  162. m_CullingMask:
  163. serializedVersion: 2
  164. m_Bits: 4294967295
  165. m_RenderingPath: -1
  166. m_TargetTexture: {fileID: 0}
  167. m_TargetDisplay: 0
  168. m_TargetEye: 3
  169. m_HDR: 0
  170. m_AllowMSAA: 1
  171. m_ForceIntoRT: 0
  172. m_OcclusionCulling: 0
  173. m_StereoConvergence: 10
  174. m_StereoSeparation: 0.022
  175. m_StereoMirrorMode: 0
  176. --- !u!81 &37
  177. AudioListener:
  178. m_ObjectHideFlags: 0
  179. m_PrefabParentObject: {fileID: 0}
  180. m_PrefabInternal: {fileID: 0}
  181. m_GameObject: {fileID: 11}
  182. m_Enabled: 1
  183. --- !u!196 &44
  184. NavMeshSettings:
  185. serializedVersion: 2
  186. m_ObjectHideFlags: 0
  187. m_BuildSettings:
  188. serializedVersion: 2
  189. agentTypeID: 0
  190. agentRadius: 0.5
  191. agentHeight: 2
  192. agentSlope: 45
  193. agentClimb: 0.4
  194. ledgeDropHeight: 0
  195. maxJumpAcrossDistance: 0
  196. minRegionArea: 2
  197. manualCellSize: 0
  198. cellSize: 0.16666666
  199. manualTileSize: 0
  200. tileSize: 256
  201. accuratePlacement: 0
  202. m_NavMeshData: {fileID: 0}
  203. --- !u!1 &1774798094
  204. GameObject:
  205. m_ObjectHideFlags: 0
  206. m_PrefabParentObject: {fileID: 0}
  207. m_PrefabInternal: {fileID: 0}
  208. serializedVersion: 5
  209. m_Component:
  210. - component: {fileID: 1774798102}
  211. - component: {fileID: 1774798097}
  212. - component: {fileID: 1774798095}
  213. m_Layer: 0
  214. m_Name: WebcamCapturePrefab
  215. m_TagString: Untagged
  216. m_Icon: {fileID: 0}
  217. m_NavMeshLayer: 0
  218. m_StaticEditorFlags: 0
  219. m_IsActive: 1
  220. --- !u!114 &1774798095
  221. MonoBehaviour:
  222. m_ObjectHideFlags: 0
  223. m_PrefabParentObject: {fileID: 0}
  224. m_PrefabInternal: {fileID: 0}
  225. m_GameObject: {fileID: 1774798094}
  226. m_Enabled: 1
  227. m_EditorHideFlags: 0
  228. m_Script: {fileID: 11500000, guid: ea41b0330d3eea243b45fd4355c3080c, type: 3}
  229. m_Name:
  230. m_EditorClassIdentifier:
  231. _encoderHintsWindows:
  232. videoHints:
  233. averageBitrate: 0
  234. maximumBitrate: 0
  235. quality: 1
  236. keyframeInterval: 0
  237. allowFastStartStreamingPostProcess: 1
  238. supportTransparency: 0
  239. useHardwareEncoding: 1
  240. imageHints:
  241. quality: 0.85
  242. supportTransparency: 0
  243. _encoderHintsMacOS:
  244. videoHints:
  245. averageBitrate: 0
  246. maximumBitrate: 0
  247. quality: 1
  248. keyframeInterval: 0
  249. allowFastStartStreamingPostProcess: 1
  250. supportTransparency: 0
  251. useHardwareEncoding: 1
  252. imageHints:
  253. quality: 0.85
  254. supportTransparency: 0
  255. _encoderHintsIOS:
  256. videoHints:
  257. averageBitrate: 0
  258. maximumBitrate: 0
  259. quality: 1
  260. keyframeInterval: 0
  261. allowFastStartStreamingPostProcess: 1
  262. supportTransparency: 0
  263. useHardwareEncoding: 1
  264. imageHints:
  265. quality: 0.85
  266. supportTransparency: 0
  267. _captureKey: 0
  268. _isRealTime: 1
  269. _persistAcrossSceneLoads: 0
  270. _startTrigger: 0
  271. _startDelay: 0
  272. _startDelaySeconds: 0
  273. _stopMode: 0
  274. _stopFrames: 0
  275. _stopSeconds: 0
  276. _videoCodecPriorityWindows:
  277. - H264
  278. - HEVC
  279. - Lagarith Lossless Codec
  280. - Uncompressed
  281. - x264vfw - H.264/MPEG-4 AVC codec
  282. - Xvid MPEG-4 Codec
  283. _videoCodecPriorityMacOS:
  284. - H264
  285. - HEVC
  286. - Apple ProRes 422
  287. - Apple ProRes 4444
  288. _audioCodecPriorityWindows:
  289. - AAC
  290. - Uncompressed
  291. _audioCodecPriorityMacOS:
  292. - AAC
  293. - FLAC
  294. - Apple Lossless
  295. - Linear PCM
  296. - Uncompresssed
  297. _frameRate: 30
  298. _timelapseScale: 1
  299. _frameUpdateMode: 0
  300. _downScale: 1
  301. _maxVideoSize: {x: 0, y: 0}
  302. _forceVideoCodecIndexWindows: -1
  303. _forceVideoCodecIndexMacOS: 0
  304. _forceVideoCodecIndexIOS: 0
  305. _forceAudioCodecIndexWindows: -1
  306. _forceAudioCodecIndexMacOS: 0
  307. _forceAudioCodecIndexIOS: 0
  308. _flipVertically: 0
  309. _forceGpuFlush: 0
  310. _useWaitForEndOfFrame: 1
  311. _logCaptureStartStop: 1
  312. _audioCaptureSource: 0
  313. _unityAudioCapture: {fileID: 0}
  314. _forceAudioInputDeviceIndex: 0
  315. _manualAudioSampleRate: 48000
  316. _manualAudioChannelCount: 2
  317. _outputTarget: 0
  318. _outputFolderType: 0
  319. _outputFolderPath: Captures
  320. _filenamePrefix: Webcam
  321. _appendFilenameTimestamp: 1
  322. _allowManualFileExtension: 0
  323. _filenameExtension: mp4
  324. _namedPipePath: \\.\pipe\test_pipe
  325. _imageSequenceStartFrame: 0
  326. _imageSequenceZeroDigits: 6
  327. _imageSequenceFormatWindows: 0
  328. _imageSequenceFormatMacOS: 0
  329. _imageSequenceFormatIOS: 0
  330. _renderResolution: 18
  331. _renderSize: {x: 1, y: 1}
  332. _renderAntiAliasing: -1
  333. _useMotionBlur: 0
  334. _motionBlurSamples: 16
  335. _motionBlurCameras: []
  336. _motionBlur: {fileID: 0}
  337. _allowVSyncDisable: 1
  338. _supportTextureRecreate: 0
  339. _minimumDiskSpaceMB: -1
  340. _manualUpdate: 0
  341. --- !u!114 &1774798097
  342. MonoBehaviour:
  343. m_ObjectHideFlags: 0
  344. m_PrefabParentObject: {fileID: 0}
  345. m_PrefabInternal: {fileID: 0}
  346. m_GameObject: {fileID: 1774798094}
  347. m_Enabled: 1
  348. m_EditorHideFlags: 0
  349. m_Script: {fileID: 11500000, guid: 7ca3e27221be35d41a4ff608f4ef327e, type: 3}
  350. m_Name:
  351. m_EditorClassIdentifier:
  352. _movieCapture: {fileID: 1774798095}
  353. _showUI: 0
  354. _whenRecordingAutoHideUI: 0
  355. _guiSkin: {fileID: 11400000, guid: eb821627fb1a0c044a6fd7a6dabe3147, type: 2}
  356. --- !u!4 &1774798102
  357. Transform:
  358. m_ObjectHideFlags: 0
  359. m_PrefabParentObject: {fileID: 0}
  360. m_PrefabInternal: {fileID: 0}
  361. m_GameObject: {fileID: 1774798094}
  362. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  363. m_LocalPosition: {x: 0, y: 0, z: 0}
  364. m_LocalScale: {x: 1, y: 1, z: 1}
  365. m_Children: []
  366. m_Father: {fileID: 0}
  367. m_RootOrder: 1
  368. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}