├── .gitignore ├── Assets ├── AzureKinectExamples.meta └── AzureKinectExamples │ ├── KinectDemos.meta │ ├── KinectDemos │ ├── ColorDepthDemo.meta │ ├── ColorDepthDemo │ │ ├── BasicColorDepthDemo.unity │ │ └── BasicColorDepthDemo.unity.meta │ ├── PointCloudDemo.meta │ └── PointCloudDemo │ │ ├── Attribution.txt │ │ ├── Attribution.txt.meta │ │ ├── HDRP.meta │ │ ├── HDRP │ │ ├── HDRP.asset │ │ ├── HDRP.asset.meta │ │ ├── VFXDefaultResources.asset │ │ └── VFXDefaultResources.asset.meta │ │ ├── MeshTex.meta │ │ ├── MeshTex │ │ ├── Disk.png │ │ ├── Disk.png.meta │ │ ├── Dot.png │ │ └── Dot.png.meta │ │ ├── Textures.meta │ │ ├── Textures │ │ ├── PointCloudColorMapK4A.renderTexture │ │ ├── PointCloudColorMapK4A.renderTexture.meta │ │ ├── PointCloudVertexMapK4A.renderTexture │ │ └── PointCloudVertexMapK4A.renderTexture.meta │ │ ├── VFX.meta │ │ ├── VFX │ │ ├── ColorPointCloud.vfx │ │ ├── ColorPointCloud.vfx.meta │ │ ├── Cords.vfx │ │ ├── Cords.vfx.meta │ │ ├── Lines.vfx │ │ ├── Lines.vfx.meta │ │ ├── Particles.vfx │ │ ├── Particles.vfx.meta │ │ ├── Point.vfx │ │ ├── Point.vfx.meta │ │ ├── Voxel.vfx │ │ ├── Voxel.vfx.meta │ │ ├── WhitePointCloud.vfx │ │ └── WhitePointCloud.vfx.meta │ │ ├── VfxPointCloudDemo.unity │ │ └── VfxPointCloudDemo.unity.meta │ ├── KinectScripts.meta │ ├── KinectScripts │ ├── BackgroundColorImage.cs │ ├── BackgroundColorImage.cs.meta │ ├── BackgroundDepthImage.cs │ ├── BackgroundDepthImage.cs.meta │ ├── FollowSensorTransform.cs │ ├── FollowSensorTransform.cs.meta │ ├── Interfaces.meta │ ├── Interfaces │ │ ├── DepthSensorBase.cs │ │ ├── DepthSensorBase.cs.meta │ │ ├── DepthSensorInterface.cs │ │ ├── DepthSensorInterface.cs.meta │ │ ├── Kinect4AzureInterface.cs │ │ └── Kinect4AzureInterface.cs.meta │ ├── KinectInterop.cs │ ├── KinectInterop.cs.meta │ ├── KinectManager.cs │ └── KinectManager.cs.meta │ ├── Resources.meta │ ├── Resources │ ├── DepthHistImageShader.shader │ ├── DepthHistImageShader.shader.meta │ ├── PointCloudVertexShaderAll.compute │ └── PointCloudVertexShaderAll.compute.meta │ ├── SDK.meta │ └── SDK │ ├── Kinect4AzureSDK.meta │ ├── Kinect4AzureSDK │ ├── Plugins.meta │ └── Plugins │ │ ├── Microsoft.Azure.Kinect.Sensor.dll │ │ ├── Microsoft.Azure.Kinect.Sensor.dll.meta │ │ ├── System.Buffers.dll │ │ ├── System.Buffers.dll.meta │ │ ├── System.Memory.dll │ │ ├── System.Memory.dll.meta │ │ ├── System.Runtime.CompilerServices.Unsafe.dll │ │ ├── System.Runtime.CompilerServices.Unsafe.dll.meta │ │ ├── depthengine_2_0.dll │ │ ├── depthengine_2_0.dll.meta │ │ ├── k4a.dll │ │ ├── k4a.dll.meta │ │ ├── k4arecord.dll │ │ └── k4arecord.dll.meta │ ├── Third-Party-Notices.txt │ └── Third-Party-Notices.txt.meta ├── LICENSE ├── Packages └── manifest.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset └── XRSettings.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | /.vs/ 2 | /Library/ 3 | /Logs/ 4 | /obj/ 5 | /Assembly-CSharp.csproj 6 | /AzureKinectUnityFree.sln 7 | /k4a.log 8 | /Temp/ 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e41940127110d0147ae02474cfa63fe9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 30bac56cf92b37845ac4c33adc085dff 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/ColorDepthDemo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 491df97342c02ec4996256526a939c89 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/ColorDepthDemo/BasicColorDepthDemo.unity: -------------------------------------------------------------------------------- 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: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 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 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 1 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 1 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 512 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 256 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 1 83 | m_PVRDenoiserTypeDirect: 1 84 | m_PVRDenoiserTypeIndirect: 1 85 | m_PVRDenoiserTypeAO: 1 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 1 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ShowResolutionOverlay: 1 98 | m_ExportTrainingData: 0 99 | m_LightingDataAsset: {fileID: 0} 100 | m_UseShadowmask: 1 101 | --- !u!196 &4 102 | NavMeshSettings: 103 | serializedVersion: 2 104 | m_ObjectHideFlags: 0 105 | m_BuildSettings: 106 | serializedVersion: 2 107 | agentTypeID: 0 108 | agentRadius: 0.5 109 | agentHeight: 2 110 | agentSlope: 45 111 | agentClimb: 0.4 112 | ledgeDropHeight: 0 113 | maxJumpAcrossDistance: 0 114 | minRegionArea: 2 115 | manualCellSize: 0 116 | cellSize: 0.16666667 117 | manualTileSize: 0 118 | tileSize: 256 119 | accuratePlacement: 0 120 | debug: 121 | m_Flags: 0 122 | m_NavMeshData: {fileID: 0} 123 | --- !u!1 &1247506901 124 | GameObject: 125 | m_ObjectHideFlags: 0 126 | m_CorrespondingSourceObject: {fileID: 0} 127 | m_PrefabInstance: {fileID: 0} 128 | m_PrefabAsset: {fileID: 0} 129 | serializedVersion: 6 130 | m_Component: 131 | - component: {fileID: 1247506905} 132 | - component: {fileID: 1247506904} 133 | - component: {fileID: 1247506903} 134 | - component: {fileID: 1247506902} 135 | m_Layer: 5 136 | m_Name: Canvas 137 | m_TagString: Untagged 138 | m_Icon: {fileID: 0} 139 | m_NavMeshLayer: 0 140 | m_StaticEditorFlags: 0 141 | m_IsActive: 1 142 | --- !u!114 &1247506902 143 | MonoBehaviour: 144 | m_ObjectHideFlags: 0 145 | m_CorrespondingSourceObject: {fileID: 0} 146 | m_PrefabInstance: {fileID: 0} 147 | m_PrefabAsset: {fileID: 0} 148 | m_GameObject: {fileID: 1247506901} 149 | m_Enabled: 1 150 | m_EditorHideFlags: 0 151 | m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} 152 | m_Name: 153 | m_EditorClassIdentifier: 154 | m_IgnoreReversedGraphics: 1 155 | m_BlockingObjects: 0 156 | m_BlockingMask: 157 | serializedVersion: 2 158 | m_Bits: 4294967295 159 | --- !u!114 &1247506903 160 | MonoBehaviour: 161 | m_ObjectHideFlags: 0 162 | m_CorrespondingSourceObject: {fileID: 0} 163 | m_PrefabInstance: {fileID: 0} 164 | m_PrefabAsset: {fileID: 0} 165 | m_GameObject: {fileID: 1247506901} 166 | m_Enabled: 1 167 | m_EditorHideFlags: 0 168 | m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} 169 | m_Name: 170 | m_EditorClassIdentifier: 171 | m_UiScaleMode: 0 172 | m_ReferencePixelsPerUnit: 100 173 | m_ScaleFactor: 1 174 | m_ReferenceResolution: {x: 800, y: 600} 175 | m_ScreenMatchMode: 0 176 | m_MatchWidthOrHeight: 0 177 | m_PhysicalUnit: 3 178 | m_FallbackScreenDPI: 96 179 | m_DefaultSpriteDPI: 96 180 | m_DynamicPixelsPerUnit: 1 181 | --- !u!223 &1247506904 182 | Canvas: 183 | m_ObjectHideFlags: 0 184 | m_CorrespondingSourceObject: {fileID: 0} 185 | m_PrefabInstance: {fileID: 0} 186 | m_PrefabAsset: {fileID: 0} 187 | m_GameObject: {fileID: 1247506901} 188 | m_Enabled: 1 189 | serializedVersion: 3 190 | m_RenderMode: 1 191 | m_Camera: {fileID: 1354010816} 192 | m_PlaneDistance: 100 193 | m_PixelPerfect: 0 194 | m_ReceivesEvents: 1 195 | m_OverrideSorting: 0 196 | m_OverridePixelPerfect: 0 197 | m_SortingBucketNormalizedSize: 0 198 | m_AdditionalShaderChannelsFlag: 0 199 | m_SortingLayerID: 0 200 | m_SortingOrder: 0 201 | m_TargetDisplay: 0 202 | --- !u!224 &1247506905 203 | RectTransform: 204 | m_ObjectHideFlags: 0 205 | m_CorrespondingSourceObject: {fileID: 0} 206 | m_PrefabInstance: {fileID: 0} 207 | m_PrefabAsset: {fileID: 0} 208 | m_GameObject: {fileID: 1247506901} 209 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 210 | m_LocalPosition: {x: 0, y: 0, z: 0} 211 | m_LocalScale: {x: 0, y: 0, z: 0} 212 | m_Children: 213 | - {fileID: 1518857212} 214 | - {fileID: 1350403421} 215 | - {fileID: 1736114087} 216 | m_Father: {fileID: 0} 217 | m_RootOrder: 2 218 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 219 | m_AnchorMin: {x: 0, y: 0} 220 | m_AnchorMax: {x: 0, y: 0} 221 | m_AnchoredPosition: {x: 0, y: 0} 222 | m_SizeDelta: {x: 0, y: 0} 223 | m_Pivot: {x: 0, y: 0} 224 | --- !u!1 &1350403420 225 | GameObject: 226 | m_ObjectHideFlags: 0 227 | m_CorrespondingSourceObject: {fileID: 0} 228 | m_PrefabInstance: {fileID: 0} 229 | m_PrefabAsset: {fileID: 0} 230 | serializedVersion: 6 231 | m_Component: 232 | - component: {fileID: 1350403421} 233 | - component: {fileID: 1350403423} 234 | - component: {fileID: 1350403422} 235 | - component: {fileID: 1350403424} 236 | m_Layer: 5 237 | m_Name: ColorImage 238 | m_TagString: Untagged 239 | m_Icon: {fileID: 0} 240 | m_NavMeshLayer: 0 241 | m_StaticEditorFlags: 0 242 | m_IsActive: 1 243 | --- !u!224 &1350403421 244 | RectTransform: 245 | m_ObjectHideFlags: 0 246 | m_CorrespondingSourceObject: {fileID: 0} 247 | m_PrefabInstance: {fileID: 0} 248 | m_PrefabAsset: {fileID: 0} 249 | m_GameObject: {fileID: 1350403420} 250 | m_LocalRotation: {x: 0, y: -0.17364825, z: 0, w: 0.9848078} 251 | m_LocalPosition: {x: 0, y: 0, z: 100} 252 | m_LocalScale: {x: 1, y: 1, z: 1} 253 | m_Children: [] 254 | m_Father: {fileID: 1247506905} 255 | m_RootOrder: 1 256 | m_LocalEulerAnglesHint: {x: 0, y: -20, z: 0} 257 | m_AnchorMin: {x: 0.5, y: 0.5} 258 | m_AnchorMax: {x: 0.5, y: 0.5} 259 | m_AnchoredPosition: {x: -20, y: 0} 260 | m_SizeDelta: {x: 400, y: 300} 261 | m_Pivot: {x: 1, y: 0.5} 262 | --- !u!114 &1350403422 263 | MonoBehaviour: 264 | m_ObjectHideFlags: 0 265 | m_CorrespondingSourceObject: {fileID: 0} 266 | m_PrefabInstance: {fileID: 0} 267 | m_PrefabAsset: {fileID: 0} 268 | m_GameObject: {fileID: 1350403420} 269 | m_Enabled: 1 270 | m_EditorHideFlags: 0 271 | m_Script: {fileID: -98529514, guid: f70555f144d8491a825f0804e09c671c, type: 3} 272 | m_Name: 273 | m_EditorClassIdentifier: 274 | m_Material: {fileID: 0} 275 | m_Color: {r: 1, g: 1, b: 1, a: 1} 276 | m_RaycastTarget: 1 277 | m_OnCullStateChanged: 278 | m_PersistentCalls: 279 | m_Calls: [] 280 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 281 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 282 | m_Texture: {fileID: 0} 283 | m_UVRect: 284 | serializedVersion: 2 285 | x: 0 286 | y: 0 287 | width: 1 288 | height: 1 289 | --- !u!222 &1350403423 290 | CanvasRenderer: 291 | m_ObjectHideFlags: 0 292 | m_CorrespondingSourceObject: {fileID: 0} 293 | m_PrefabInstance: {fileID: 0} 294 | m_PrefabAsset: {fileID: 0} 295 | m_GameObject: {fileID: 1350403420} 296 | m_CullTransparentMesh: 0 297 | --- !u!114 &1350403424 298 | MonoBehaviour: 299 | m_ObjectHideFlags: 0 300 | m_CorrespondingSourceObject: {fileID: 0} 301 | m_PrefabInstance: {fileID: 0} 302 | m_PrefabAsset: {fileID: 0} 303 | m_GameObject: {fileID: 1350403420} 304 | m_Enabled: 1 305 | m_EditorHideFlags: 0 306 | m_Script: {fileID: 11500000, guid: 4c68913127bedcd4bbd001b610521305, type: 3} 307 | m_Name: 308 | m_EditorClassIdentifier: 309 | sensorIndex: 0 310 | backgroundImage: {fileID: 0} 311 | backgroundCamera: {fileID: 1354010816} 312 | --- !u!1 &1354010814 313 | GameObject: 314 | m_ObjectHideFlags: 0 315 | m_CorrespondingSourceObject: {fileID: 0} 316 | m_PrefabInstance: {fileID: 0} 317 | m_PrefabAsset: {fileID: 0} 318 | serializedVersion: 6 319 | m_Component: 320 | - component: {fileID: 1354010817} 321 | - component: {fileID: 1354010816} 322 | - component: {fileID: 1354010815} 323 | m_Layer: 0 324 | m_Name: Main Camera 325 | m_TagString: MainCamera 326 | m_Icon: {fileID: 0} 327 | m_NavMeshLayer: 0 328 | m_StaticEditorFlags: 0 329 | m_IsActive: 1 330 | --- !u!81 &1354010815 331 | AudioListener: 332 | m_ObjectHideFlags: 0 333 | m_CorrespondingSourceObject: {fileID: 0} 334 | m_PrefabInstance: {fileID: 0} 335 | m_PrefabAsset: {fileID: 0} 336 | m_GameObject: {fileID: 1354010814} 337 | m_Enabled: 1 338 | --- !u!20 &1354010816 339 | Camera: 340 | m_ObjectHideFlags: 0 341 | m_CorrespondingSourceObject: {fileID: 0} 342 | m_PrefabInstance: {fileID: 0} 343 | m_PrefabAsset: {fileID: 0} 344 | m_GameObject: {fileID: 1354010814} 345 | m_Enabled: 1 346 | serializedVersion: 2 347 | m_ClearFlags: 1 348 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 349 | m_projectionMatrixMode: 1 350 | m_GateFitMode: 2 351 | m_FOVAxisMode: 0 352 | m_SensorSize: {x: 36, y: 24} 353 | m_LensShift: {x: 0, y: 0} 354 | m_FocalLength: 50 355 | m_NormalizedViewPortRect: 356 | serializedVersion: 2 357 | x: 0 358 | y: 0 359 | width: 1 360 | height: 1 361 | near clip plane: 0.3 362 | far clip plane: 1000 363 | field of view: 60 364 | orthographic: 0 365 | orthographic size: 5 366 | m_Depth: -1 367 | m_CullingMask: 368 | serializedVersion: 2 369 | m_Bits: 4294967295 370 | m_RenderingPath: -1 371 | m_TargetTexture: {fileID: 0} 372 | m_TargetDisplay: 0 373 | m_TargetEye: 3 374 | m_HDR: 1 375 | m_AllowMSAA: 1 376 | m_AllowDynamicResolution: 0 377 | m_ForceIntoRT: 0 378 | m_OcclusionCulling: 1 379 | m_StereoConvergence: 10 380 | m_StereoSeparation: 0.022 381 | --- !u!4 &1354010817 382 | Transform: 383 | m_ObjectHideFlags: 0 384 | m_CorrespondingSourceObject: {fileID: 0} 385 | m_PrefabInstance: {fileID: 0} 386 | m_PrefabAsset: {fileID: 0} 387 | m_GameObject: {fileID: 1354010814} 388 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 389 | m_LocalPosition: {x: 0, y: 1, z: -10} 390 | m_LocalScale: {x: 1, y: 1, z: 1} 391 | m_Children: [] 392 | m_Father: {fileID: 0} 393 | m_RootOrder: 0 394 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 395 | --- !u!1 &1518857208 396 | GameObject: 397 | m_ObjectHideFlags: 0 398 | m_CorrespondingSourceObject: {fileID: 0} 399 | m_PrefabInstance: {fileID: 0} 400 | m_PrefabAsset: {fileID: 0} 401 | serializedVersion: 6 402 | m_Component: 403 | - component: {fileID: 1518857212} 404 | - component: {fileID: 1518857211} 405 | - component: {fileID: 1518857209} 406 | - component: {fileID: 1518857210} 407 | m_Layer: 5 408 | m_Name: StatusText 409 | m_TagString: Untagged 410 | m_Icon: {fileID: 0} 411 | m_NavMeshLayer: 0 412 | m_StaticEditorFlags: 0 413 | m_IsActive: 1 414 | --- !u!114 &1518857209 415 | MonoBehaviour: 416 | m_ObjectHideFlags: 0 417 | m_CorrespondingSourceObject: {fileID: 0} 418 | m_PrefabInstance: {fileID: 0} 419 | m_PrefabAsset: {fileID: 0} 420 | m_GameObject: {fileID: 1518857208} 421 | m_Enabled: 1 422 | m_EditorHideFlags: 0 423 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 424 | m_Name: 425 | m_EditorClassIdentifier: 426 | m_Material: {fileID: 0} 427 | m_Color: {r: 1, g: 1, b: 1, a: 1} 428 | m_RaycastTarget: 1 429 | m_OnCullStateChanged: 430 | m_PersistentCalls: 431 | m_Calls: [] 432 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 433 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 434 | m_FontData: 435 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 436 | m_FontSize: 20 437 | m_FontStyle: 0 438 | m_BestFit: 0 439 | m_MinSize: 2 440 | m_MaxSize: 40 441 | m_Alignment: 0 442 | m_AlignByGeometry: 0 443 | m_RichText: 1 444 | m_HorizontalOverflow: 0 445 | m_VerticalOverflow: 0 446 | m_LineSpacing: 1 447 | m_Text: 448 | --- !u!114 &1518857210 449 | MonoBehaviour: 450 | m_ObjectHideFlags: 0 451 | m_CorrespondingSourceObject: {fileID: 0} 452 | m_PrefabInstance: {fileID: 0} 453 | m_PrefabAsset: {fileID: 0} 454 | m_GameObject: {fileID: 1518857208} 455 | m_Enabled: 1 456 | m_EditorHideFlags: 0 457 | m_Script: {fileID: 1573420865, guid: f70555f144d8491a825f0804e09c671c, type: 3} 458 | m_Name: 459 | m_EditorClassIdentifier: 460 | m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} 461 | m_EffectDistance: {x: 2, y: -2} 462 | m_UseGraphicAlpha: 1 463 | --- !u!222 &1518857211 464 | CanvasRenderer: 465 | m_ObjectHideFlags: 0 466 | m_CorrespondingSourceObject: {fileID: 0} 467 | m_PrefabInstance: {fileID: 0} 468 | m_PrefabAsset: {fileID: 0} 469 | m_GameObject: {fileID: 1518857208} 470 | m_CullTransparentMesh: 0 471 | --- !u!224 &1518857212 472 | RectTransform: 473 | m_ObjectHideFlags: 0 474 | m_CorrespondingSourceObject: {fileID: 0} 475 | m_PrefabInstance: {fileID: 0} 476 | m_PrefabAsset: {fileID: 0} 477 | m_GameObject: {fileID: 1518857208} 478 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 479 | m_LocalPosition: {x: 0, y: 0, z: 0} 480 | m_LocalScale: {x: 1, y: 1, z: 1} 481 | m_Children: [] 482 | m_Father: {fileID: 1247506905} 483 | m_RootOrder: 0 484 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 485 | m_AnchorMin: {x: 0, y: 1} 486 | m_AnchorMax: {x: 1, y: 1} 487 | m_AnchoredPosition: {x: 5, y: -10} 488 | m_SizeDelta: {x: -10, y: 50} 489 | m_Pivot: {x: 0.5, y: 1} 490 | --- !u!1 &1612886449 491 | GameObject: 492 | m_ObjectHideFlags: 0 493 | m_CorrespondingSourceObject: {fileID: 0} 494 | m_PrefabInstance: {fileID: 0} 495 | m_PrefabAsset: {fileID: 0} 496 | serializedVersion: 6 497 | m_Component: 498 | - component: {fileID: 1612886450} 499 | - component: {fileID: 1612886451} 500 | m_Layer: 0 501 | m_Name: Kinect4Azure 502 | m_TagString: Untagged 503 | m_Icon: {fileID: 0} 504 | m_NavMeshLayer: 0 505 | m_StaticEditorFlags: 0 506 | m_IsActive: 1 507 | --- !u!4 &1612886450 508 | Transform: 509 | m_ObjectHideFlags: 0 510 | m_CorrespondingSourceObject: {fileID: 0} 511 | m_PrefabInstance: {fileID: 0} 512 | m_PrefabAsset: {fileID: 0} 513 | m_GameObject: {fileID: 1612886449} 514 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 515 | m_LocalPosition: {x: 0, y: 1, z: 0} 516 | m_LocalScale: {x: 1, y: 1, z: 1} 517 | m_Children: [] 518 | m_Father: {fileID: 1663404557} 519 | m_RootOrder: 0 520 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 521 | --- !u!114 &1612886451 522 | MonoBehaviour: 523 | m_ObjectHideFlags: 0 524 | m_CorrespondingSourceObject: {fileID: 0} 525 | m_PrefabInstance: {fileID: 0} 526 | m_PrefabAsset: {fileID: 0} 527 | m_GameObject: {fileID: 1612886449} 528 | m_Enabled: 1 529 | m_EditorHideFlags: 0 530 | m_Script: {fileID: 11500000, guid: e8f864d895d4d9c4cb2a9b96bb86c08b, type: 3} 531 | m_Name: 532 | m_EditorClassIdentifier: 533 | deviceStreamingMode: 1 534 | deviceIndex: 0 535 | recordingFile: 536 | minDistance: 0.5 537 | maxDistance: 10 538 | pointCloudResolution: 0 539 | pointCloudVertexTexture: {fileID: 0} 540 | pointCloudColorTexture: {fileID: 0} 541 | colorCameraMode: 2 542 | depthCameraMode: 2 543 | deviceSyncMode: 0 544 | subDeviceDelayUsec: 0 545 | flipImuRotation: 0 546 | --- !u!1 &1663404555 547 | GameObject: 548 | m_ObjectHideFlags: 0 549 | m_CorrespondingSourceObject: {fileID: 0} 550 | m_PrefabInstance: {fileID: 0} 551 | m_PrefabAsset: {fileID: 0} 552 | serializedVersion: 6 553 | m_Component: 554 | - component: {fileID: 1663404557} 555 | - component: {fileID: 1663404556} 556 | m_Layer: 0 557 | m_Name: KinectController 558 | m_TagString: Untagged 559 | m_Icon: {fileID: 0} 560 | m_NavMeshLayer: 0 561 | m_StaticEditorFlags: 0 562 | m_IsActive: 1 563 | --- !u!114 &1663404556 564 | MonoBehaviour: 565 | m_ObjectHideFlags: 0 566 | m_CorrespondingSourceObject: {fileID: 0} 567 | m_PrefabInstance: {fileID: 0} 568 | m_PrefabAsset: {fileID: 0} 569 | m_GameObject: {fileID: 1663404555} 570 | m_Enabled: 1 571 | m_EditorHideFlags: 0 572 | m_Script: {fileID: 11500000, guid: 6b531f336dfee5f438f94ed501caefc7, type: 3} 573 | m_Name: 574 | m_EditorClassIdentifier: 575 | getDepthFrames: 2 576 | getColorFrames: 2 577 | getInfraredFrames: 0 578 | getPoseFrames: 0 579 | syncDepthAndColor: 1 580 | displayImages: 581 | displayImageWidthPercent: 0.2 582 | statusInfoText: {fileID: 1518857209} 583 | --- !u!4 &1663404557 584 | Transform: 585 | m_ObjectHideFlags: 0 586 | m_CorrespondingSourceObject: {fileID: 0} 587 | m_PrefabInstance: {fileID: 0} 588 | m_PrefabAsset: {fileID: 0} 589 | m_GameObject: {fileID: 1663404555} 590 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 591 | m_LocalPosition: {x: 0, y: 0, z: 0} 592 | m_LocalScale: {x: 1, y: 1, z: 1} 593 | m_Children: 594 | - {fileID: 1612886450} 595 | m_Father: {fileID: 0} 596 | m_RootOrder: 4 597 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 598 | --- !u!1 &1736114086 599 | GameObject: 600 | m_ObjectHideFlags: 0 601 | m_CorrespondingSourceObject: {fileID: 0} 602 | m_PrefabInstance: {fileID: 0} 603 | m_PrefabAsset: {fileID: 0} 604 | serializedVersion: 6 605 | m_Component: 606 | - component: {fileID: 1736114087} 607 | - component: {fileID: 1736114089} 608 | - component: {fileID: 1736114088} 609 | - component: {fileID: 1736114090} 610 | m_Layer: 5 611 | m_Name: DepthImage 612 | m_TagString: Untagged 613 | m_Icon: {fileID: 0} 614 | m_NavMeshLayer: 0 615 | m_StaticEditorFlags: 0 616 | m_IsActive: 1 617 | --- !u!224 &1736114087 618 | RectTransform: 619 | m_ObjectHideFlags: 0 620 | m_CorrespondingSourceObject: {fileID: 0} 621 | m_PrefabInstance: {fileID: 0} 622 | m_PrefabAsset: {fileID: 0} 623 | m_GameObject: {fileID: 1736114086} 624 | m_LocalRotation: {x: 0, y: 0.17364816, z: 0, w: 0.9848078} 625 | m_LocalPosition: {x: 0, y: 0, z: 100} 626 | m_LocalScale: {x: 1, y: 1, z: 1} 627 | m_Children: [] 628 | m_Father: {fileID: 1247506905} 629 | m_RootOrder: 2 630 | m_LocalEulerAnglesHint: {x: 0, y: 20, z: 0} 631 | m_AnchorMin: {x: 0.5, y: 0.5} 632 | m_AnchorMax: {x: 0.5, y: 0.5} 633 | m_AnchoredPosition: {x: 20, y: 0} 634 | m_SizeDelta: {x: 400, y: 300} 635 | m_Pivot: {x: 0, y: 0.5} 636 | --- !u!114 &1736114088 637 | MonoBehaviour: 638 | m_ObjectHideFlags: 0 639 | m_CorrespondingSourceObject: {fileID: 0} 640 | m_PrefabInstance: {fileID: 0} 641 | m_PrefabAsset: {fileID: 0} 642 | m_GameObject: {fileID: 1736114086} 643 | m_Enabled: 1 644 | m_EditorHideFlags: 0 645 | m_Script: {fileID: -98529514, guid: f70555f144d8491a825f0804e09c671c, type: 3} 646 | m_Name: 647 | m_EditorClassIdentifier: 648 | m_Material: {fileID: 0} 649 | m_Color: {r: 1, g: 1, b: 1, a: 1} 650 | m_RaycastTarget: 1 651 | m_OnCullStateChanged: 652 | m_PersistentCalls: 653 | m_Calls: [] 654 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 655 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 656 | m_Texture: {fileID: 0} 657 | m_UVRect: 658 | serializedVersion: 2 659 | x: 0 660 | y: 0 661 | width: 1 662 | height: 1 663 | --- !u!222 &1736114089 664 | CanvasRenderer: 665 | m_ObjectHideFlags: 0 666 | m_CorrespondingSourceObject: {fileID: 0} 667 | m_PrefabInstance: {fileID: 0} 668 | m_PrefabAsset: {fileID: 0} 669 | m_GameObject: {fileID: 1736114086} 670 | m_CullTransparentMesh: 0 671 | --- !u!114 &1736114090 672 | MonoBehaviour: 673 | m_ObjectHideFlags: 0 674 | m_CorrespondingSourceObject: {fileID: 0} 675 | m_PrefabInstance: {fileID: 0} 676 | m_PrefabAsset: {fileID: 0} 677 | m_GameObject: {fileID: 1736114086} 678 | m_Enabled: 1 679 | m_EditorHideFlags: 0 680 | m_Script: {fileID: 11500000, guid: 65268b386677b334bbfd2f6ec3e726fb, type: 3} 681 | m_Name: 682 | m_EditorClassIdentifier: 683 | sensorIndex: 0 684 | backgroundImage: {fileID: 0} 685 | backgroundCamera: {fileID: 1354010816} 686 | --- !u!1 &1896678259 687 | GameObject: 688 | m_ObjectHideFlags: 0 689 | m_CorrespondingSourceObject: {fileID: 0} 690 | m_PrefabInstance: {fileID: 0} 691 | m_PrefabAsset: {fileID: 0} 692 | serializedVersion: 6 693 | m_Component: 694 | - component: {fileID: 1896678261} 695 | - component: {fileID: 1896678260} 696 | m_Layer: 0 697 | m_Name: Directional Light 698 | m_TagString: Untagged 699 | m_Icon: {fileID: 0} 700 | m_NavMeshLayer: 0 701 | m_StaticEditorFlags: 0 702 | m_IsActive: 1 703 | --- !u!108 &1896678260 704 | Light: 705 | m_ObjectHideFlags: 0 706 | m_CorrespondingSourceObject: {fileID: 0} 707 | m_PrefabInstance: {fileID: 0} 708 | m_PrefabAsset: {fileID: 0} 709 | m_GameObject: {fileID: 1896678259} 710 | m_Enabled: 1 711 | serializedVersion: 9 712 | m_Type: 1 713 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 714 | m_Intensity: 1 715 | m_Range: 10 716 | m_SpotAngle: 30 717 | m_InnerSpotAngle: 21.80208 718 | m_CookieSize: 10 719 | m_Shadows: 720 | m_Type: 2 721 | m_Resolution: -1 722 | m_CustomResolution: -1 723 | m_Strength: 1 724 | m_Bias: 0.05 725 | m_NormalBias: 0.4 726 | m_NearPlane: 0.2 727 | m_CullingMatrixOverride: 728 | e00: 1 729 | e01: 0 730 | e02: 0 731 | e03: 0 732 | e10: 0 733 | e11: 1 734 | e12: 0 735 | e13: 0 736 | e20: 0 737 | e21: 0 738 | e22: 1 739 | e23: 0 740 | e30: 0 741 | e31: 0 742 | e32: 0 743 | e33: 1 744 | m_UseCullingMatrixOverride: 0 745 | m_Cookie: {fileID: 0} 746 | m_DrawHalo: 0 747 | m_Flare: {fileID: 0} 748 | m_RenderMode: 0 749 | m_CullingMask: 750 | serializedVersion: 2 751 | m_Bits: 4294967295 752 | m_RenderingLayerMask: 1 753 | m_Lightmapping: 4 754 | m_LightShadowCasterMode: 0 755 | m_AreaSize: {x: 1, y: 1} 756 | m_BounceIntensity: 1 757 | m_ColorTemperature: 6570 758 | m_UseColorTemperature: 0 759 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} 760 | m_UseBoundingSphereOverride: 0 761 | m_ShadowRadius: 0 762 | m_ShadowAngle: 0 763 | --- !u!4 &1896678261 764 | Transform: 765 | m_ObjectHideFlags: 0 766 | m_CorrespondingSourceObject: {fileID: 0} 767 | m_PrefabInstance: {fileID: 0} 768 | m_PrefabAsset: {fileID: 0} 769 | m_GameObject: {fileID: 1896678259} 770 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 771 | m_LocalPosition: {x: 0, y: 3, z: 0} 772 | m_LocalScale: {x: 1, y: 1, z: 1} 773 | m_Children: [] 774 | m_Father: {fileID: 0} 775 | m_RootOrder: 1 776 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 777 | --- !u!1 &1996826771 778 | GameObject: 779 | m_ObjectHideFlags: 0 780 | m_CorrespondingSourceObject: {fileID: 0} 781 | m_PrefabInstance: {fileID: 0} 782 | m_PrefabAsset: {fileID: 0} 783 | serializedVersion: 6 784 | m_Component: 785 | - component: {fileID: 1996826774} 786 | - component: {fileID: 1996826773} 787 | - component: {fileID: 1996826772} 788 | m_Layer: 0 789 | m_Name: EventSystem 790 | m_TagString: Untagged 791 | m_Icon: {fileID: 0} 792 | m_NavMeshLayer: 0 793 | m_StaticEditorFlags: 0 794 | m_IsActive: 1 795 | --- !u!114 &1996826772 796 | MonoBehaviour: 797 | m_ObjectHideFlags: 0 798 | m_CorrespondingSourceObject: {fileID: 0} 799 | m_PrefabInstance: {fileID: 0} 800 | m_PrefabAsset: {fileID: 0} 801 | m_GameObject: {fileID: 1996826771} 802 | m_Enabled: 1 803 | m_EditorHideFlags: 0 804 | m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3} 805 | m_Name: 806 | m_EditorClassIdentifier: 807 | m_HorizontalAxis: Horizontal 808 | m_VerticalAxis: Vertical 809 | m_SubmitButton: Submit 810 | m_CancelButton: Cancel 811 | m_InputActionsPerSecond: 10 812 | m_RepeatDelay: 0.5 813 | m_ForceModuleActive: 0 814 | --- !u!114 &1996826773 815 | MonoBehaviour: 816 | m_ObjectHideFlags: 0 817 | m_CorrespondingSourceObject: {fileID: 0} 818 | m_PrefabInstance: {fileID: 0} 819 | m_PrefabAsset: {fileID: 0} 820 | m_GameObject: {fileID: 1996826771} 821 | m_Enabled: 1 822 | m_EditorHideFlags: 0 823 | m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} 824 | m_Name: 825 | m_EditorClassIdentifier: 826 | m_FirstSelected: {fileID: 0} 827 | m_sendNavigationEvents: 1 828 | m_DragThreshold: 10 829 | --- !u!4 &1996826774 830 | Transform: 831 | m_ObjectHideFlags: 0 832 | m_CorrespondingSourceObject: {fileID: 0} 833 | m_PrefabInstance: {fileID: 0} 834 | m_PrefabAsset: {fileID: 0} 835 | m_GameObject: {fileID: 1996826771} 836 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 837 | m_LocalPosition: {x: 0, y: 0, z: 0} 838 | m_LocalScale: {x: 1, y: 1, z: 1} 839 | m_Children: [] 840 | m_Father: {fileID: 0} 841 | m_RootOrder: 3 842 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 843 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/ColorDepthDemo/BasicColorDepthDemo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9a80b5aa5b6ca541915b2d19d57b658 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c4a4f0396bc02a4aba95e353519739a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/Attribution.txt: -------------------------------------------------------------------------------- 1 | The point cloud demo scene(s) were inspired by the Rsvfx project of Keijiro Takahashi (https://github.com/keijiro/Rsvfx), as well as by the Kinect-VFX-Graph project of Roel Kok (https://github.com/roelkok/Kinect-VFX-Graph). Kudos and big thanks to these guys! 2 | 3 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/Attribution.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45c2c0e46b7cb334e957e0efcfe7dec0 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/HDRP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f536645d88b47494ea221499f2e08cc4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/HDRP/HDRP.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 0cf1dab834d4ec34195b920ea7bbf9ec, type: 3} 13 | m_Name: HDRP 14 | m_EditorClassIdentifier: 15 | m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7, 16 | type: 2} 17 | m_RenderingPathDefaultCameraFrameSettings: 18 | bitDatas: 19 | data1: 69284255760157 20 | data2: 4539628424389459968 21 | m_RenderingPathDefaultBakedOrCustomReflectionFrameSettings: 22 | bitDatas: 23 | data1: 69284255563549 24 | data2: 4539628424389459968 25 | m_RenderingPathDefaultRealtimeReflectionFrameSettings: 26 | bitDatas: 27 | data1: 69284098219805 28 | data2: 4539628424389459968 29 | m_RenderPipelineSettings: 30 | supportShadowMask: 1 31 | supportSSR: 0 32 | supportSSAO: 1 33 | supportSubsurfaceScattering: 1 34 | increaseSssSampleCount: 0 35 | supportVolumetrics: 1 36 | increaseResolutionOfVolumetrics: 0 37 | supportLightLayers: 0 38 | supportDistortion: 1 39 | supportTransparentBackface: 1 40 | supportTransparentDepthPrepass: 1 41 | supportTransparentDepthPostpass: 1 42 | supportLowResTransparent: 1 43 | colorBufferFormat: 74 44 | supportedLitShaderMode: 2 45 | supportDecals: 1 46 | msaaSampleCount: 1 47 | supportMotionVectors: 1 48 | supportRuntimeDebugDisplay: 1 49 | supportDitheringCrossFade: 1 50 | supportRayTracing: 0 51 | lightLoopSettings: 52 | cookieSize: 128 53 | cookieTexArraySize: 16 54 | pointCookieSize: 128 55 | cubeCookieTexArraySize: 16 56 | planarReflectionProbeCacheSize: 2 57 | planarReflectionTextureSize: 1024 58 | reflectionProbeCacheSize: 64 59 | reflectionCubemapSize: 256 60 | reflectionCacheCompressed: 0 61 | planarReflectionCacheCompressed: 0 62 | skyReflectionSize: 256 63 | skyLightingOverrideLayerMask: 64 | serializedVersion: 2 65 | m_Bits: 0 66 | supportFabricConvolution: 0 67 | maxDirectionalLightsOnScreen: 16 68 | maxPunctualLightsOnScreen: 512 69 | maxAreaLightsOnScreen: 64 70 | maxEnvLightsOnScreen: 64 71 | maxDecalsOnScreen: 512 72 | hdShadowInitParams: 73 | maxShadowRequests: 128 74 | directionalShadowsDepthBits: 32 75 | shadowQuality: 0 76 | punctualLightShadowAtlas: 77 | shadowAtlasResolution: 4096 78 | shadowAtlasDepthBits: 32 79 | useDynamicViewportRescale: 1 80 | areaLightShadowAtlas: 81 | shadowAtlasResolution: 4096 82 | shadowAtlasDepthBits: 32 83 | useDynamicViewportRescale: 1 84 | decalSettings: 85 | drawDistance: 1000 86 | atlasWidth: 4096 87 | atlasHeight: 4096 88 | perChannelMask: 0 89 | postProcessSettings: 90 | m_LutSize: 32 91 | lutFormat: 48 92 | dynamicResolutionSettings: 93 | enabled: 0 94 | maxPercentage: 100 95 | minPercentage: 100 96 | dynResType: 0 97 | upsampleFilter: 1 98 | forceResolution: 0 99 | forcedPercentage: 100 100 | lowresTransparentSettings: 101 | enabled: 1 102 | checkerboardDepthBuffer: 1 103 | upsampleType: 1 104 | allowShaderVariantStripping: 1 105 | enableSRPBatcher: 0 106 | shaderVariantLogLevel: 0 107 | diffusionProfileSettings: {fileID: 0} 108 | diffusionProfileSettingsList: [] 109 | m_Version: 5 110 | m_ObsoleteFrameSettings: 111 | overrides: 0 112 | enableShadow: 0 113 | enableContactShadows: 0 114 | enableShadowMask: 0 115 | enableSSR: 0 116 | enableSSAO: 0 117 | enableSubsurfaceScattering: 0 118 | enableTransmission: 0 119 | enableAtmosphericScattering: 0 120 | enableVolumetrics: 0 121 | enableReprojectionForVolumetrics: 0 122 | enableLightLayers: 0 123 | enableExposureControl: 1 124 | diffuseGlobalDimmer: 0 125 | specularGlobalDimmer: 0 126 | shaderLitMode: 0 127 | enableDepthPrepassWithDeferredRendering: 0 128 | enableTransparentPrepass: 0 129 | enableMotionVectors: 0 130 | enableObjectMotionVectors: 0 131 | enableDecals: 0 132 | enableRoughRefraction: 0 133 | enableTransparentPostpass: 0 134 | enableDistortion: 0 135 | enablePostprocess: 0 136 | enableOpaqueObjects: 0 137 | enableTransparentObjects: 0 138 | enableRealtimePlanarReflection: 0 139 | enableMSAA: 0 140 | enableAsyncCompute: 0 141 | runLightListAsync: 0 142 | runSSRAsync: 0 143 | runSSAOAsync: 0 144 | runContactShadowsAsync: 0 145 | runVolumeVoxelizationAsync: 0 146 | lightLoopSettings: 147 | overrides: 0 148 | enableDeferredTileAndCluster: 0 149 | enableComputeLightEvaluation: 0 150 | enableComputeLightVariants: 0 151 | enableComputeMaterialVariants: 0 152 | enableFptlForForwardOpaque: 0 153 | enableBigTilePrepass: 0 154 | isFptlEnabled: 0 155 | m_ObsoleteBakedOrCustomReflectionFrameSettings: 156 | overrides: 0 157 | enableShadow: 0 158 | enableContactShadows: 0 159 | enableShadowMask: 0 160 | enableSSR: 0 161 | enableSSAO: 0 162 | enableSubsurfaceScattering: 0 163 | enableTransmission: 0 164 | enableAtmosphericScattering: 0 165 | enableVolumetrics: 0 166 | enableReprojectionForVolumetrics: 0 167 | enableLightLayers: 0 168 | enableExposureControl: 1 169 | diffuseGlobalDimmer: 0 170 | specularGlobalDimmer: 0 171 | shaderLitMode: 0 172 | enableDepthPrepassWithDeferredRendering: 0 173 | enableTransparentPrepass: 0 174 | enableMotionVectors: 0 175 | enableObjectMotionVectors: 0 176 | enableDecals: 0 177 | enableRoughRefraction: 0 178 | enableTransparentPostpass: 0 179 | enableDistortion: 0 180 | enablePostprocess: 0 181 | enableOpaqueObjects: 0 182 | enableTransparentObjects: 0 183 | enableRealtimePlanarReflection: 0 184 | enableMSAA: 0 185 | enableAsyncCompute: 0 186 | runLightListAsync: 0 187 | runSSRAsync: 0 188 | runSSAOAsync: 0 189 | runContactShadowsAsync: 0 190 | runVolumeVoxelizationAsync: 0 191 | lightLoopSettings: 192 | overrides: 0 193 | enableDeferredTileAndCluster: 0 194 | enableComputeLightEvaluation: 0 195 | enableComputeLightVariants: 0 196 | enableComputeMaterialVariants: 0 197 | enableFptlForForwardOpaque: 0 198 | enableBigTilePrepass: 0 199 | isFptlEnabled: 0 200 | m_ObsoleteRealtimeReflectionFrameSettings: 201 | overrides: 0 202 | enableShadow: 0 203 | enableContactShadows: 0 204 | enableShadowMask: 0 205 | enableSSR: 0 206 | enableSSAO: 0 207 | enableSubsurfaceScattering: 0 208 | enableTransmission: 0 209 | enableAtmosphericScattering: 0 210 | enableVolumetrics: 0 211 | enableReprojectionForVolumetrics: 0 212 | enableLightLayers: 0 213 | enableExposureControl: 1 214 | diffuseGlobalDimmer: 0 215 | specularGlobalDimmer: 0 216 | shaderLitMode: 0 217 | enableDepthPrepassWithDeferredRendering: 0 218 | enableTransparentPrepass: 0 219 | enableMotionVectors: 0 220 | enableObjectMotionVectors: 0 221 | enableDecals: 0 222 | enableRoughRefraction: 0 223 | enableTransparentPostpass: 0 224 | enableDistortion: 0 225 | enablePostprocess: 0 226 | enableOpaqueObjects: 0 227 | enableTransparentObjects: 0 228 | enableRealtimePlanarReflection: 0 229 | enableMSAA: 0 230 | enableAsyncCompute: 0 231 | runLightListAsync: 0 232 | runSSRAsync: 0 233 | runSSAOAsync: 0 234 | runContactShadowsAsync: 0 235 | runVolumeVoxelizationAsync: 0 236 | lightLoopSettings: 237 | overrides: 0 238 | enableDeferredTileAndCluster: 0 239 | enableComputeLightEvaluation: 0 240 | enableComputeLightVariants: 0 241 | enableComputeMaterialVariants: 0 242 | enableFptlForForwardOpaque: 0 243 | enableBigTilePrepass: 0 244 | isFptlEnabled: 0 245 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/HDRP/HDRP.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a9577230f348405ea0f74217f80cb49 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/HDRP/VFXDefaultResources.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: cd0a560c562a33e4b94f515804e2bd27, type: 3} 13 | m_Name: VFXDefaultResources 14 | m_EditorClassIdentifier: 15 | particleTexture: {fileID: 2800000, guid: 276d9e395ae18fe40a9b4988549f2349, type: 3} 16 | noiseTexture: {fileID: 2800000, guid: 1d8481de16af723418a688958c41224b, type: 3} 17 | vectorField: {fileID: 11700000, guid: 08937e3134903c5488be506a2dac71e9, type: 2} 18 | signedDistanceField: {fileID: 11700000, guid: 5c2949c31aafddd4e8011ffdebb8fdf7, 19 | type: 2} 20 | mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0} 21 | animationCurve: 22 | serializedVersion: 2 23 | m_Curve: 24 | - serializedVersion: 3 25 | time: 0 26 | value: 0 27 | inSlope: 0 28 | outSlope: 0 29 | tangentMode: 0 30 | weightedMode: 0 31 | inWeight: 0 32 | outWeight: 0 33 | - serializedVersion: 3 34 | time: 0.25 35 | value: 0.25 36 | inSlope: 0 37 | outSlope: 0 38 | tangentMode: 0 39 | weightedMode: 0 40 | inWeight: 0 41 | outWeight: 0 42 | - serializedVersion: 3 43 | time: 1 44 | value: 0 45 | inSlope: 0 46 | outSlope: 0 47 | tangentMode: 0 48 | weightedMode: 0 49 | inWeight: 0 50 | outWeight: 0 51 | m_PreInfinity: 2 52 | m_PostInfinity: 2 53 | m_RotationOrder: 4 54 | gradient: 55 | serializedVersion: 2 56 | key0: {r: 1, g: 1, b: 1, a: 0} 57 | key1: {r: 0.5, g: 0.5, b: 0.5, a: 1} 58 | key2: {r: 0, g: 0, b: 0, a: 0.8} 59 | key3: {r: 0, g: 0, b: 0, a: 0} 60 | key4: {r: 0, g: 0, b: 0, a: 0} 61 | key5: {r: 0, g: 0, b: 0, a: 0} 62 | key6: {r: 0, g: 0, b: 0, a: 0} 63 | key7: {r: 0, g: 0, b: 0, a: 0} 64 | ctime0: 0 65 | ctime1: 65535 66 | ctime2: 0 67 | ctime3: 0 68 | ctime4: 0 69 | ctime5: 0 70 | ctime6: 0 71 | ctime7: 0 72 | atime0: 0 73 | atime1: 6554 74 | atime2: 52428 75 | atime3: 65535 76 | atime4: 0 77 | atime5: 0 78 | atime6: 0 79 | atime7: 0 80 | m_Mode: 0 81 | m_NumColorKeys: 2 82 | m_NumAlphaKeys: 4 83 | shader: {fileID: 4800000, guid: cd270bc83dc0ce644bf351c3f5b7f30f, type: 3} 84 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/HDRP/VFXDefaultResources.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1476cce3ccaba8e429ed3c8572c9c6a1 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/MeshTex.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8793fbf644473ef4cb3ac2f0f4ef320b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/MeshTex/Disk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rfilkov/AzureKinectUnityFree/0bffa358ea1792fe111847b59590cbf7c5fc75e7/Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/MeshTex/Disk.png -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/MeshTex/Disk.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 30a7a1b9969420f6cafa1afd027b8c8a 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 2 35 | aniso: 4 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 0 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 0 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | spriteSheet: 84 | serializedVersion: 2 85 | sprites: [] 86 | outline: [] 87 | physicsShape: [] 88 | bones: [] 89 | spriteID: 90 | internalID: 0 91 | vertices: [] 92 | indices: 93 | edges: [] 94 | weights: [] 95 | secondaryTextures: [] 96 | spritePackingTag: 97 | pSDRemoveMatte: 0 98 | pSDShowRemoveMatteOption: 0 99 | userData: 100 | assetBundleName: 101 | assetBundleVariant: 102 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/MeshTex/Dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rfilkov/AzureKinectUnityFree/0bffa358ea1792fe111847b59590cbf7c5fc75e7/Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/MeshTex/Dot.png -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/MeshTex/Dot.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f2c630f714d8338083dc7d763249d4a 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 9 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 2 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | spriteSheet: 84 | serializedVersion: 2 85 | sprites: [] 86 | outline: [] 87 | physicsShape: [] 88 | bones: [] 89 | spriteID: 90 | internalID: 0 91 | vertices: [] 92 | indices: 93 | edges: [] 94 | weights: [] 95 | secondaryTextures: [] 96 | spritePackingTag: 97 | pSDRemoveMatte: 0 98 | pSDShowRemoveMatteOption: 0 99 | userData: 100 | assetBundleName: 101 | assetBundleVariant: 102 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3171008ea45f4bf41bcb65c873ca73a7 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/Textures/PointCloudColorMapK4A.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: PointCloudColorMapK4A 10 | m_ImageContentsHash: 11 | serializedVersion: 2 12 | Hash: 00000000000000000000000000000000 13 | m_ForcedFallbackFormat: 4 14 | m_DownscaleFallback: 0 15 | serializedVersion: 3 16 | m_Width: 640 17 | m_Height: 576 18 | m_AntiAliasing: 1 19 | m_DepthFormat: 0 20 | m_ColorFormat: 8 21 | m_MipMap: 0 22 | m_GenerateMips: 1 23 | m_SRGB: 0 24 | m_UseDynamicScale: 0 25 | m_BindMS: 0 26 | m_EnableCompatibleFormat: 1 27 | m_TextureSettings: 28 | serializedVersion: 2 29 | m_FilterMode: 1 30 | m_Aniso: 0 31 | m_MipBias: 0 32 | m_WrapU: 1 33 | m_WrapV: 1 34 | m_WrapW: 1 35 | m_Dimension: 2 36 | m_VolumeDepth: 1 37 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/Textures/PointCloudColorMapK4A.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e96cdc3b37ad79be39d14ce547fe0da1 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 8400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/Textures/PointCloudVertexMapK4A.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: PointCloudVertexMapK4A 10 | m_ImageContentsHash: 11 | serializedVersion: 2 12 | Hash: 00000000000000000000000000000000 13 | m_ForcedFallbackFormat: 4 14 | m_DownscaleFallback: 0 15 | serializedVersion: 3 16 | m_Width: 640 17 | m_Height: 576 18 | m_AntiAliasing: 1 19 | m_DepthFormat: 0 20 | m_ColorFormat: 48 21 | m_MipMap: 0 22 | m_GenerateMips: 1 23 | m_SRGB: 0 24 | m_UseDynamicScale: 0 25 | m_BindMS: 0 26 | m_EnableCompatibleFormat: 1 27 | m_TextureSettings: 28 | serializedVersion: 2 29 | m_FilterMode: 1 30 | m_Aniso: 0 31 | m_MipBias: 0 32 | m_WrapU: 1 33 | m_WrapV: 1 34 | m_WrapW: 1 35 | m_Dimension: 2 36 | m_VolumeDepth: 1 37 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/Textures/PointCloudVertexMapK4A.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8e773d5bbad0c05c965e6b888e86b55 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 8400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/VFX.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66448a304cea3834ba48e508ee80e8c9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/VFX/ColorPointCloud.vfx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00bd68234733d3b40b3778a227c60336 3 | VisualEffectImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/VFX/Cords.vfx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4dcef4086c5671a4bb68f7c935f6d1b9 3 | VisualEffectImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/VFX/Lines.vfx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5bb7b134fd044c14f8c629a5bf53ccc5 3 | VisualEffectImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/VFX/Particles.vfx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ded9e44bbdc4e444eacfaabcdef7ce44 3 | VisualEffectImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/VFX/Point.vfx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09fcea83c6bc6a04e9416276d450d344 3 | VisualEffectImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/VFX/Voxel.vfx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 414ffb4745b115d4b90035fd6a5299fa 3 | VisualEffectImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/VFX/WhitePointCloud.vfx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37428d4fe4107f84f932fa028fc1cace 3 | VisualEffectImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/VfxPointCloudDemo.unity: -------------------------------------------------------------------------------- 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: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 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 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &4 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 0 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 1 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 0 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 1024 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 1 75 | m_BakeBackend: 0 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 512 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 512 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 0 83 | m_PVRDenoiserTypeDirect: 0 84 | m_PVRDenoiserTypeIndirect: 0 85 | m_PVRDenoiserTypeAO: 0 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 0 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ShowResolutionOverlay: 1 98 | m_ExportTrainingData: 0 99 | m_LightingDataAsset: {fileID: 0} 100 | m_UseShadowmask: 0 101 | --- !u!196 &5 102 | NavMeshSettings: 103 | serializedVersion: 2 104 | m_ObjectHideFlags: 0 105 | m_BuildSettings: 106 | serializedVersion: 2 107 | agentTypeID: 0 108 | agentRadius: 0.5 109 | agentHeight: 2 110 | agentSlope: 45 111 | agentClimb: 0.4 112 | ledgeDropHeight: 0 113 | maxJumpAcrossDistance: 0 114 | minRegionArea: 2 115 | manualCellSize: 0 116 | cellSize: 0.16666667 117 | manualTileSize: 0 118 | tileSize: 256 119 | accuratePlacement: 0 120 | debug: 121 | m_Flags: 0 122 | m_NavMeshData: {fileID: 0} 123 | --- !u!1 &417493 124 | GameObject: 125 | m_ObjectHideFlags: 0 126 | m_CorrespondingSourceObject: {fileID: 0} 127 | m_PrefabInstance: {fileID: 0} 128 | m_PrefabAsset: {fileID: 0} 129 | serializedVersion: 6 130 | m_Component: 131 | - component: {fileID: 417496} 132 | - component: {fileID: 417495} 133 | - component: {fileID: 417494} 134 | m_Layer: 0 135 | m_Name: VfxPointCloud 136 | m_TagString: Untagged 137 | m_Icon: {fileID: 0} 138 | m_NavMeshLayer: 0 139 | m_StaticEditorFlags: 0 140 | m_IsActive: 1 141 | --- !u!73398921 &417494 142 | VFXRenderer: 143 | m_ObjectHideFlags: 2 144 | m_CorrespondingSourceObject: {fileID: 0} 145 | m_PrefabInstance: {fileID: 0} 146 | m_PrefabAsset: {fileID: 0} 147 | m_GameObject: {fileID: 417493} 148 | m_Enabled: 1 149 | m_CastShadows: 0 150 | m_ReceiveShadows: 0 151 | m_DynamicOccludee: 1 152 | m_MotionVectors: 0 153 | m_LightProbeUsage: 0 154 | m_ReflectionProbeUsage: 0 155 | m_RenderingLayerMask: 1 156 | m_RendererPriority: 0 157 | m_Materials: 158 | - {fileID: 0} 159 | m_StaticBatchInfo: 160 | firstSubMesh: 0 161 | subMeshCount: 0 162 | m_StaticBatchRoot: {fileID: 0} 163 | m_ProbeAnchor: {fileID: 0} 164 | m_LightProbeVolumeOverride: {fileID: 0} 165 | m_ScaleInLightmap: 1 166 | m_PreserveUVs: 0 167 | m_IgnoreNormalsForChartDetection: 0 168 | m_ImportantGI: 0 169 | m_StitchLightmapSeams: 1 170 | m_SelectedEditorRenderState: 3 171 | m_MinimumChartSize: 4 172 | m_AutoUVMaxDistance: 0.5 173 | m_AutoUVMaxAngle: 89 174 | m_LightmapParameters: {fileID: 0} 175 | m_SortingLayerID: 0 176 | m_SortingLayer: 0 177 | m_SortingOrder: 0 178 | --- !u!2083052967 &417495 179 | VisualEffect: 180 | m_ObjectHideFlags: 0 181 | m_CorrespondingSourceObject: {fileID: 0} 182 | m_PrefabInstance: {fileID: 0} 183 | m_PrefabAsset: {fileID: 0} 184 | m_GameObject: {fileID: 417493} 185 | m_Enabled: 1 186 | m_Asset: {fileID: 8926484042661614526, guid: 00bd68234733d3b40b3778a227c60336, type: 3} 187 | m_StartSeed: 0 188 | m_ResetSeedOnPlay: 1 189 | m_PropertySheet: 190 | m_Float: 191 | m_Array: [] 192 | m_Vector2f: 193 | m_Array: [] 194 | m_Vector3f: 195 | m_Array: [] 196 | m_Vector4f: 197 | m_Array: [] 198 | m_Uint: 199 | m_Array: 200 | - m_Value: 1280 201 | m_Name: Resolution 202 | m_Overridden: 0 203 | m_Int: 204 | m_Array: [] 205 | m_Matrix4x4f: 206 | m_Array: [] 207 | m_AnimationCurve: 208 | m_Array: [] 209 | m_Gradient: 210 | m_Array: [] 211 | m_NamedObject: 212 | m_Array: 213 | - m_Value: {fileID: 8400000, guid: 62ea8b39fcf09234db84a5ce0213d71b, type: 2} 214 | m_Name: ColorMap 215 | m_Overridden: 0 216 | - m_Value: {fileID: 8400000, guid: d8e773d5bbad0c05c965e6b888e86b55, type: 2} 217 | m_Name: PositionMap 218 | m_Overridden: 0 219 | - m_Value: {fileID: 8400000, guid: d8e773d5bbad0c05c965e6b888e86b55, type: 2} 220 | m_Name: Position Map 221 | m_Overridden: 0 222 | - m_Value: {fileID: 8400000, guid: e96cdc3b37ad79be39d14ce547fe0da1, type: 2} 223 | m_Name: Color Map 224 | m_Overridden: 0 225 | m_Bool: 226 | m_Array: [] 227 | --- !u!4 &417496 228 | Transform: 229 | m_ObjectHideFlags: 0 230 | m_CorrespondingSourceObject: {fileID: 0} 231 | m_PrefabInstance: {fileID: 0} 232 | m_PrefabAsset: {fileID: 0} 233 | m_GameObject: {fileID: 417493} 234 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 235 | m_LocalPosition: {x: 0, y: 1, z: 0} 236 | m_LocalScale: {x: 1, y: 1, z: 1} 237 | m_Children: [] 238 | m_Father: {fileID: 0} 239 | m_RootOrder: 4 240 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 241 | --- !u!1 &82890957 242 | GameObject: 243 | m_ObjectHideFlags: 0 244 | m_CorrespondingSourceObject: {fileID: 0} 245 | m_PrefabInstance: {fileID: 0} 246 | m_PrefabAsset: {fileID: 0} 247 | serializedVersion: 6 248 | m_Component: 249 | - component: {fileID: 82890959} 250 | - component: {fileID: 82890958} 251 | - component: {fileID: 82890961} 252 | - component: {fileID: 82890960} 253 | m_Layer: 0 254 | m_Name: Directional Light 255 | m_TagString: Untagged 256 | m_Icon: {fileID: 0} 257 | m_NavMeshLayer: 0 258 | m_StaticEditorFlags: 0 259 | m_IsActive: 1 260 | --- !u!108 &82890958 261 | Light: 262 | m_ObjectHideFlags: 0 263 | m_CorrespondingSourceObject: {fileID: 0} 264 | m_PrefabInstance: {fileID: 0} 265 | m_PrefabAsset: {fileID: 0} 266 | m_GameObject: {fileID: 82890957} 267 | m_Enabled: 1 268 | serializedVersion: 9 269 | m_Type: 1 270 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 271 | m_Intensity: 3.1415927 272 | m_Range: 10 273 | m_SpotAngle: 30 274 | m_InnerSpotAngle: 21.80208 275 | m_CookieSize: 10 276 | m_Shadows: 277 | m_Type: 2 278 | m_Resolution: -1 279 | m_CustomResolution: -1 280 | m_Strength: 1 281 | m_Bias: 0.05 282 | m_NormalBias: 0.4 283 | m_NearPlane: 0.2 284 | m_CullingMatrixOverride: 285 | e00: 1 286 | e01: 0 287 | e02: 0 288 | e03: 0 289 | e10: 0 290 | e11: 1 291 | e12: 0 292 | e13: 0 293 | e20: 0 294 | e21: 0 295 | e22: 1 296 | e23: 0 297 | e30: 0 298 | e31: 0 299 | e32: 0 300 | e33: 1 301 | m_UseCullingMatrixOverride: 0 302 | m_Cookie: {fileID: 0} 303 | m_DrawHalo: 0 304 | m_Flare: {fileID: 0} 305 | m_RenderMode: 0 306 | m_CullingMask: 307 | serializedVersion: 2 308 | m_Bits: 4294967295 309 | m_RenderingLayerMask: 1 310 | m_Lightmapping: 4 311 | m_LightShadowCasterMode: 2 312 | m_AreaSize: {x: 1, y: 1} 313 | m_BounceIntensity: 1 314 | m_ColorTemperature: 6570 315 | m_UseColorTemperature: 0 316 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} 317 | m_UseBoundingSphereOverride: 0 318 | m_ShadowRadius: 0 319 | m_ShadowAngle: 0 320 | --- !u!4 &82890959 321 | Transform: 322 | m_ObjectHideFlags: 0 323 | m_CorrespondingSourceObject: {fileID: 0} 324 | m_PrefabInstance: {fileID: 0} 325 | m_PrefabAsset: {fileID: 0} 326 | m_GameObject: {fileID: 82890957} 327 | m_LocalRotation: {x: 0.40821794, y: -0.23456973, z: 0.10938166, w: 0.8754261} 328 | m_LocalPosition: {x: 0, y: 3, z: 0} 329 | m_LocalScale: {x: 1, y: 1, z: 1} 330 | m_Children: [] 331 | m_Father: {fileID: 0} 332 | m_RootOrder: 1 333 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 334 | --- !u!114 &82890960 335 | MonoBehaviour: 336 | m_ObjectHideFlags: 0 337 | m_CorrespondingSourceObject: {fileID: 0} 338 | m_PrefabInstance: {fileID: 0} 339 | m_PrefabAsset: {fileID: 0} 340 | m_GameObject: {fileID: 82890957} 341 | m_Enabled: 1 342 | m_EditorHideFlags: 0 343 | m_Script: {fileID: 11500000, guid: c6c2871f720b2af4e9210febdac74517, type: 3} 344 | m_Name: 345 | m_EditorClassIdentifier: 346 | m_Version: 1 347 | shadowResolution: 512 348 | shadowDimmer: 1 349 | volumetricShadowDimmer: 1 350 | shadowFadeDistance: 10000 351 | contactShadows: 0 352 | viewBiasMin: 0.2 353 | viewBiasMax: 100 354 | viewBiasScale: 1 355 | normalBiasMin: 0.5 356 | normalBiasMax: 0.5 357 | normalBiasScale: 1 358 | sampleBiasScale: 0 359 | edgeLeakFixup: 0 360 | edgeToleranceNormal: 1 361 | edgeTolerance: 1 362 | shadowCascadeCount: 4 363 | shadowCascadeRatios: 364 | - 0.05 365 | - 0.2 366 | - 0.3 367 | shadowCascadeBorders: 368 | - 0.2 369 | - 0.2 370 | - 0.2 371 | - 0.2 372 | shadowAlgorithm: 0 373 | shadowVariant: 0 374 | shadowPrecision: 0 375 | shadowData: 376 | format: 0 377 | data: 378 | shadowDatas: [] 379 | --- !u!114 &82890961 380 | MonoBehaviour: 381 | m_ObjectHideFlags: 0 382 | m_CorrespondingSourceObject: {fileID: 0} 383 | m_PrefabInstance: {fileID: 0} 384 | m_PrefabAsset: {fileID: 0} 385 | m_GameObject: {fileID: 82890957} 386 | m_Enabled: 1 387 | m_EditorHideFlags: 0 388 | m_Script: {fileID: 11500000, guid: 7a68c43fe1f2a47cfa234b5eeaa98012, type: 3} 389 | m_Name: 390 | m_EditorClassIdentifier: 391 | version: 4 392 | m_Version: 4 393 | directionalIntensity: 3.1415927 394 | punctualIntensity: 600 395 | areaIntensity: 200 396 | enableSpotReflector: 0 397 | luxAtDistance: 1 398 | m_InnerSpotPercent: 0 399 | lightDimmer: 1 400 | m_VolumetricDimmer: 1 401 | lightUnit: 2 402 | sunDiskSize: 1 403 | sunHaloSize: 0.1 404 | fadeDistance: 10000 405 | affectDiffuse: 1 406 | affectSpecular: 1 407 | nonLightmappedOnly: 0 408 | lightTypeExtent: 0 409 | m_SpotLightShape: 0 410 | shapeWidth: 0.5 411 | shapeHeight: 0.5 412 | aspectRatio: 1 413 | shapeRadius: 0 414 | maxSmoothness: 0.99 415 | applyRangeAttenuation: 1 416 | useOldInspector: 0 417 | useVolumetric: 1 418 | featuresFoldout: 1 419 | showAdditionalSettings: 0 420 | displayLightIntensity: 3.1415927 421 | displayAreaLightEmissiveMesh: 0 422 | areaLightCookie: {fileID: 0} 423 | areaLightShadowCone: 120 424 | evsmExponent: 15 425 | evsmLightLeakBias: 0 426 | evsmVarianceBias: 0.00001 427 | evsmBlurPasses: 0 428 | lightLayers: 1 429 | shadowNearPlane: 0.1 430 | shadowSoftness: 0.5 431 | blockerSampleCount: 24 432 | filterSampleCount: 16 433 | minFilterSize: 0.00001 434 | kernelSize: 5 435 | lightAngle: 1 436 | maxDepthBias: 0.001 437 | --- !u!1 &203902209 438 | GameObject: 439 | m_ObjectHideFlags: 0 440 | m_CorrespondingSourceObject: {fileID: 0} 441 | m_PrefabInstance: {fileID: 0} 442 | m_PrefabAsset: {fileID: 0} 443 | serializedVersion: 6 444 | m_Component: 445 | - component: {fileID: 203902214} 446 | - component: {fileID: 203902213} 447 | - component: {fileID: 203902211} 448 | - component: {fileID: 203902210} 449 | - component: {fileID: 203902212} 450 | - component: {fileID: 203902215} 451 | m_Layer: 0 452 | m_Name: Main Camera 453 | m_TagString: MainCamera 454 | m_Icon: {fileID: 0} 455 | m_NavMeshLayer: 0 456 | m_StaticEditorFlags: 0 457 | m_IsActive: 1 458 | --- !u!81 &203902210 459 | AudioListener: 460 | m_ObjectHideFlags: 0 461 | m_CorrespondingSourceObject: {fileID: 0} 462 | m_PrefabInstance: {fileID: 0} 463 | m_PrefabAsset: {fileID: 0} 464 | m_GameObject: {fileID: 203902209} 465 | m_Enabled: 1 466 | --- !u!124 &203902211 467 | Behaviour: 468 | m_ObjectHideFlags: 0 469 | m_CorrespondingSourceObject: {fileID: 0} 470 | m_PrefabInstance: {fileID: 0} 471 | m_PrefabAsset: {fileID: 0} 472 | m_GameObject: {fileID: 203902209} 473 | m_Enabled: 1 474 | --- !u!114 &203902212 475 | MonoBehaviour: 476 | m_ObjectHideFlags: 0 477 | m_CorrespondingSourceObject: {fileID: 0} 478 | m_PrefabInstance: {fileID: 0} 479 | m_PrefabAsset: {fileID: 0} 480 | m_GameObject: {fileID: 203902209} 481 | m_Enabled: 1 482 | m_EditorHideFlags: 0 483 | m_Script: {fileID: 11500000, guid: 23c1ce4fb46143f46bc5cb5224c934f6, type: 3} 484 | m_Name: 485 | m_EditorClassIdentifier: 486 | clearColorMode: 1 487 | backgroundColorHDR: {r: 0.025, g: 0.07, b: 0.19, a: 0} 488 | clearDepth: 1 489 | volumeLayerMask: 490 | serializedVersion: 2 491 | m_Bits: 1 492 | volumeAnchorOverride: {fileID: 0} 493 | antialiasing: 0 494 | SMAAQuality: 2 495 | dithering: 0 496 | stopNaNs: 0 497 | physicalParameters: 498 | m_Iso: 200 499 | m_ShutterSpeed: 0.005 500 | m_Aperture: 16 501 | m_BladeCount: 5 502 | m_Curvature: {x: 2, y: 11} 503 | m_BarrelClipping: 0.25 504 | m_Anamorphism: 0 505 | flipYMode: 0 506 | fullscreenPassthrough: 0 507 | customRenderingSettings: 0 508 | invertFaceCulling: 0 509 | probeLayerMask: 510 | serializedVersion: 2 511 | m_Bits: 4294967295 512 | m_RenderingPathCustomFrameSettings: 513 | bitDatas: 514 | data1: 69284256022301 515 | data2: 4539628424389459968 516 | renderingPathCustomFrameSettingsOverrideMask: 517 | mask: 518 | data1: 0 519 | data2: 0 520 | defaultFrameSettings: 0 521 | m_Version: 5 522 | m_ObsoleteRenderingPath: 0 523 | m_ObsoleteFrameSettings: 524 | overrides: 0 525 | enableShadow: 0 526 | enableContactShadows: 0 527 | enableShadowMask: 0 528 | enableSSR: 0 529 | enableSSAO: 0 530 | enableSubsurfaceScattering: 0 531 | enableTransmission: 0 532 | enableAtmosphericScattering: 0 533 | enableVolumetrics: 0 534 | enableReprojectionForVolumetrics: 0 535 | enableLightLayers: 0 536 | enableExposureControl: 1 537 | diffuseGlobalDimmer: 0 538 | specularGlobalDimmer: 0 539 | shaderLitMode: 0 540 | enableDepthPrepassWithDeferredRendering: 0 541 | enableTransparentPrepass: 0 542 | enableMotionVectors: 0 543 | enableObjectMotionVectors: 0 544 | enableDecals: 0 545 | enableRoughRefraction: 0 546 | enableTransparentPostpass: 0 547 | enableDistortion: 0 548 | enablePostprocess: 0 549 | enableOpaqueObjects: 0 550 | enableTransparentObjects: 0 551 | enableRealtimePlanarReflection: 0 552 | enableMSAA: 0 553 | enableAsyncCompute: 0 554 | runLightListAsync: 0 555 | runSSRAsync: 0 556 | runSSAOAsync: 0 557 | runContactShadowsAsync: 0 558 | runVolumeVoxelizationAsync: 0 559 | lightLoopSettings: 560 | overrides: 0 561 | enableDeferredTileAndCluster: 0 562 | enableComputeLightEvaluation: 0 563 | enableComputeLightVariants: 0 564 | enableComputeMaterialVariants: 0 565 | enableFptlForForwardOpaque: 0 566 | enableBigTilePrepass: 0 567 | isFptlEnabled: 0 568 | --- !u!20 &203902213 569 | Camera: 570 | m_ObjectHideFlags: 0 571 | m_CorrespondingSourceObject: {fileID: 0} 572 | m_PrefabInstance: {fileID: 0} 573 | m_PrefabAsset: {fileID: 0} 574 | m_GameObject: {fileID: 203902209} 575 | m_Enabled: 1 576 | serializedVersion: 2 577 | m_ClearFlags: 2 578 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844} 579 | m_projectionMatrixMode: 1 580 | m_GateFitMode: 2 581 | m_FOVAxisMode: 0 582 | m_SensorSize: {x: 36, y: 24} 583 | m_LensShift: {x: 0, y: 0} 584 | m_FocalLength: 50 585 | m_NormalizedViewPortRect: 586 | serializedVersion: 2 587 | x: 0 588 | y: 0 589 | width: 1 590 | height: 1 591 | near clip plane: 0.1 592 | far clip plane: 100 593 | field of view: 60 594 | orthographic: 0 595 | orthographic size: 5 596 | m_Depth: 0 597 | m_CullingMask: 598 | serializedVersion: 2 599 | m_Bits: 4294967295 600 | m_RenderingPath: -1 601 | m_TargetTexture: {fileID: 0} 602 | m_TargetDisplay: 0 603 | m_TargetEye: 3 604 | m_HDR: 0 605 | m_AllowMSAA: 0 606 | m_AllowDynamicResolution: 0 607 | m_ForceIntoRT: 0 608 | m_OcclusionCulling: 1 609 | m_StereoConvergence: 10 610 | m_StereoSeparation: 0.022 611 | --- !u!4 &203902214 612 | Transform: 613 | m_ObjectHideFlags: 0 614 | m_CorrespondingSourceObject: {fileID: 0} 615 | m_PrefabInstance: {fileID: 0} 616 | m_PrefabAsset: {fileID: 0} 617 | m_GameObject: {fileID: 203902209} 618 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 619 | m_LocalPosition: {x: 0, y: 1, z: 0} 620 | m_LocalScale: {x: 1, y: 1, z: 1} 621 | m_Children: [] 622 | m_Father: {fileID: 0} 623 | m_RootOrder: 0 624 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 625 | --- !u!114 &203902215 626 | MonoBehaviour: 627 | m_ObjectHideFlags: 0 628 | m_CorrespondingSourceObject: {fileID: 0} 629 | m_PrefabInstance: {fileID: 0} 630 | m_PrefabAsset: {fileID: 0} 631 | m_GameObject: {fileID: 203902209} 632 | m_Enabled: 1 633 | m_EditorHideFlags: 0 634 | m_Script: {fileID: 11500000, guid: 9a17e9eb7ba629243bfc955c820d04a1, type: 3} 635 | m_Name: 636 | m_EditorClassIdentifier: 637 | sensorIndex: 0 638 | smoothFactor: 0 639 | --- !u!1 &481465764 640 | GameObject: 641 | m_ObjectHideFlags: 0 642 | m_CorrespondingSourceObject: {fileID: 0} 643 | m_PrefabInstance: {fileID: 0} 644 | m_PrefabAsset: {fileID: 0} 645 | serializedVersion: 6 646 | m_Component: 647 | - component: {fileID: 481465767} 648 | - component: {fileID: 481465766} 649 | - component: {fileID: 481465765} 650 | m_Layer: 0 651 | m_Name: EventSystem 652 | m_TagString: Untagged 653 | m_Icon: {fileID: 0} 654 | m_NavMeshLayer: 0 655 | m_StaticEditorFlags: 0 656 | m_IsActive: 1 657 | --- !u!114 &481465765 658 | MonoBehaviour: 659 | m_ObjectHideFlags: 0 660 | m_CorrespondingSourceObject: {fileID: 0} 661 | m_PrefabInstance: {fileID: 0} 662 | m_PrefabAsset: {fileID: 0} 663 | m_GameObject: {fileID: 481465764} 664 | m_Enabled: 1 665 | m_EditorHideFlags: 0 666 | m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 667 | m_Name: 668 | m_EditorClassIdentifier: 669 | m_HorizontalAxis: Horizontal 670 | m_VerticalAxis: Vertical 671 | m_SubmitButton: Submit 672 | m_CancelButton: Cancel 673 | m_InputActionsPerSecond: 10 674 | m_RepeatDelay: 0.5 675 | m_ForceModuleActive: 0 676 | --- !u!114 &481465766 677 | MonoBehaviour: 678 | m_ObjectHideFlags: 0 679 | m_CorrespondingSourceObject: {fileID: 0} 680 | m_PrefabInstance: {fileID: 0} 681 | m_PrefabAsset: {fileID: 0} 682 | m_GameObject: {fileID: 481465764} 683 | m_Enabled: 1 684 | m_EditorHideFlags: 0 685 | m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 686 | m_Name: 687 | m_EditorClassIdentifier: 688 | m_FirstSelected: {fileID: 0} 689 | m_sendNavigationEvents: 1 690 | m_DragThreshold: 5 691 | --- !u!4 &481465767 692 | Transform: 693 | m_ObjectHideFlags: 0 694 | m_CorrespondingSourceObject: {fileID: 0} 695 | m_PrefabInstance: {fileID: 0} 696 | m_PrefabAsset: {fileID: 0} 697 | m_GameObject: {fileID: 481465764} 698 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 699 | m_LocalPosition: {x: 0, y: 0, z: 0} 700 | m_LocalScale: {x: 1, y: 1, z: 1} 701 | m_Children: [] 702 | m_Father: {fileID: 0} 703 | m_RootOrder: 3 704 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 705 | --- !u!1 &513337504 706 | GameObject: 707 | m_ObjectHideFlags: 0 708 | m_CorrespondingSourceObject: {fileID: 0} 709 | m_PrefabInstance: {fileID: 0} 710 | m_PrefabAsset: {fileID: 0} 711 | serializedVersion: 6 712 | m_Component: 713 | - component: {fileID: 513337505} 714 | - component: {fileID: 513337506} 715 | m_Layer: 0 716 | m_Name: Kinect4Azure 717 | m_TagString: Untagged 718 | m_Icon: {fileID: 0} 719 | m_NavMeshLayer: 0 720 | m_StaticEditorFlags: 0 721 | m_IsActive: 1 722 | --- !u!4 &513337505 723 | Transform: 724 | m_ObjectHideFlags: 0 725 | m_CorrespondingSourceObject: {fileID: 0} 726 | m_PrefabInstance: {fileID: 0} 727 | m_PrefabAsset: {fileID: 0} 728 | m_GameObject: {fileID: 513337504} 729 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 730 | m_LocalPosition: {x: 0, y: 1, z: 0} 731 | m_LocalScale: {x: 1, y: 1, z: 1} 732 | m_Children: [] 733 | m_Father: {fileID: 2031604917} 734 | m_RootOrder: 0 735 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 736 | --- !u!114 &513337506 737 | MonoBehaviour: 738 | m_ObjectHideFlags: 0 739 | m_CorrespondingSourceObject: {fileID: 0} 740 | m_PrefabInstance: {fileID: 0} 741 | m_PrefabAsset: {fileID: 0} 742 | m_GameObject: {fileID: 513337504} 743 | m_Enabled: 1 744 | m_EditorHideFlags: 0 745 | m_Script: {fileID: 11500000, guid: e8f864d895d4d9c4cb2a9b96bb86c08b, type: 3} 746 | m_Name: 747 | m_EditorClassIdentifier: 748 | deviceStreamingMode: 1 749 | deviceIndex: 0 750 | recordingFile: 751 | minDistance: 0.5 752 | maxDistance: 10 753 | pointCloudResolution: 0 754 | pointCloudVertexTexture: {fileID: 8400000, guid: d8e773d5bbad0c05c965e6b888e86b55, 755 | type: 2} 756 | pointCloudColorTexture: {fileID: 8400000, guid: e96cdc3b37ad79be39d14ce547fe0da1, 757 | type: 2} 758 | colorCameraMode: 2 759 | depthCameraMode: 2 760 | deviceSyncMode: 0 761 | subDeviceDelayUsec: 0 762 | flipImuRotation: 0 763 | --- !u!1 &1096888512 764 | GameObject: 765 | m_ObjectHideFlags: 0 766 | m_CorrespondingSourceObject: {fileID: 0} 767 | m_PrefabInstance: {fileID: 0} 768 | m_PrefabAsset: {fileID: 0} 769 | serializedVersion: 6 770 | m_Component: 771 | - component: {fileID: 1096888513} 772 | - component: {fileID: 1096888516} 773 | - component: {fileID: 1096888515} 774 | - component: {fileID: 1096888514} 775 | m_Layer: 5 776 | m_Name: StatusText 777 | m_TagString: Untagged 778 | m_Icon: {fileID: 0} 779 | m_NavMeshLayer: 0 780 | m_StaticEditorFlags: 0 781 | m_IsActive: 1 782 | --- !u!224 &1096888513 783 | RectTransform: 784 | m_ObjectHideFlags: 0 785 | m_CorrespondingSourceObject: {fileID: 0} 786 | m_PrefabInstance: {fileID: 0} 787 | m_PrefabAsset: {fileID: 0} 788 | m_GameObject: {fileID: 1096888512} 789 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 790 | m_LocalPosition: {x: 0, y: 0, z: 0} 791 | m_LocalScale: {x: 1, y: 1, z: 1} 792 | m_Children: [] 793 | m_Father: {fileID: 1881785061} 794 | m_RootOrder: 0 795 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 796 | m_AnchorMin: {x: 0, y: 1} 797 | m_AnchorMax: {x: 1, y: 1} 798 | m_AnchoredPosition: {x: 5, y: -10} 799 | m_SizeDelta: {x: -10, y: 50} 800 | m_Pivot: {x: 0.5, y: 1} 801 | --- !u!114 &1096888514 802 | MonoBehaviour: 803 | m_ObjectHideFlags: 0 804 | m_CorrespondingSourceObject: {fileID: 0} 805 | m_PrefabInstance: {fileID: 0} 806 | m_PrefabAsset: {fileID: 0} 807 | m_GameObject: {fileID: 1096888512} 808 | m_Enabled: 1 809 | m_EditorHideFlags: 0 810 | m_Script: {fileID: 1573420865, guid: f70555f144d8491a825f0804e09c671c, type: 3} 811 | m_Name: 812 | m_EditorClassIdentifier: 813 | m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} 814 | m_EffectDistance: {x: 2, y: -2} 815 | m_UseGraphicAlpha: 1 816 | --- !u!114 &1096888515 817 | MonoBehaviour: 818 | m_ObjectHideFlags: 0 819 | m_CorrespondingSourceObject: {fileID: 0} 820 | m_PrefabInstance: {fileID: 0} 821 | m_PrefabAsset: {fileID: 0} 822 | m_GameObject: {fileID: 1096888512} 823 | m_Enabled: 1 824 | m_EditorHideFlags: 0 825 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 826 | m_Name: 827 | m_EditorClassIdentifier: 828 | m_Material: {fileID: 0} 829 | m_Color: {r: 1, g: 1, b: 1, a: 1} 830 | m_RaycastTarget: 1 831 | m_OnCullStateChanged: 832 | m_PersistentCalls: 833 | m_Calls: [] 834 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 835 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 836 | m_FontData: 837 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 838 | m_FontSize: 20 839 | m_FontStyle: 0 840 | m_BestFit: 0 841 | m_MinSize: 2 842 | m_MaxSize: 40 843 | m_Alignment: 0 844 | m_AlignByGeometry: 0 845 | m_RichText: 1 846 | m_HorizontalOverflow: 0 847 | m_VerticalOverflow: 0 848 | m_LineSpacing: 1 849 | m_Text: 850 | --- !u!222 &1096888516 851 | CanvasRenderer: 852 | m_ObjectHideFlags: 0 853 | m_CorrespondingSourceObject: {fileID: 0} 854 | m_PrefabInstance: {fileID: 0} 855 | m_PrefabAsset: {fileID: 0} 856 | m_GameObject: {fileID: 1096888512} 857 | m_CullTransparentMesh: 0 858 | --- !u!1 &1881785057 859 | GameObject: 860 | m_ObjectHideFlags: 0 861 | m_CorrespondingSourceObject: {fileID: 0} 862 | m_PrefabInstance: {fileID: 0} 863 | m_PrefabAsset: {fileID: 0} 864 | serializedVersion: 6 865 | m_Component: 866 | - component: {fileID: 1881785061} 867 | - component: {fileID: 1881785060} 868 | - component: {fileID: 1881785059} 869 | - component: {fileID: 1881785058} 870 | m_Layer: 5 871 | m_Name: Canvas 872 | m_TagString: Untagged 873 | m_Icon: {fileID: 0} 874 | m_NavMeshLayer: 0 875 | m_StaticEditorFlags: 0 876 | m_IsActive: 1 877 | --- !u!114 &1881785058 878 | MonoBehaviour: 879 | m_ObjectHideFlags: 0 880 | m_CorrespondingSourceObject: {fileID: 0} 881 | m_PrefabInstance: {fileID: 0} 882 | m_PrefabAsset: {fileID: 0} 883 | m_GameObject: {fileID: 1881785057} 884 | m_Enabled: 1 885 | m_EditorHideFlags: 0 886 | m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 887 | m_Name: 888 | m_EditorClassIdentifier: 889 | m_IgnoreReversedGraphics: 1 890 | m_BlockingObjects: 0 891 | m_BlockingMask: 892 | serializedVersion: 2 893 | m_Bits: 4294967295 894 | --- !u!114 &1881785059 895 | MonoBehaviour: 896 | m_ObjectHideFlags: 0 897 | m_CorrespondingSourceObject: {fileID: 0} 898 | m_PrefabInstance: {fileID: 0} 899 | m_PrefabAsset: {fileID: 0} 900 | m_GameObject: {fileID: 1881785057} 901 | m_Enabled: 1 902 | m_EditorHideFlags: 0 903 | m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 904 | m_Name: 905 | m_EditorClassIdentifier: 906 | m_UiScaleMode: 0 907 | m_ReferencePixelsPerUnit: 100 908 | m_ScaleFactor: 1 909 | m_ReferenceResolution: {x: 800, y: 600} 910 | m_ScreenMatchMode: 0 911 | m_MatchWidthOrHeight: 0 912 | m_PhysicalUnit: 3 913 | m_FallbackScreenDPI: 96 914 | m_DefaultSpriteDPI: 96 915 | m_DynamicPixelsPerUnit: 1 916 | --- !u!223 &1881785060 917 | Canvas: 918 | m_ObjectHideFlags: 0 919 | m_CorrespondingSourceObject: {fileID: 0} 920 | m_PrefabInstance: {fileID: 0} 921 | m_PrefabAsset: {fileID: 0} 922 | m_GameObject: {fileID: 1881785057} 923 | m_Enabled: 1 924 | serializedVersion: 3 925 | m_RenderMode: 0 926 | m_Camera: {fileID: 0} 927 | m_PlaneDistance: 100 928 | m_PixelPerfect: 0 929 | m_ReceivesEvents: 1 930 | m_OverrideSorting: 0 931 | m_OverridePixelPerfect: 0 932 | m_SortingBucketNormalizedSize: 0 933 | m_AdditionalShaderChannelsFlag: 1 934 | m_SortingLayerID: 0 935 | m_SortingOrder: 0 936 | m_TargetDisplay: 0 937 | --- !u!224 &1881785061 938 | RectTransform: 939 | m_ObjectHideFlags: 0 940 | m_CorrespondingSourceObject: {fileID: 0} 941 | m_PrefabInstance: {fileID: 0} 942 | m_PrefabAsset: {fileID: 0} 943 | m_GameObject: {fileID: 1881785057} 944 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 945 | m_LocalPosition: {x: 0, y: 0, z: 0} 946 | m_LocalScale: {x: 0, y: 0, z: 0} 947 | m_Children: 948 | - {fileID: 1096888513} 949 | m_Father: {fileID: 0} 950 | m_RootOrder: 2 951 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 952 | m_AnchorMin: {x: 0, y: 0} 953 | m_AnchorMax: {x: 0, y: 0} 954 | m_AnchoredPosition: {x: 0, y: 0} 955 | m_SizeDelta: {x: 0, y: 0} 956 | m_Pivot: {x: 0, y: 0} 957 | --- !u!1 &2031604915 958 | GameObject: 959 | m_ObjectHideFlags: 0 960 | m_CorrespondingSourceObject: {fileID: 0} 961 | m_PrefabInstance: {fileID: 0} 962 | m_PrefabAsset: {fileID: 0} 963 | serializedVersion: 6 964 | m_Component: 965 | - component: {fileID: 2031604917} 966 | - component: {fileID: 2031604916} 967 | m_Layer: 0 968 | m_Name: KinectController 969 | m_TagString: Untagged 970 | m_Icon: {fileID: 0} 971 | m_NavMeshLayer: 0 972 | m_StaticEditorFlags: 0 973 | m_IsActive: 1 974 | --- !u!114 &2031604916 975 | MonoBehaviour: 976 | m_ObjectHideFlags: 0 977 | m_CorrespondingSourceObject: {fileID: 0} 978 | m_PrefabInstance: {fileID: 0} 979 | m_PrefabAsset: {fileID: 0} 980 | m_GameObject: {fileID: 2031604915} 981 | m_Enabled: 1 982 | m_EditorHideFlags: 0 983 | m_Script: {fileID: 11500000, guid: 6b531f336dfee5f438f94ed501caefc7, type: 3} 984 | m_Name: 985 | m_EditorClassIdentifier: 986 | getDepthFrames: 2 987 | getColorFrames: 2 988 | getInfraredFrames: 0 989 | getPoseFrames: 0 990 | syncDepthAndColor: 1 991 | displayImages: 02000000 992 | displayImageWidthPercent: 0.2 993 | statusInfoText: {fileID: 1096888515} 994 | --- !u!4 &2031604917 995 | Transform: 996 | m_ObjectHideFlags: 0 997 | m_CorrespondingSourceObject: {fileID: 0} 998 | m_PrefabInstance: {fileID: 0} 999 | m_PrefabAsset: {fileID: 0} 1000 | m_GameObject: {fileID: 2031604915} 1001 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 1002 | m_LocalPosition: {x: 0, y: 0, z: 0} 1003 | m_LocalScale: {x: 1, y: 1, z: 1} 1004 | m_Children: 1005 | - {fileID: 513337505} 1006 | m_Father: {fileID: 0} 1007 | m_RootOrder: 5 1008 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1009 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectDemos/PointCloudDemo/VfxPointCloudDemo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 523b4192f5644f84b8164e19e8be58e1 3 | timeCreated: 1457126252 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a85012640094184b9a055de55b8416c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts/BackgroundColorImage.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using com.rfilkov.kinect; 4 | 5 | 6 | namespace com.rfilkov.components 7 | { 8 | /// 9 | /// Background color image is component that displays the color camera feed on RawImage texture, usually the scene background. 10 | /// 11 | public class BackgroundColorImage : MonoBehaviour 12 | { 13 | [Tooltip("Depth sensor index - 0 is the 1st one, 1 - the 2nd one, etc.")] 14 | public int sensorIndex = 0; 15 | 16 | [Tooltip("RawImage used to display the color camera feed.")] 17 | public UnityEngine.UI.RawImage backgroundImage; 18 | 19 | [Tooltip("Camera used to display the background image. Set it, if you'd like to allow background image to resize, to match the color image's aspect ratio.")] 20 | public Camera backgroundCamera; 21 | 22 | 23 | void Start() 24 | { 25 | if (backgroundImage == null) 26 | { 27 | backgroundImage = GetComponent(); 28 | } 29 | } 30 | 31 | 32 | void Update() 33 | { 34 | KinectManager kinectManager = KinectManager.Instance; 35 | 36 | if (kinectManager && kinectManager.IsInitialized()) 37 | { 38 | if (backgroundImage && (backgroundImage.texture == null)) 39 | { 40 | backgroundImage.texture = kinectManager.GetColorImageTex(sensorIndex); 41 | backgroundImage.rectTransform.localScale = kinectManager.GetColorImageScale(sensorIndex); 42 | backgroundImage.color = Color.white; 43 | 44 | //Debug.Log("aPos: " + backgroundImage.rectTransform.anchoredPosition + ", aMin: " + backgroundImage.rectTransform.anchorMin + 45 | // ", aMax:" + backgroundImage.rectTransform.anchorMax + ", pivot: " + backgroundImage.rectTransform.pivot + 46 | // ", size: " + backgroundImage.rectTransform.sizeDelta); 47 | 48 | if (backgroundCamera != null) 49 | { 50 | // adjust image's size and position to match the stream aspect ratio 51 | int depthImageWidth = kinectManager.GetColorImageWidth(sensorIndex); 52 | int depthImageHeight = kinectManager.GetColorImageHeight(sensorIndex); 53 | 54 | float cameraWidth = backgroundCamera.pixelRect.width; 55 | float cameraHeight = backgroundCamera.pixelRect.height; 56 | 57 | RectTransform rectImage = backgroundImage.rectTransform; 58 | float rectWidth = (rectImage.anchorMin.x != rectImage.anchorMax.x) ? cameraWidth * (rectImage.anchorMax.x - rectImage.anchorMin.x) : rectImage.sizeDelta.x; 59 | float rectHeight = (rectImage.anchorMin.y != rectImage.anchorMax.y) ? cameraHeight * (rectImage.anchorMax.y - rectImage.anchorMin.y) : rectImage.sizeDelta.y; 60 | 61 | if (rectWidth > rectHeight) 62 | rectWidth = rectHeight * depthImageWidth / depthImageHeight; 63 | else 64 | rectHeight = rectWidth * depthImageHeight / depthImageWidth; 65 | 66 | Vector2 pivotOffset = (rectImage.pivot - new Vector2(0.5f, 0.5f)) * 2f; 67 | Vector2 imageScale = (Vector2)kinectManager.GetColorImageScale(sensorIndex); 68 | Vector2 anchorPos = rectImage.anchoredPosition + pivotOffset * imageScale * new Vector2(rectWidth, rectHeight); 69 | 70 | if (rectImage.anchorMin.x != rectImage.anchorMax.x) 71 | { 72 | rectWidth = -(cameraWidth - rectWidth); 73 | } 74 | 75 | if (rectImage.anchorMin.y != rectImage.anchorMax.y) 76 | { 77 | rectHeight = -(cameraHeight - rectHeight); 78 | } 79 | 80 | rectImage.sizeDelta = new Vector2(rectWidth, rectHeight); 81 | rectImage.anchoredPosition = anchorPos; 82 | } 83 | } 84 | } 85 | } 86 | 87 | } 88 | } 89 | 90 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts/BackgroundColorImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c68913127bedcd4bbd001b610521305 3 | timeCreated: 1481733120 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts/BackgroundDepthImage.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using com.rfilkov.kinect; 4 | 5 | 6 | namespace com.rfilkov.components 7 | { 8 | /// 9 | /// Background depth image is component that displays the depth camera image on RawImage texture, usually the scene background. 10 | /// 11 | public class BackgroundDepthImage : MonoBehaviour 12 | { 13 | [Tooltip("Depth sensor index - 0 is the 1st one, 1 - the 2nd one, etc.")] 14 | public int sensorIndex = 0; 15 | 16 | [Tooltip("RawImage used to display the depth image.")] 17 | public UnityEngine.UI.RawImage backgroundImage; 18 | 19 | [Tooltip("Camera used to display the background image. Set it, if you'd like to allow background image to resize, to match the depth image's aspect ratio.")] 20 | public Camera backgroundCamera; 21 | 22 | 23 | void Start() 24 | { 25 | if (backgroundImage == null) 26 | { 27 | backgroundImage = GetComponent(); 28 | } 29 | } 30 | 31 | 32 | void Update() 33 | { 34 | KinectManager kinectManager = KinectManager.Instance; 35 | 36 | if (kinectManager && kinectManager.IsInitialized()) 37 | { 38 | if (backgroundImage && (backgroundImage.texture == null)) 39 | { 40 | // set texture and scale 41 | backgroundImage.texture = kinectManager.GetDepthImageTex(sensorIndex); 42 | backgroundImage.rectTransform.localScale = kinectManager.GetDepthImageScale(sensorIndex); 43 | backgroundImage.color = Color.white; 44 | 45 | if (backgroundCamera != null) 46 | { 47 | // adjust image's size and position to match the stream aspect ratio 48 | int depthImageWidth = kinectManager.GetDepthImageWidth(sensorIndex); 49 | int depthImageHeight = kinectManager.GetDepthImageHeight(sensorIndex); 50 | 51 | float cameraWidth = backgroundCamera.pixelRect.width; 52 | float cameraHeight = backgroundCamera.pixelRect.height; 53 | 54 | RectTransform rectImage = backgroundImage.rectTransform; 55 | float rectWidth = (rectImage.anchorMin.x != rectImage.anchorMax.x) ? cameraWidth * (rectImage.anchorMax.x - rectImage.anchorMin.x) : rectImage.sizeDelta.x; 56 | float rectHeight = (rectImage.anchorMin.y != rectImage.anchorMax.y) ? cameraHeight * (rectImage.anchorMax.y - rectImage.anchorMin.y) : rectImage.sizeDelta.y; 57 | 58 | if (rectWidth > rectHeight) 59 | rectWidth = rectHeight * depthImageWidth / depthImageHeight; 60 | else 61 | rectHeight = rectWidth * depthImageHeight / depthImageWidth; 62 | 63 | Vector2 pivotOffset = (rectImage.pivot - new Vector2(0.5f, 0.5f)) * 2f; 64 | Vector2 imageScale = (Vector2)kinectManager.GetDepthImageScale(sensorIndex); 65 | Vector2 anchorPos = rectImage.anchoredPosition + pivotOffset * imageScale * new Vector2(rectWidth, rectHeight); 66 | 67 | if (rectImage.anchorMin.x != rectImage.anchorMax.x) 68 | { 69 | rectWidth = -(cameraWidth - rectWidth); 70 | } 71 | 72 | if (rectImage.anchorMin.y != rectImage.anchorMax.y) 73 | { 74 | rectHeight = -(cameraHeight - rectHeight); 75 | } 76 | 77 | rectImage.sizeDelta = new Vector2(rectWidth, rectHeight); 78 | rectImage.anchoredPosition = anchorPos; 79 | } 80 | } 81 | } 82 | } 83 | 84 | } 85 | } 86 | 87 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts/BackgroundDepthImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65268b386677b334bbfd2f6ec3e726fb 3 | timeCreated: 1483707326 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts/FollowSensorTransform.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using com.rfilkov.kinect; 5 | 6 | 7 | namespace com.rfilkov.components 8 | { 9 | /// 10 | /// This component makes the game object follow the transform of the given sensor. 11 | /// 12 | public class FollowSensorTransform : MonoBehaviour 13 | { 14 | [Tooltip("Depth sensor index - 0 is the 1st one, 1 - the 2nd one, etc.")] 15 | public int sensorIndex = 0; 16 | 17 | [Tooltip("Smooth factor used for the game object movement and rotation.")] 18 | public float smoothFactor = 0f; 19 | 20 | 21 | // reference to the KinectManager 22 | private KinectManager kinectManager = null; 23 | 24 | 25 | void Start() 26 | { 27 | // get reference to KinectManager 28 | kinectManager = KinectManager.Instance; 29 | } 30 | 31 | void Update() 32 | { 33 | if(kinectManager && kinectManager.IsInitialized()) 34 | { 35 | Transform sensorTrans = kinectManager.GetSensorTransform(sensorIndex); 36 | 37 | if(sensorTrans) 38 | { 39 | if(smoothFactor != 0f) 40 | { 41 | transform.position = Vector3.Lerp(transform.position, sensorTrans.position, smoothFactor * Time.deltaTime); 42 | transform.rotation = Quaternion.Slerp(transform.rotation, sensorTrans.rotation, smoothFactor * Time.deltaTime); 43 | } 44 | else 45 | { 46 | transform.position = sensorTrans.position; 47 | transform.rotation = sensorTrans.rotation; 48 | } 49 | } 50 | } 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts/FollowSensorTransform.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9a17e9eb7ba629243bfc955c820d04a1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts/Interfaces.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9170a0cec4179764c9b1bf2a9a9c38f6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts/Interfaces/DepthSensorBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73b91e3d1fd43b147958460a9f767c75 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts/Interfaces/DepthSensorInterface.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | 5 | namespace com.rfilkov.kinect 6 | { 7 | public interface DepthSensorInterface 8 | { 9 | // returns the depth sensor platform 10 | KinectInterop.DepthSensorPlatform GetSensorPlatform(); 11 | 12 | // returns the list of available sensors, controlled by this sensor interface 13 | List GetAvailableSensors(); 14 | 15 | // opens the given sensor and inits needed resources. returns new sensor-data object 16 | KinectInterop.SensorData OpenSensor(KinectInterop.FrameSource dwFlags, bool bSyncDepthAndColor, bool bSyncBodyAndDepth); 17 | 18 | // initializes the secondary sensor data, after sensor initialization 19 | void InitSensorData(KinectInterop.SensorData sensorData, KinectManager kinectManager); 20 | 21 | // closes the sensor and frees used resources 22 | void CloseSensor(KinectInterop.SensorData sensorData); 23 | 24 | // polls data frames in the sensor-specific thread 25 | void PollSensorFrames(KinectInterop.SensorData sensorData); 26 | 27 | // polls coordinate transformation frames and data in the sensor-specific thread 28 | void PollCoordTransformFrames(KinectInterop.SensorData sensorData); 29 | 30 | // post-processes the sensor data after polling 31 | void ProcessSensorDataInThread(KinectInterop.SensorData sensorData); 32 | 33 | // updates sensor data, if needed 34 | // returns true if update is successful, false otherwise 35 | bool UpdateSensorData(KinectInterop.SensorData sensorData, KinectManager kinectManager); 36 | 37 | // updates coordinate mapping data, if needed 38 | // returns true if update is successful, false otherwise 39 | bool UpdateFrameTransformData(KinectInterop.SensorData sensorData, KinectManager kinectManager); 40 | 41 | // updates the selected sensor textures, if needed 42 | // returns true if update is successful, false otherwise 43 | bool UpdateSensorTextures(KinectInterop.SensorData sensorData, KinectManager kinectManager, ulong prevDepthFrameTime); 44 | 45 | // returns sensor-to-world matrix 46 | Matrix4x4 GetSensorToWorldMatrix(); 47 | 48 | // returns sensor transform. Please note transform updates depend on the getPoseFrames-KM setting. 49 | Transform GetSensorTransform(); 50 | 51 | // returns 3d space coordinates for the given depth frame point 52 | Vector3 MapDepthPointToSpaceCoords(KinectInterop.SensorData sensorData, Vector2 depthPos, ushort depthVal); 53 | 54 | // returns depth frame coordinates for the given 3d space point 55 | Vector2 MapSpacePointToDepthCoords(KinectInterop.SensorData sensorData, Vector3 spacePos); 56 | 57 | // returns 3d space coordinates for the given color frame point 58 | Vector3 MapColorPointToSpaceCoords(KinectInterop.SensorData sensorData, Vector2 colorPos, ushort depthVal); 59 | 60 | // returns color frame coordinates for the given 3d space point 61 | Vector2 MapSpacePointToColorCoords(KinectInterop.SensorData sensorData, Vector3 spacePos); 62 | 63 | // returns color-space coordinates for the given depth point 64 | Vector2 MapDepthPointToColorCoords(KinectInterop.SensorData sensorData, Vector2 depthPos, ushort depthVal); 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts/Interfaces/DepthSensorInterface.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87d17d44f68821041bda50d9aa091b2a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts/Interfaces/Kinect4AzureInterface.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using Microsoft.Azure.Kinect.Sensor; 5 | using System; 6 | 7 | namespace com.rfilkov.kinect 8 | { 9 | public class Kinect4AzureInterface : DepthSensorBase 10 | { 11 | [Tooltip("Color camera resolution.")] 12 | public ColorCameraMode colorCameraMode = ColorCameraMode._1920_x_1080_30Fps; 13 | public enum ColorCameraMode : int { _1280_x_720_30Fps = 1, _1920_x_1080_30Fps = 2, _2560_x_1440_30Fps = 3, _2048_x_1536_30Fps = 4, _3840_x_2160_30Fps = 5, _4096_x_3072_15Fps = 6 } 14 | 15 | [Tooltip("Depth camera mode.")] 16 | public DepthCameraMode depthCameraMode = DepthCameraMode._640_x_576_30Fps_3_86mNfov; 17 | public enum DepthCameraMode : int { _320_x_288_30Fps_5_46mNfov = 1, _640_x_576_30Fps_3_86mNfov = 2, _512_x_512_30Fps_2_88mWfov = 3, _1024x1024_15Fps_2_21mWfov = 4, PassiveIR_30Fps = 5 } 18 | 19 | [Tooltip("Device sync mode, in case of multiple wired sensors.")] 20 | public WiredSyncMode deviceSyncMode = WiredSyncMode.Standalone; 21 | 22 | [Tooltip("Subordinate device delay off master (in usec), in case of multiple wired sensors.")] 23 | public int subDeviceDelayUsec = 0; 24 | 25 | [Tooltip("Whether to flip the IMU rotation.")] 26 | public bool flipImuRotation = false; 27 | 28 | 29 | // references to the sensor 30 | public Device kinectSensor = null; 31 | public Calibration coordMapper; 32 | public Transformation coordMapperTransform = null; 33 | 34 | // playback and record 35 | public Playback kinectPlayback = null; 36 | private long playbackStartTime = 0; 37 | 38 | // status of the cameras 39 | private bool isCamerasStarted = false; 40 | private bool isImuStarted = false; 41 | 42 | // current frame number 43 | private ulong currentFrameNumber = 0; 44 | private TimeSpan timeToWait = TimeSpan.FromMilliseconds(0); 45 | 46 | // imu 47 | private ImuSample lastImuSample = null; 48 | private ImuSample curImuSample = null; 49 | 50 | 51 | 52 | public override KinectInterop.DepthSensorPlatform GetSensorPlatform() 53 | { 54 | return KinectInterop.DepthSensorPlatform.Kinect4Azure; 55 | } 56 | 57 | public override List GetAvailableSensors() 58 | { 59 | List alSensorInfo = new List(); 60 | 61 | int deviceCount = Device.GetInstalledCount(); 62 | for (int i = 0; i < deviceCount; i++) 63 | { 64 | KinectInterop.SensorDeviceInfo sensorInfo = new KinectInterop.SensorDeviceInfo(); 65 | sensorInfo.sensorId = i.ToString(); 66 | sensorInfo.sensorName = "Kinect4Azure"; 67 | 68 | sensorInfo.sensorCaps = KinectInterop.FrameSource.TypeAll; 69 | 70 | Debug.Log(string.Format(" D{0}: {1}, id: {2}", i, sensorInfo.sensorName, sensorInfo.sensorId)); 71 | 72 | alSensorInfo.Add(sensorInfo); 73 | } 74 | 75 | //if (alSensorInfo.Count == 0) 76 | //{ 77 | // Debug.Log(" No sensor devices found."); 78 | //} 79 | 80 | return alSensorInfo; 81 | } 82 | 83 | public override KinectInterop.SensorData OpenSensor(KinectInterop.FrameSource dwFlags, bool bSyncDepthAndColor, bool bSyncBodyAndDepth) 84 | { 85 | // save initial parameters 86 | base.OpenSensor(dwFlags, bSyncDepthAndColor, bSyncBodyAndDepth); 87 | 88 | // ensure resources are in path 89 | //KinectInterop.CopyResourceFile("depthengine_1_0.x64.dll", "depthengine_1_0.dll"); 90 | KinectInterop.CopyResourceFile("onnxruntime.dll", "onnxruntime.dll"); 91 | KinectInterop.CopyResourceFile("dnn_model.onnx", "dnn_model.onnx"); 92 | 93 | // try to open the sensor or play back the recording 94 | KinectInterop.SensorData sensorData = new KinectInterop.SensorData(); 95 | 96 | if (deviceStreamingMode == KinectInterop.DeviceStreamingMode.PlayRecording) 97 | { 98 | if (string.IsNullOrEmpty(recordingFile)) 99 | { 100 | Debug.LogError("Playback selected, but the path to recording file is missing."); 101 | return null; 102 | } 103 | 104 | if (!System.IO.File.Exists(recordingFile)) 105 | { 106 | Debug.LogError("PlayRecording selected, but the recording file cannot be found: " + recordingFile); 107 | return null; 108 | } 109 | 110 | Debug.Log("Playing back: " + recordingFile); 111 | kinectPlayback = new Playback(recordingFile); 112 | 113 | colorCameraMode = (ColorCameraMode)kinectPlayback.playback_config.color_resolution; 114 | depthCameraMode = (DepthCameraMode)kinectPlayback.playback_config.depth_mode; 115 | deviceSyncMode = kinectPlayback.playback_config.wired_sync_mode; 116 | 117 | coordMapper = kinectPlayback.playback_calibration; 118 | playbackStartTime = DateTime.Now.Ticks; 119 | 120 | Debug.Log(string.Format("color_track_enabled: {0}, depth_track_enabled: {1}, ir_track_enabled: {2}, imu_track_enabled: {3}, depth_delay_off_color_usec: {4}", 121 | kinectPlayback.playback_config.color_track_enabled, kinectPlayback.playback_config.depth_track_enabled, 122 | kinectPlayback.playback_config.ir_track_enabled, kinectPlayback.playback_config.imu_track_enabled, 123 | kinectPlayback.playback_config.depth_delay_off_color_usec)); 124 | } 125 | else 126 | { 127 | List alSensors = GetAvailableSensors(); 128 | if (deviceIndex >= alSensors.Count) 129 | { 130 | Debug.Log(" D" + deviceIndex + " is not available. You can set the device index to -1, to disable it."); 131 | return null; 132 | } 133 | 134 | // try to open the sensor 135 | kinectSensor = Device.Open(deviceIndex); 136 | if (kinectSensor == null) 137 | { 138 | Debug.LogError(" D" + recordingFile + " cannot be opened."); 139 | return null; 140 | } 141 | 142 | DeviceConfiguration kinectConfig = new DeviceConfiguration(); 143 | kinectConfig.SynchronizedImagesOnly = isSyncDepthAndColor; 144 | kinectConfig.WiredSyncMode = deviceSyncMode; 145 | kinectConfig.SuboridinateDelayOffMaster = new TimeSpan(subDeviceDelayUsec * 10); 146 | 147 | // color 148 | kinectConfig.ColorFormat = ImageFormat.ColorBGRA32; 149 | if ((dwFlags & KinectInterop.FrameSource.TypeColor) != 0) 150 | { 151 | kinectConfig.ColorResolution = (ColorResolution)colorCameraMode; 152 | } 153 | else 154 | { 155 | kinectConfig.ColorResolution = ColorResolution.Off; 156 | } 157 | 158 | // depth 159 | if ((dwFlags & KinectInterop.FrameSource.TypeDepth) != 0) 160 | { 161 | kinectConfig.DepthMode = (DepthMode)depthCameraMode; 162 | } 163 | else 164 | { 165 | kinectConfig.DepthMode = DepthMode.Off; 166 | } 167 | 168 | // fps 169 | if (colorCameraMode != ColorCameraMode._4096_x_3072_15Fps && depthCameraMode != DepthCameraMode._1024x1024_15Fps_2_21mWfov) 170 | { 171 | kinectConfig.CameraFPS = FPS.FPS30; 172 | } 173 | else 174 | { 175 | kinectConfig.CameraFPS = FPS.FPS15; 176 | } 177 | 178 | // infrared 179 | if ((dwFlags & KinectInterop.FrameSource.TypeInfrared) != 0) 180 | { 181 | // ?? 182 | } 183 | 184 | // start the cameras 185 | kinectSensor.StartCameras(kinectConfig); 186 | isCamerasStarted = true; 187 | 188 | if ((dwFlags & KinectInterop.FrameSource.TypePose) != 0) 189 | { 190 | // start the IMU 191 | kinectSensor.StartImu(); 192 | isImuStarted = true; 193 | } 194 | 195 | // get reference to the coordinate mapper 196 | coordMapper = kinectSensor.GetCalibration(); 197 | } 198 | 199 | // reset the frame number 200 | currentFrameNumber = 0; 201 | 202 | // flip color & depth image vertically 203 | sensorData.colorImageScale = new Vector3(-1f, -1f, 1f); 204 | sensorData.depthImageScale = new Vector3(-1f, -1f, 1f); 205 | sensorData.infraredImageScale = new Vector3(-1f, -1f, 1f); 206 | sensorData.sensorSpaceScale = new Vector3(-1f, -1f, 1f); 207 | 208 | // color camera data & intrinsics 209 | sensorData.colorImageFormat = TextureFormat.BGRA32; 210 | sensorData.colorImageStride = 4; // 4 bytes per pixel 211 | 212 | if ((dwFlags & KinectInterop.FrameSource.TypeColor) != 0) 213 | { 214 | CameraCalibration colorCamera = coordMapper.ColorCameraCalibration; 215 | sensorData.colorImageWidth = colorCamera.ResolutionWidth; 216 | sensorData.colorImageHeight = colorCamera.ResolutionHeight; 217 | 218 | rawColorImage = new byte[sensorData.colorImageWidth * sensorData.colorImageHeight * 4]; 219 | 220 | sensorData.colorImageTexture = new Texture2D(sensorData.colorImageWidth, sensorData.colorImageHeight, TextureFormat.BGRA32, false); 221 | sensorData.colorImageTexture.wrapMode = TextureWrapMode.Clamp; 222 | sensorData.colorImageTexture.filterMode = FilterMode.Point; 223 | } 224 | 225 | // depth camera data & intrinsics 226 | if ((dwFlags & KinectInterop.FrameSource.TypeDepth) != 0) 227 | { 228 | CameraCalibration depthCamera = coordMapper.DepthCameraCalibration; 229 | sensorData.depthImageWidth = depthCamera.ResolutionWidth; 230 | sensorData.depthImageHeight = depthCamera.ResolutionHeight; 231 | 232 | rawDepthImage = new ushort[sensorData.depthImageWidth * sensorData.depthImageHeight]; 233 | sensorData.depthImage = new ushort[sensorData.depthImageWidth * sensorData.depthImageHeight]; 234 | } 235 | 236 | // infrared data 237 | if ((dwFlags & KinectInterop.FrameSource.TypeInfrared) != 0) 238 | { 239 | if (sensorData.depthImageWidth == 0 || sensorData.depthImageHeight == 0) 240 | { 241 | CameraCalibration depthCamera = coordMapper.DepthCameraCalibration; 242 | sensorData.depthImageWidth = depthCamera.ResolutionWidth; 243 | sensorData.depthImageHeight = depthCamera.ResolutionHeight; 244 | } 245 | 246 | rawInfraredImage = new ushort[sensorData.depthImageWidth * sensorData.depthImageHeight]; 247 | sensorData.infraredImage = new ushort[sensorData.depthImageWidth * sensorData.depthImageHeight]; 248 | } 249 | 250 | // calibration data 251 | GetCameraIntrinsics(CalibrationDeviceType.Color, coordMapper.ColorCameraCalibration, ref sensorData.colorCamIntr); 252 | GetCameraIntrinsics(CalibrationDeviceType.Depth, coordMapper.DepthCameraCalibration, ref sensorData.depthCamIntr); 253 | GetCameraExtrinsics(coordMapper.ColorCameraCalibration.Extrinsics, ref sensorData.depth2ColorExtr); 254 | 255 | Debug.Log("Kinect4Azure-sensor opened."); 256 | 257 | return sensorData; 258 | } 259 | 260 | 261 | public override void CloseSensor(KinectInterop.SensorData sensorData) 262 | { 263 | base.CloseSensor(sensorData); 264 | 265 | if(coordMapperTransform != null) 266 | { 267 | // dispose CM transform 268 | coordMapperTransform.Dispose(); 269 | coordMapperTransform = null; 270 | } 271 | 272 | if(kinectPlayback != null) 273 | { 274 | // close the playback file 275 | kinectPlayback.Dispose(); 276 | kinectPlayback = null; 277 | } 278 | 279 | if (kinectSensor != null) 280 | { 281 | // stop cameras, if needed 282 | if(isCamerasStarted) 283 | { 284 | isCamerasStarted = false; 285 | kinectSensor.StopCameras(); 286 | } 287 | 288 | // stop IMU, if needed 289 | if(isImuStarted) 290 | { 291 | isImuStarted = false; 292 | kinectSensor.StopImu(); 293 | } 294 | 295 | // close the sensor 296 | kinectSensor.Dispose(); 297 | kinectSensor = null; 298 | } 299 | 300 | Debug.Log("Kinect4Azure-sensor closed."); 301 | 302 | } 303 | 304 | 305 | public override void PollSensorFrames(KinectInterop.SensorData sensorData) 306 | { 307 | try 308 | { 309 | if (kinectPlayback != null) 310 | { 311 | if (kinectPlayback.IsEndOfStream()) 312 | return; 313 | 314 | long currentPlayTime = DateTime.Now.Ticks - playbackStartTime; 315 | 316 | if ((frameSourceFlags & (KinectInterop.FrameSource)0x7F) != 0) 317 | { 318 | kinectPlayback.SeekTimestamp((ulong)(currentPlayTime / 10)); 319 | Capture capture = kinectPlayback.GetNextCapture(); 320 | 321 | if (capture != null) 322 | { 323 | ProcessCameraFrame(sensorData, capture); 324 | capture.Dispose(); 325 | 326 | currentFrameNumber++; 327 | } 328 | else 329 | { 330 | Debug.Log("End of recording detected."); 331 | } 332 | } 333 | 334 | //if ((frameSourceFlags & KinectInterop.FrameSource.TypePose) != 0) 335 | //{ 336 | // ImuSample imuSample = kinectPlayback.GetNextImuSample(); 337 | 338 | // while (imuSample != null) 339 | // { 340 | // ProcessImuFrame(imuSample); 341 | 342 | // ulong imuTimestamp = (ulong)imuSample.AccelerometerTimestamp.Ticks; 343 | // if (kinectPlayback.IsEndOfStream() || imuTimestamp >= rawDepthTimestamp) 344 | // break; 345 | 346 | // imuSample = kinectPlayback.GetNextImuSample(); 347 | // } 348 | //} 349 | } 350 | else 351 | { 352 | if (isCamerasStarted) 353 | { 354 | Capture capture = kinectSensor.GetCapture(timeToWait); 355 | ProcessCameraFrame(sensorData, capture); 356 | capture.Dispose(); 357 | 358 | currentFrameNumber++; 359 | } 360 | 361 | if (isImuStarted) 362 | { 363 | ImuSample imuSample = kinectSensor.GetImuSample(timeToWait); 364 | 365 | while(imuSample != null) 366 | { 367 | ProcessImuFrame(imuSample); 368 | imuSample = kinectSensor.GetImuSample(timeToWait); 369 | } 370 | } 371 | } 372 | } 373 | catch (System.TimeoutException) 374 | { 375 | // do nothing 376 | } 377 | catch (System.Exception ex) 378 | { 379 | Debug.LogException(ex); 380 | } 381 | } 382 | 383 | 384 | // processes the camera frame 385 | private void ProcessCameraFrame(KinectInterop.SensorData sensorData, Capture capture) 386 | { 387 | // check for color & depth sync 388 | if (isSyncDepthAndColor && (capture.Color == null || capture.Depth == null)) 389 | return; 390 | 391 | try 392 | { 393 | // color frame 394 | if (capture.Color != null && rawColorImage != null) 395 | { 396 | //if (kinectPlayback != null) 397 | // WaitForPlaybackTimestamp("color", capture.Color.DeviceTimestamp.Ticks); 398 | 399 | lock (colorFrameLock) 400 | { 401 | capture.Color.CopyBytesTo(rawColorImage, 0, 0, rawColorImage.Length); 402 | 403 | rawColorTimestamp = (ulong)capture.Color.DeviceTimestamp.Ticks; 404 | colorFrameNumber = currentFrameNumber; 405 | //Debug.Log("RawColorTimestamp: " + rawColorTimestamp); 406 | } 407 | } 408 | 409 | // depth frame 410 | if (capture.Depth != null && rawDepthImage != null) 411 | { 412 | //if (kinectPlayback != null) 413 | // WaitForPlaybackTimestamp("depth", capture.Depth.DeviceTimestamp.Ticks); 414 | 415 | lock (depthFrameLock) 416 | { 417 | capture.Depth.CopyTo(rawDepthImage, 0, 0, rawDepthImage.Length); 418 | 419 | rawDepthTimestamp = (ulong)capture.Depth.DeviceTimestamp.Ticks; 420 | depthFrameNumber = currentFrameNumber; 421 | //Debug.Log("RawDepthTimestamp: " + rawDepthTimestamp); 422 | } 423 | } 424 | 425 | // infrared frame 426 | if (capture.IR != null && rawInfraredImage != null) 427 | { 428 | //if (kinectPlayback != null) 429 | // WaitForPlaybackTimestamp("ir", capture.IR.DeviceTimestamp.Ticks); 430 | 431 | lock (infraredFrameLock) 432 | { 433 | capture.IR.CopyTo(rawInfraredImage, 0, 0, rawInfraredImage.Length); 434 | 435 | rawInfraredTimestamp = (ulong)capture.IR.DeviceTimestamp.Ticks; 436 | infraredFrameNumber = currentFrameNumber; 437 | //Debug.Log("RawInfraredTimestamp: " + rawInfraredTimestamp); 438 | } 439 | } 440 | 441 | // transformation data frames 442 | if ((depth2ColorDataFrame != null || color2DepthDataFrame != null) && capture.Color != null && capture.Depth != null) 443 | { 444 | if (coordMapperTransform == null) 445 | { 446 | coordMapperTransform = coordMapper.CreateTransformation(); 447 | } 448 | 449 | if (depth2ColorDataFrame != null) 450 | { 451 | lock (depth2ColorFrameLock) 452 | { 453 | using (Image d2cColorData = coordMapperTransform.ColorImageToDepthCamera(capture)) 454 | { 455 | d2cColorData.CopyTo(depth2ColorDataFrame, 0, 0, depth2ColorDataFrame.Length); 456 | lastDepth2ColorFrameTime = (ulong)capture.Depth.DeviceTimestamp.Ticks; 457 | } 458 | } 459 | } 460 | 461 | if (color2DepthDataFrame != null) 462 | { 463 | lock (color2DepthFrameLock) 464 | { 465 | using (Image c2dDepthData = coordMapperTransform.DepthImageToColorCamera(capture)) 466 | { 467 | c2dDepthData.CopyTo(color2DepthDataFrame, 0, 0, color2DepthDataFrame.Length); 468 | lastColor2DepthFrameTime = (ulong)capture.Color.DeviceTimestamp.Ticks; 469 | } 470 | } 471 | } 472 | } 473 | } 474 | catch (System.Exception ex) 475 | { 476 | Debug.LogException(ex); 477 | } 478 | } 479 | 480 | 481 | //// in playback mode - waits until the given time stamp 482 | //private void WaitForPlaybackTimestamp(string frameSource, long frameTimestamp) 483 | //{ 484 | // //Debug.Log(string.Format("{0} ts: {1}, sys: {2}", frameSource, frameTimestamp, (DateTime.Now.Ticks - playbackStartTime))); 485 | 486 | // long currentPlayTime = DateTime.Now.Ticks - playbackStartTime; 487 | 488 | // while (currentPlayTime < frameTimestamp) 489 | // { 490 | // currentPlayTime = DateTime.Now.Ticks - playbackStartTime; 491 | // } 492 | //} 493 | 494 | // processes the IMU frame 495 | private void ProcessImuFrame(ImuSample imuSample) 496 | { 497 | if (kinectPlayback != null) 498 | { 499 | //WaitForPlaybackTimestamp("acc", imuSample.AccelerometerTimestampInUsec); 500 | //WaitForPlaybackTimestamp("gyro", imuSample.GyroTimestampInUsec); 501 | } 502 | 503 | lastImuSample = curImuSample; 504 | curImuSample = imuSample; 505 | } 506 | 507 | 508 | // gets the given camera intrinsics 509 | private void GetCameraIntrinsics(CalibrationDeviceType camType, CameraCalibration camParams, ref KinectInterop.CameraIntrinsics intr) 510 | { 511 | Intrinsics camIntr = camParams.Intrinsics; 512 | if (camIntr.Parameters.Length < 15) 513 | throw new System.Exception("Intrinsics length is less than expected: " + camIntr.ParameterCount); 514 | 515 | intr = new KinectInterop.CameraIntrinsics(); 516 | 517 | intr.cameraType = (int)camType; 518 | intr.width = camParams.ResolutionWidth; 519 | intr.height = camParams.ResolutionHeight; 520 | 521 | // 0 float cx; 522 | // 1 float cy; 523 | intr.ppx = camIntr.Parameters[0]; 524 | intr.ppy = camIntr.Parameters[1]; 525 | 526 | // 2 float fx; /**< Focal length x */ 527 | // 3 float fy; /**< Focal length y */ 528 | intr.fx = camIntr.Parameters[2]; 529 | intr.fy = camIntr.Parameters[3]; 530 | 531 | // 4 float k1; 532 | // 5 float k2; 533 | // 6 float k3; 534 | // 7 float k4; 535 | // 8 float k5; 536 | // 9 float k6; 537 | intr.distCoeffs = new float[6]; 538 | intr.distCoeffs[0] = camIntr.Parameters[4]; 539 | intr.distCoeffs[1] = camIntr.Parameters[5]; 540 | intr.distCoeffs[2] = camIntr.Parameters[6]; 541 | intr.distCoeffs[3] = camIntr.Parameters[7]; 542 | intr.distCoeffs[4] = camIntr.Parameters[8]; 543 | intr.distCoeffs[5] = camIntr.Parameters[9]; 544 | 545 | if (camIntr.Type == CalibrationModelType.Theta) 546 | intr.distType = KinectInterop.DistortionType.Theta; 547 | else if (camIntr.Type == CalibrationModelType.Polynomial3K) 548 | intr.distType = KinectInterop.DistortionType.Polynomial3K; 549 | else if (camIntr.Type == CalibrationModelType.Rational6KT) 550 | intr.distType = KinectInterop.DistortionType.Rational6KT; 551 | else 552 | intr.distType = (KinectInterop.DistortionType)camIntr.Type; 553 | 554 | // 10 float codx; 555 | // 11 float cody; 556 | intr.codx = camIntr.Parameters[10]; 557 | intr.cody = camIntr.Parameters[11]; 558 | 559 | // 12 float p2; 560 | // 13 float p1; 561 | intr.p2 = camIntr.Parameters[12]; 562 | intr.p1 = camIntr.Parameters[13]; 563 | 564 | // 14 float metric_radius; 565 | intr.maxRadius = camIntr.Parameters[14]; 566 | 567 | EstimateFOV(intr); 568 | } 569 | 570 | 571 | // gets the given camera extrinsics 572 | private void GetCameraExtrinsics(Extrinsics camExtr, ref KinectInterop.CameraExtrinsics extr) 573 | { 574 | extr = new KinectInterop.CameraExtrinsics(); 575 | 576 | extr.rotation = new float[camExtr.Rotation.Length]; 577 | camExtr.Rotation.CopyTo(extr.rotation, 0); 578 | 579 | extr.translation = new float[camExtr.Translation.Length]; 580 | camExtr.Translation.CopyTo(extr.translation, 0); 581 | } 582 | 583 | 584 | public override Vector2 MapDepthPointToColorCoords(KinectInterop.SensorData sensorData, Vector2 depthPos, ushort depthVal) 585 | { 586 | if (sensorData.depthCamIntr != null && sensorData.colorCamIntr != null && sensorData.depth2ColorExtr != null) 587 | { 588 | Vector3 depthSpacePos = UnprojectPoint(sensorData.depthCamIntr, depthPos, (float)depthVal); 589 | Vector3 colorSpacePos = TransformPoint(sensorData.depth2ColorExtr, depthSpacePos); 590 | Vector2 colorPos = ProjectPoint(sensorData.colorCamIntr, colorSpacePos); 591 | 592 | return colorPos; 593 | } 594 | 595 | return Vector2.zero; 596 | } 597 | 598 | 599 | // unprojects plane point into the space 600 | protected override Vector3 UnprojectPoint(KinectInterop.CameraIntrinsics intr, Vector2 pixel, float depth) 601 | { 602 | if (depth <= 0f) 603 | return Vector3.zero; 604 | 605 | System.Numerics.Vector2 fPixel = new System.Numerics.Vector2(pixel.x, pixel.y); 606 | System.Numerics.Vector3? fPoint = coordMapper.TransformTo3D(fPixel, depth, (CalibrationDeviceType)intr.cameraType, (CalibrationDeviceType)intr.cameraType); 607 | Vector3 point = fPoint.HasValue ? new Vector3(fPoint.Value.X, fPoint.Value.Y, fPoint.Value.Z) : Vector3.zero; 608 | 609 | return point; 610 | } 611 | 612 | 613 | // projects space point onto a plane 614 | protected override Vector2 ProjectPoint(KinectInterop.CameraIntrinsics intr, Vector3 point) 615 | { 616 | if (point == Vector3.zero) 617 | return Vector2.zero; 618 | 619 | System.Numerics.Vector3 fPoint = new System.Numerics.Vector3(point.x, point.y, point.z); 620 | System.Numerics.Vector2? fPixel = coordMapper.TransformTo2D(fPoint, (CalibrationDeviceType)intr.cameraType, (CalibrationDeviceType)intr.cameraType); 621 | Vector2 pixel = fPixel.HasValue ? new Vector2(fPixel.Value.X, fPixel.Value.Y) : Vector2.zero; 622 | 623 | return pixel; 624 | } 625 | 626 | 627 | // transforms a point from one space to another 628 | protected override Vector3 TransformPoint(KinectInterop.CameraExtrinsics extr, Vector3 point) 629 | { 630 | float toPointX = extr.rotation[0] * point.x + extr.rotation[1] * point.y + extr.rotation[2] * point.z + extr.translation[0]; 631 | float toPointY = extr.rotation[3] * point.x + extr.rotation[4] * point.y + extr.rotation[5] * point.z + extr.translation[1]; 632 | float toPointZ = extr.rotation[6] * point.x + extr.rotation[7] * point.y + extr.rotation[8] * point.z + extr.translation[2]; 633 | 634 | return new Vector3(toPointX, toPointY, toPointZ); 635 | } 636 | 637 | } 638 | } 639 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts/Interfaces/Kinect4AzureInterface.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8f864d895d4d9c4cb2a9b96bb86c08b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts/KinectInterop.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ebd602dc5968e0743b5c5fa9cd5268ee 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/KinectScripts/KinectManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b531f336dfee5f438f94ed501caefc7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6b60aafbf5f28d4192d2aa7b756df3c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/Resources/DepthHistImageShader.shader: -------------------------------------------------------------------------------- 1 | // Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' 2 | 3 | Shader "Kinect/DepthHistImageShader" { 4 | Properties { 5 | //_MainTex ("Base (RGB)", 2D) = "white" {} 6 | _FrontColor("Front color", Color) = (1, 1, 0, 1) 7 | _BackColor("Back color", Color) = (0, 0, 1, 1) 8 | _InvalidColor("Invalid color", Color) = (0, 0, 0, 0) 9 | } 10 | 11 | SubShader { 12 | Pass { 13 | ZTest Always Cull Off ZWrite Off 14 | Fog { Mode off } 15 | 16 | CGPROGRAM 17 | #pragma target 5.0 18 | //#pragma enable_d3d11_debug_symbols 19 | 20 | #pragma vertex vert 21 | #pragma fragment frag 22 | 23 | #include "UnityCG.cginc" 24 | 25 | //uniform sampler2D _MainTex; 26 | uniform uint _TexResX; 27 | uniform uint _TexResY; 28 | uniform uint _MinDepth; 29 | uniform uint _MaxDepth; 30 | uniform uint _TotalPoints; 31 | 32 | uniform float4 _FrontColor; 33 | uniform float4 _BackColor; 34 | uniform float4 _InvalidColor; 35 | 36 | StructuredBuffer _DepthMap; 37 | StructuredBuffer _HistMap; 38 | 39 | struct v2f { 40 | float4 pos : SV_POSITION; 41 | float2 uv : TEXCOORD0; 42 | }; 43 | 44 | v2f vert (appdata_base v) 45 | { 46 | v2f o; 47 | 48 | o.pos = UnityObjectToClipPos (v.vertex); 49 | o.uv = v.texcoord; 50 | 51 | return o; 52 | } 53 | 54 | float4 frag (v2f i) : COLOR 55 | { 56 | uint dx = (uint)(i.uv.x * _TexResX); 57 | uint dy = (uint)(i.uv.y * _TexResY); 58 | uint di = (dx + dy * _TexResX); 59 | 60 | //return float4((float)dx / (float)_TexResX, (float)dy / (float)_TexResY, 0, 1); 61 | 62 | //int depth = _DepthMap[di]; 63 | bool isOdd = di % 2 == 1; 64 | uint depth2 = _DepthMap[di >> 1]; 65 | uint depth = (di % 2 == 0 ? depth2 <<= 16 : depth2) >> 16; 66 | depth = depth >= _MinDepth && depth <= _MaxDepth ? depth : 0; 67 | 68 | float hist = 1.0 - ((float)_HistMap[depth] / (float)_TotalPoints); 69 | float4 clr = lerp(_BackColor, _FrontColor, hist); 70 | 71 | //return float4(hist, hist, 0, 1); // yellow 72 | return depth > 0 ? clr : _InvalidColor; 73 | } 74 | 75 | ENDCG 76 | } 77 | } 78 | 79 | Fallback Off 80 | } -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/Resources/DepthHistImageShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8db7527c3decf049a16d8a55fe4d1a4 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/Resources/PointCloudVertexShaderAll.compute: -------------------------------------------------------------------------------- 1 | #pragma kernel BakeVertexTex 2 | 3 | uint2 DepthRes; 4 | float2 DepthScale; 5 | 6 | uint MinDepth; 7 | uint MaxDepth; 8 | 9 | StructuredBuffer SpaceTable; 10 | StructuredBuffer DepthMap; 11 | 12 | RWTexture2D PointCloudVertexTex; 13 | 14 | 15 | [numthreads(8, 8, 1)] 16 | void BakeVertexTex(uint3 id : SV_DispatchThreadID) 17 | { 18 | uint i = id.x + id.y * DepthRes.x; 19 | 20 | //bool isOdd = i % 2 == 1; 21 | //uint iDepth2 = DepthMap[i >> 1]; 22 | //uint iDepth = (isOdd ? iDepth2 <<= 16 : iDepth2) >> 16; 23 | 24 | uint depth2 = DepthMap[i >> 1]; 25 | uint depth = (i % 2 == 0 ? depth2 <<= 16 : depth2) >> 16; 26 | depth = depth >= MinDepth && depth <= MaxDepth ? depth : 0; 27 | 28 | float fDepth = (float)depth / 1000.0; 29 | bool mask = depth != 0; 30 | 31 | float3 pos = float3( 32 | SpaceTable[i * 3] * fDepth * DepthScale.x, 33 | SpaceTable[i * 3 + 1] * fDepth * DepthScale.y, 34 | mask ? fDepth : 1000 35 | ); 36 | 37 | PointCloudVertexTex[id.xy] = float4(pos, mask); 38 | } 39 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/Resources/PointCloudVertexShaderAll.compute.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5e9f29dc01a48bcb59ee66eaddc9d7d2 3 | ComputeShaderImporter: 4 | externalObjects: {} 5 | currentAPIMask: 2097152 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 147a6a25d5249e043a2199775f2d7608 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4dbdb3c4b91975c4c9f3f35cb1b26b53 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6d6245636c2fa44d8491f5773e63880 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/Microsoft.Azure.Kinect.Sensor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rfilkov/AzureKinectUnityFree/0bffa358ea1792fe111847b59590cbf7c5fc75e7/Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/Microsoft.Azure.Kinect.Sensor.dll -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/Microsoft.Azure.Kinect.Sensor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 907a950a8d9451c4f8a12b9fadec2ab8 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/System.Buffers.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rfilkov/AzureKinectUnityFree/0bffa358ea1792fe111847b59590cbf7c5fc75e7/Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/System.Buffers.dll -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/System.Buffers.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a19ed16ddefc18e489348ad8395cd3f2 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/System.Memory.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rfilkov/AzureKinectUnityFree/0bffa358ea1792fe111847b59590cbf7c5fc75e7/Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/System.Memory.dll -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/System.Memory.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf6cfc065a4f0714e9771f4f1faf1ef9 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/System.Runtime.CompilerServices.Unsafe.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rfilkov/AzureKinectUnityFree/0bffa358ea1792fe111847b59590cbf7c5fc75e7/Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/System.Runtime.CompilerServices.Unsafe.dll -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/System.Runtime.CompilerServices.Unsafe.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a38f37d8d2695f344a45c65cece2af37 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 1 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/depthengine_2_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rfilkov/AzureKinectUnityFree/0bffa358ea1792fe111847b59590cbf7c5fc75e7/Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/depthengine_2_0.dll -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/depthengine_2_0.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45145bc46a96ee64f982956342fd7a8a 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | '': Any 16 | second: 17 | enabled: 0 18 | settings: 19 | Exclude Android: 1 20 | Exclude Editor: 0 21 | Exclude Linux: 0 22 | Exclude Linux64: 0 23 | Exclude LinuxUniversal: 0 24 | Exclude OSXUniversal: 0 25 | Exclude Win: 1 26 | Exclude Win64: 0 27 | Exclude WindowsStoreApps: 1 28 | - first: 29 | Android: Android 30 | second: 31 | enabled: 0 32 | settings: 33 | CPU: ARMv7 34 | - first: 35 | Any: 36 | second: 37 | enabled: 0 38 | settings: {} 39 | - first: 40 | Editor: Editor 41 | second: 42 | enabled: 1 43 | settings: 44 | CPU: AnyCPU 45 | DefaultValueInitialized: true 46 | OS: AnyOS 47 | - first: 48 | Facebook: Win 49 | second: 50 | enabled: 0 51 | settings: 52 | CPU: None 53 | - first: 54 | Facebook: Win64 55 | second: 56 | enabled: 0 57 | settings: 58 | CPU: AnyCPU 59 | - first: 60 | Standalone: Linux 61 | second: 62 | enabled: 1 63 | settings: 64 | CPU: x86 65 | - first: 66 | Standalone: Linux64 67 | second: 68 | enabled: 1 69 | settings: 70 | CPU: x86_64 71 | - first: 72 | Standalone: LinuxUniversal 73 | second: 74 | enabled: 1 75 | settings: 76 | CPU: AnyCPU 77 | - first: 78 | Standalone: OSXUniversal 79 | second: 80 | enabled: 1 81 | settings: 82 | CPU: AnyCPU 83 | - first: 84 | Standalone: Win 85 | second: 86 | enabled: 0 87 | settings: 88 | CPU: None 89 | - first: 90 | Standalone: Win64 91 | second: 92 | enabled: 1 93 | settings: 94 | CPU: AnyCPU 95 | - first: 96 | Windows Store Apps: WindowsStoreApps 97 | second: 98 | enabled: 0 99 | settings: 100 | CPU: AnyCPU 101 | DontProcess: false 102 | PlaceholderPath: 103 | SDK: AnySDK 104 | ScriptingBackend: AnyScriptingBackend 105 | userData: 106 | assetBundleName: 107 | assetBundleVariant: 108 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/k4a.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rfilkov/AzureKinectUnityFree/0bffa358ea1792fe111847b59590cbf7c5fc75e7/Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/k4a.dll -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/k4a.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 36c0454f656ae5e4ea6bcdfb124212ed 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | '': Any 16 | second: 17 | enabled: 0 18 | settings: 19 | Exclude Android: 1 20 | Exclude Editor: 0 21 | Exclude Linux: 0 22 | Exclude Linux64: 0 23 | Exclude LinuxUniversal: 0 24 | Exclude OSXUniversal: 0 25 | Exclude Win: 1 26 | Exclude Win64: 0 27 | Exclude WindowsStoreApps: 1 28 | - first: 29 | Android: Android 30 | second: 31 | enabled: 0 32 | settings: 33 | CPU: ARMv7 34 | - first: 35 | Any: 36 | second: 37 | enabled: 0 38 | settings: {} 39 | - first: 40 | Editor: Editor 41 | second: 42 | enabled: 1 43 | settings: 44 | CPU: AnyCPU 45 | DefaultValueInitialized: true 46 | OS: AnyOS 47 | - first: 48 | Facebook: Win 49 | second: 50 | enabled: 0 51 | settings: 52 | CPU: None 53 | - first: 54 | Facebook: Win64 55 | second: 56 | enabled: 0 57 | settings: 58 | CPU: AnyCPU 59 | - first: 60 | Standalone: Linux 61 | second: 62 | enabled: 1 63 | settings: 64 | CPU: x86 65 | - first: 66 | Standalone: Linux64 67 | second: 68 | enabled: 1 69 | settings: 70 | CPU: x86_64 71 | - first: 72 | Standalone: LinuxUniversal 73 | second: 74 | enabled: 1 75 | settings: 76 | CPU: AnyCPU 77 | - first: 78 | Standalone: OSXUniversal 79 | second: 80 | enabled: 1 81 | settings: 82 | CPU: AnyCPU 83 | - first: 84 | Standalone: Win 85 | second: 86 | enabled: 0 87 | settings: 88 | CPU: None 89 | - first: 90 | Standalone: Win64 91 | second: 92 | enabled: 1 93 | settings: 94 | CPU: AnyCPU 95 | - first: 96 | Windows Store Apps: WindowsStoreApps 97 | second: 98 | enabled: 0 99 | settings: 100 | CPU: AnyCPU 101 | DontProcess: false 102 | PlaceholderPath: 103 | SDK: AnySDK 104 | ScriptingBackend: AnyScriptingBackend 105 | userData: 106 | assetBundleName: 107 | assetBundleVariant: 108 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/k4arecord.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rfilkov/AzureKinectUnityFree/0bffa358ea1792fe111847b59590cbf7c5fc75e7/Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/k4arecord.dll -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Kinect4AzureSDK/Plugins/k4arecord.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9c6159c921e6b64281d3cbda4a78e88 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | '': Any 16 | second: 17 | enabled: 0 18 | settings: 19 | Exclude Android: 1 20 | Exclude Editor: 0 21 | Exclude Linux: 0 22 | Exclude Linux64: 0 23 | Exclude LinuxUniversal: 0 24 | Exclude OSXUniversal: 0 25 | Exclude Win: 1 26 | Exclude Win64: 0 27 | Exclude WindowsStoreApps: 1 28 | - first: 29 | Android: Android 30 | second: 31 | enabled: 0 32 | settings: 33 | CPU: ARMv7 34 | - first: 35 | Any: 36 | second: 37 | enabled: 0 38 | settings: {} 39 | - first: 40 | Editor: Editor 41 | second: 42 | enabled: 1 43 | settings: 44 | CPU: AnyCPU 45 | DefaultValueInitialized: true 46 | OS: AnyOS 47 | - first: 48 | Facebook: Win 49 | second: 50 | enabled: 0 51 | settings: 52 | CPU: None 53 | - first: 54 | Facebook: Win64 55 | second: 56 | enabled: 0 57 | settings: 58 | CPU: AnyCPU 59 | - first: 60 | Standalone: Linux 61 | second: 62 | enabled: 1 63 | settings: 64 | CPU: x86 65 | - first: 66 | Standalone: Linux64 67 | second: 68 | enabled: 1 69 | settings: 70 | CPU: x86_64 71 | - first: 72 | Standalone: LinuxUniversal 73 | second: 74 | enabled: 1 75 | settings: 76 | CPU: AnyCPU 77 | - first: 78 | Standalone: OSXUniversal 79 | second: 80 | enabled: 1 81 | settings: 82 | CPU: AnyCPU 83 | - first: 84 | Standalone: Win 85 | second: 86 | enabled: 0 87 | settings: 88 | CPU: None 89 | - first: 90 | Standalone: Win64 91 | second: 92 | enabled: 1 93 | settings: 94 | CPU: AnyCPU 95 | - first: 96 | Windows Store Apps: WindowsStoreApps 97 | second: 98 | enabled: 0 99 | settings: 100 | CPU: AnyCPU 101 | DontProcess: false 102 | PlaceholderPath: 103 | SDK: AnySDK 104 | ScriptingBackend: AnyScriptingBackend 105 | userData: 106 | assetBundleName: 107 | assetBundleVariant: 108 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Third-Party-Notices.txt: -------------------------------------------------------------------------------- 1 | This asset is governed by the Asset Store EULA; however, the following components are governed by the licenses indicated below: 2 | 3 | A. Azure Kinect Sensor SDK 4 | 5 | MIT License 6 | Copyright (c) Microsoft Corporation. All rights reserved. 7 | 8 | see https://github.com/microsoft/Azure-Kinect-Sensor-SDK/blob/develop/LICENSE 9 | 10 | B. RealSense SDK 2.0 11 | 12 | Apache License Version 2.0, January 2004 13 | Copyright(c) Intel Corporation. All Rights Reserved. 14 | 15 | see https://github.com/IntelRealSense/librealsense/blob/master/LICENSE 16 | 17 | C. Kinect SDK 2.0 18 | 19 | Microsoft Kinect for Windows v2 Software Development Kit (SDK) License Terms 20 | Copyright (c) Microsoft Corporation. All rights reserved. 21 | 22 | see SDKEula.rtf in Program Files\Microsoft SDKs\Kinect\v2.0_1409-folder. 23 | 24 | -------------------------------------------------------------------------------- /Assets/AzureKinectExamples/SDK/Third-Party-Notices.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe346cd965fd4ad41a8183dfc25a82f5 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Rumen Filkov 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.package-manager-ui": "2.1.2", 4 | "com.unity.render-pipelines.high-definition": "5.13.0-preview", 5 | "com.unity.visualeffectgraph": "5.13.0-preview", 6 | "com.unity.modules.ai": "1.0.0", 7 | "com.unity.modules.animation": "1.0.0", 8 | "com.unity.modules.assetbundle": "1.0.0", 9 | "com.unity.modules.audio": "1.0.0", 10 | "com.unity.modules.cloth": "1.0.0", 11 | "com.unity.modules.director": "1.0.0", 12 | "com.unity.modules.imageconversion": "1.0.0", 13 | "com.unity.modules.imgui": "1.0.0", 14 | "com.unity.modules.jsonserialize": "1.0.0", 15 | "com.unity.modules.particlesystem": "1.0.0", 16 | "com.unity.modules.physics": "1.0.0", 17 | "com.unity.modules.physics2d": "1.0.0", 18 | "com.unity.modules.screencapture": "1.0.0", 19 | "com.unity.modules.terrain": "1.0.0", 20 | "com.unity.modules.terrainphysics": "1.0.0", 21 | "com.unity.modules.tilemap": "1.0.0", 22 | "com.unity.modules.ui": "1.0.0", 23 | "com.unity.modules.uielements": "1.0.0", 24 | "com.unity.modules.umbra": "1.0.0", 25 | "com.unity.modules.unityanalytics": "1.0.0", 26 | "com.unity.modules.unitywebrequest": "1.0.0", 27 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 28 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 29 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 30 | "com.unity.modules.unitywebrequestwww": "1.0.0", 31 | "com.unity.modules.vehicles": "1.0.0", 32 | "com.unity.modules.video": "1.0.0", 33 | "com.unity.modules.vr": "1.0.0", 34 | "com.unity.modules.wind": "1.0.0", 35 | "com.unity.modules.xr": "1.0.0" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_ExternalVersionControlSupport: Hidden Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 11400000, guid: 8a9577230f348405ea0f74217f80cb49, 42 | type: 2} 43 | m_TransparencySortMode: 0 44 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 45 | m_DefaultRenderingPath: 1 46 | m_DefaultMobileRenderingPath: 1 47 | m_TierSettings: [] 48 | m_LightmapStripping: 0 49 | m_FogStripping: 0 50 | m_InstancingStripping: 0 51 | m_LightmapKeepPlain: 1 52 | m_LightmapKeepDirCombined: 1 53 | m_LightmapKeepDynamicPlain: 1 54 | m_LightmapKeepDynamicDirCombined: 1 55 | m_LightmapKeepShadowMask: 1 56 | m_LightmapKeepSubtractive: 1 57 | m_FogKeepLinear: 1 58 | m_FogKeepExp: 1 59 | m_FogKeepExp2: 1 60 | m_AlbedoSwatchInfos: [] 61 | m_LightsUseLinearIntensity: 1 62 | m_LightsUseColorTemperature: 1 63 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | - serializedVersion: 3 297 | m_Name: Enable Debug Button 1 298 | descriptiveName: 299 | descriptiveNegativeName: 300 | negativeButton: 301 | positiveButton: left ctrl 302 | altNegativeButton: 303 | altPositiveButton: joystick button 8 304 | gravity: 0 305 | dead: 0 306 | sensitivity: 0 307 | snap: 0 308 | invert: 0 309 | type: 0 310 | axis: 0 311 | joyNum: 0 312 | - serializedVersion: 3 313 | m_Name: Enable Debug Button 2 314 | descriptiveName: 315 | descriptiveNegativeName: 316 | negativeButton: 317 | positiveButton: backspace 318 | altNegativeButton: 319 | altPositiveButton: joystick button 9 320 | gravity: 0 321 | dead: 0 322 | sensitivity: 0 323 | snap: 0 324 | invert: 0 325 | type: 0 326 | axis: 0 327 | joyNum: 0 328 | - serializedVersion: 3 329 | m_Name: Debug Reset 330 | descriptiveName: 331 | descriptiveNegativeName: 332 | negativeButton: 333 | positiveButton: left alt 334 | altNegativeButton: 335 | altPositiveButton: joystick button 1 336 | gravity: 0 337 | dead: 0 338 | sensitivity: 0 339 | snap: 0 340 | invert: 0 341 | type: 0 342 | axis: 0 343 | joyNum: 0 344 | - serializedVersion: 3 345 | m_Name: Debug Next 346 | descriptiveName: 347 | descriptiveNegativeName: 348 | negativeButton: 349 | positiveButton: page down 350 | altNegativeButton: 351 | altPositiveButton: joystick button 5 352 | gravity: 0 353 | dead: 0 354 | sensitivity: 0 355 | snap: 0 356 | invert: 0 357 | type: 0 358 | axis: 0 359 | joyNum: 0 360 | - serializedVersion: 3 361 | m_Name: Debug Previous 362 | descriptiveName: 363 | descriptiveNegativeName: 364 | negativeButton: 365 | positiveButton: page up 366 | altNegativeButton: 367 | altPositiveButton: joystick button 4 368 | gravity: 0 369 | dead: 0 370 | sensitivity: 0 371 | snap: 0 372 | invert: 0 373 | type: 0 374 | axis: 0 375 | joyNum: 0 376 | - serializedVersion: 3 377 | m_Name: Debug Validate 378 | descriptiveName: 379 | descriptiveNegativeName: 380 | negativeButton: 381 | positiveButton: return 382 | altNegativeButton: 383 | altPositiveButton: joystick button 0 384 | gravity: 0 385 | dead: 0 386 | sensitivity: 0 387 | snap: 0 388 | invert: 0 389 | type: 0 390 | axis: 0 391 | joyNum: 0 392 | - serializedVersion: 3 393 | m_Name: Debug Persistent 394 | descriptiveName: 395 | descriptiveNegativeName: 396 | negativeButton: 397 | positiveButton: right shift 398 | altNegativeButton: 399 | altPositiveButton: joystick button 2 400 | gravity: 0 401 | dead: 0 402 | sensitivity: 0 403 | snap: 0 404 | invert: 0 405 | type: 0 406 | axis: 0 407 | joyNum: 0 408 | - serializedVersion: 3 409 | m_Name: Debug Multiplier 410 | descriptiveName: 411 | descriptiveNegativeName: 412 | negativeButton: 413 | positiveButton: left shift 414 | altNegativeButton: 415 | altPositiveButton: joystick button 3 416 | gravity: 0 417 | dead: 0 418 | sensitivity: 0 419 | snap: 0 420 | invert: 0 421 | type: 0 422 | axis: 0 423 | joyNum: 0 424 | - serializedVersion: 3 425 | m_Name: Debug Horizontal 426 | descriptiveName: 427 | descriptiveNegativeName: 428 | negativeButton: left 429 | positiveButton: right 430 | altNegativeButton: 431 | altPositiveButton: 432 | gravity: 1000 433 | dead: 0.001 434 | sensitivity: 1000 435 | snap: 0 436 | invert: 0 437 | type: 0 438 | axis: 0 439 | joyNum: 0 440 | - serializedVersion: 3 441 | m_Name: Debug Vertical 442 | descriptiveName: 443 | descriptiveNegativeName: 444 | negativeButton: down 445 | positiveButton: up 446 | altNegativeButton: 447 | altPositiveButton: 448 | gravity: 1000 449 | dead: 0.001 450 | sensitivity: 1000 451 | snap: 0 452 | invert: 0 453 | type: 0 454 | axis: 0 455 | joyNum: 0 456 | - serializedVersion: 3 457 | m_Name: Debug Vertical 458 | descriptiveName: 459 | descriptiveNegativeName: 460 | negativeButton: down 461 | positiveButton: up 462 | altNegativeButton: 463 | altPositiveButton: 464 | gravity: 1000 465 | dead: 0.001 466 | sensitivity: 1000 467 | snap: 0 468 | invert: 0 469 | type: 2 470 | axis: 6 471 | joyNum: 0 472 | - serializedVersion: 3 473 | m_Name: Debug Horizontal 474 | descriptiveName: 475 | descriptiveNegativeName: 476 | negativeButton: left 477 | positiveButton: right 478 | altNegativeButton: 479 | altPositiveButton: 480 | gravity: 1000 481 | dead: 0.001 482 | sensitivity: 1000 483 | snap: 0 484 | invert: 0 485 | type: 2 486 | axis: 5 487 | joyNum: 0 488 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 16 7 | productGUID: 25f1cafac2ad24e4bb33d062d449bae2 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: AzureKinectUnityFree 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 1 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | iosAppInBackgroundBehavior: 0 56 | displayResolutionDialog: 0 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidStartInFullscreen: 1 67 | androidRenderOutsideSafeArea: 1 68 | androidBlitType: 1 69 | defaultIsNativeResolution: 1 70 | macRetinaSupport: 1 71 | runInBackground: 1 72 | captureSingleScreen: 0 73 | muteOtherAudioSources: 0 74 | Prepare IOS For Recording: 0 75 | Force IOS Speakers When Recording: 0 76 | deferSystemGesturesMode: 0 77 | hideHomeButton: 0 78 | submitAnalytics: 1 79 | usePlayerLog: 1 80 | bakeCollisionMeshes: 0 81 | forceSingleInstance: 0 82 | resizableWindow: 0 83 | useMacAppStoreValidation: 0 84 | macAppStoreCategory: public.app-category.games 85 | gpuSkinning: 1 86 | graphicsJobs: 0 87 | xboxPIXTextureCapture: 0 88 | xboxEnableAvatar: 0 89 | xboxEnableKinect: 0 90 | xboxEnableKinectAutoTracking: 0 91 | xboxEnableFitness: 0 92 | visibleInBackground: 1 93 | allowFullscreenSwitch: 1 94 | graphicsJobMode: 0 95 | fullscreenMode: 1 96 | xboxSpeechDB: 0 97 | xboxEnableHeadOrientation: 0 98 | xboxEnableGuest: 0 99 | xboxEnablePIXSampling: 0 100 | metalFramebufferOnly: 0 101 | xboxOneResolution: 0 102 | xboxOneSResolution: 0 103 | xboxOneXResolution: 3 104 | xboxOneMonoLoggingLevel: 0 105 | xboxOneLoggingLevel: 1 106 | xboxOneDisableEsram: 0 107 | xboxOnePresentImmediateThreshold: 0 108 | switchQueueCommandMemory: 0 109 | switchQueueControlMemory: 16384 110 | switchQueueComputeMemory: 262144 111 | switchNVNShaderPoolsGranularity: 33554432 112 | switchNVNDefaultPoolsGranularity: 16777216 113 | switchNVNOtherPoolsGranularity: 16777216 114 | vulkanEnableSetSRGBWrite: 0 115 | m_SupportedAspectRatios: 116 | 4:3: 1 117 | 5:4: 1 118 | 16:10: 1 119 | 16:9: 1 120 | Others: 1 121 | bundleVersion: 0.1 122 | preloadedAssets: [] 123 | metroInputSource: 0 124 | wsaTransparentSwapchain: 0 125 | m_HolographicPauseOnTrackingLoss: 1 126 | xboxOneDisableKinectGpuReservation: 1 127 | xboxOneEnable7thCore: 1 128 | vrSettings: 129 | cardboard: 130 | depthFormat: 0 131 | enableTransitionView: 0 132 | daydream: 133 | depthFormat: 0 134 | useSustainedPerformanceMode: 0 135 | enableVideoLayer: 0 136 | useProtectedVideoMemory: 0 137 | minimumSupportedHeadTracking: 0 138 | maximumSupportedHeadTracking: 1 139 | hololens: 140 | depthFormat: 1 141 | depthBufferSharingEnabled: 1 142 | lumin: 143 | depthFormat: 0 144 | frameTiming: 2 145 | enableGLCache: 0 146 | glCacheMaxBlobSize: 524288 147 | glCacheMaxFileSize: 8388608 148 | oculus: 149 | sharedDepthBuffer: 1 150 | dashSupport: 1 151 | enable360StereoCapture: 0 152 | isWsaHolographicRemotingEnabled: 0 153 | protectGraphicsMemory: 0 154 | enableFrameTimingStats: 0 155 | useHDRDisplay: 0 156 | m_ColorGamuts: 00000000 157 | targetPixelDensity: 30 158 | resolutionScalingMode: 0 159 | androidSupportedAspectRatio: 1 160 | androidMaxAspectRatio: 2.1 161 | applicationIdentifier: {} 162 | buildNumber: {} 163 | AndroidBundleVersionCode: 1 164 | AndroidMinSdkVersion: 16 165 | AndroidTargetSdkVersion: 0 166 | AndroidPreferredInstallLocation: 1 167 | aotOptions: 168 | stripEngineCode: 1 169 | iPhoneStrippingLevel: 0 170 | iPhoneScriptCallOptimization: 0 171 | ForceInternetPermission: 0 172 | ForceSDCardPermission: 0 173 | CreateWallpaper: 0 174 | APKExpansionFiles: 0 175 | keepLoadedShadersAlive: 0 176 | StripUnusedMeshComponents: 1 177 | VertexChannelCompressionMask: 4054 178 | iPhoneSdkVersion: 988 179 | iOSTargetOSVersionString: 9.0 180 | tvOSSdkVersion: 0 181 | tvOSRequireExtendedGameController: 0 182 | tvOSTargetOSVersionString: 9.0 183 | uIPrerenderedIcon: 0 184 | uIRequiresPersistentWiFi: 0 185 | uIRequiresFullScreen: 1 186 | uIStatusBarHidden: 1 187 | uIExitOnSuspend: 0 188 | uIStatusBarStyle: 0 189 | iPhoneSplashScreen: {fileID: 0} 190 | iPhoneHighResSplashScreen: {fileID: 0} 191 | iPhoneTallHighResSplashScreen: {fileID: 0} 192 | iPhone47inSplashScreen: {fileID: 0} 193 | iPhone55inPortraitSplashScreen: {fileID: 0} 194 | iPhone55inLandscapeSplashScreen: {fileID: 0} 195 | iPhone58inPortraitSplashScreen: {fileID: 0} 196 | iPhone58inLandscapeSplashScreen: {fileID: 0} 197 | iPadPortraitSplashScreen: {fileID: 0} 198 | iPadHighResPortraitSplashScreen: {fileID: 0} 199 | iPadLandscapeSplashScreen: {fileID: 0} 200 | iPadHighResLandscapeSplashScreen: {fileID: 0} 201 | iPhone65inPortraitSplashScreen: {fileID: 0} 202 | iPhone65inLandscapeSplashScreen: {fileID: 0} 203 | iPhone61inPortraitSplashScreen: {fileID: 0} 204 | iPhone61inLandscapeSplashScreen: {fileID: 0} 205 | appleTVSplashScreen: {fileID: 0} 206 | appleTVSplashScreen2x: {fileID: 0} 207 | tvOSSmallIconLayers: [] 208 | tvOSSmallIconLayers2x: [] 209 | tvOSLargeIconLayers: [] 210 | tvOSLargeIconLayers2x: [] 211 | tvOSTopShelfImageLayers: [] 212 | tvOSTopShelfImageLayers2x: [] 213 | tvOSTopShelfImageWideLayers: [] 214 | tvOSTopShelfImageWideLayers2x: [] 215 | iOSLaunchScreenType: 0 216 | iOSLaunchScreenPortrait: {fileID: 0} 217 | iOSLaunchScreenLandscape: {fileID: 0} 218 | iOSLaunchScreenBackgroundColor: 219 | serializedVersion: 2 220 | rgba: 0 221 | iOSLaunchScreenFillPct: 100 222 | iOSLaunchScreenSize: 100 223 | iOSLaunchScreenCustomXibPath: 224 | iOSLaunchScreeniPadType: 0 225 | iOSLaunchScreeniPadImage: {fileID: 0} 226 | iOSLaunchScreeniPadBackgroundColor: 227 | serializedVersion: 2 228 | rgba: 0 229 | iOSLaunchScreeniPadFillPct: 100 230 | iOSLaunchScreeniPadSize: 100 231 | iOSLaunchScreeniPadCustomXibPath: 232 | iOSUseLaunchScreenStoryboard: 0 233 | iOSLaunchScreenCustomStoryboardPath: 234 | iOSDeviceRequirements: [] 235 | iOSURLSchemes: [] 236 | iOSBackgroundModes: 0 237 | iOSMetalForceHardShadows: 0 238 | metalEditorSupport: 1 239 | metalAPIValidation: 1 240 | iOSRenderExtraFrameOnPause: 0 241 | appleDeveloperTeamID: 242 | iOSManualSigningProvisioningProfileID: 243 | tvOSManualSigningProvisioningProfileID: 244 | iOSManualSigningProvisioningProfileType: 0 245 | tvOSManualSigningProvisioningProfileType: 0 246 | appleEnableAutomaticSigning: 0 247 | iOSRequireARKit: 0 248 | iOSAutomaticallyDetectAndAddCapabilities: 1 249 | appleEnableProMotion: 0 250 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 251 | templatePackageId: com.unity.template.3d@2.3.1 252 | templateDefaultScene: Assets/Scenes/SampleScene.unity 253 | AndroidTargetArchitectures: 1 254 | AndroidSplashScreenScale: 0 255 | androidSplashScreen: {fileID: 0} 256 | AndroidKeystoreName: '{inproject}: ' 257 | AndroidKeyaliasName: 258 | AndroidBuildApkPerCpuArchitecture: 0 259 | AndroidTVCompatibility: 0 260 | AndroidIsGame: 1 261 | AndroidEnableTango: 0 262 | androidEnableBanner: 1 263 | androidUseLowAccuracyLocation: 0 264 | androidUseCustomKeystore: 0 265 | m_AndroidBanners: 266 | - width: 320 267 | height: 180 268 | banner: {fileID: 0} 269 | androidGamepadSupportLevel: 0 270 | resolutionDialogBanner: {fileID: 0} 271 | m_BuildTargetIcons: [] 272 | m_BuildTargetPlatformIcons: [] 273 | m_BuildTargetBatching: 274 | - m_BuildTarget: Standalone 275 | m_StaticBatching: 1 276 | m_DynamicBatching: 0 277 | - m_BuildTarget: tvOS 278 | m_StaticBatching: 1 279 | m_DynamicBatching: 0 280 | - m_BuildTarget: Android 281 | m_StaticBatching: 1 282 | m_DynamicBatching: 0 283 | - m_BuildTarget: iPhone 284 | m_StaticBatching: 1 285 | m_DynamicBatching: 0 286 | - m_BuildTarget: WebGL 287 | m_StaticBatching: 0 288 | m_DynamicBatching: 0 289 | m_BuildTargetGraphicsAPIs: 290 | - m_BuildTarget: AndroidPlayer 291 | m_APIs: 150000000b000000 292 | m_Automatic: 0 293 | - m_BuildTarget: iOSSupport 294 | m_APIs: 10000000 295 | m_Automatic: 1 296 | - m_BuildTarget: AppleTVSupport 297 | m_APIs: 10000000 298 | m_Automatic: 0 299 | - m_BuildTarget: WebGLSupport 300 | m_APIs: 0b000000 301 | m_Automatic: 1 302 | m_BuildTargetVRSettings: 303 | - m_BuildTarget: Standalone 304 | m_Enabled: 0 305 | m_Devices: 306 | - Oculus 307 | - OpenVR 308 | m_BuildTargetEnableVuforiaSettings: [] 309 | openGLRequireES31: 0 310 | openGLRequireES31AEP: 0 311 | openGLRequireES32: 0 312 | m_TemplateCustomTags: {} 313 | mobileMTRendering: 314 | Android: 1 315 | iPhone: 1 316 | tvOS: 1 317 | m_BuildTargetGroupLightmapEncodingQuality: [] 318 | m_BuildTargetGroupLightmapSettings: [] 319 | playModeTestRunnerEnabled: 0 320 | runPlayModeTestAsEditModeTest: 0 321 | actionOnDotNetUnhandledException: 1 322 | enableInternalProfiler: 0 323 | logObjCUncaughtExceptions: 1 324 | enableCrashReportAPI: 0 325 | cameraUsageDescription: 326 | locationUsageDescription: 327 | microphoneUsageDescription: 328 | switchNetLibKey: 329 | switchSocketMemoryPoolSize: 6144 330 | switchSocketAllocatorPoolSize: 128 331 | switchSocketConcurrencyLimit: 14 332 | switchScreenResolutionBehavior: 2 333 | switchUseCPUProfiler: 0 334 | switchApplicationID: 0x01004b9000490000 335 | switchNSODependencies: 336 | switchTitleNames_0: 337 | switchTitleNames_1: 338 | switchTitleNames_2: 339 | switchTitleNames_3: 340 | switchTitleNames_4: 341 | switchTitleNames_5: 342 | switchTitleNames_6: 343 | switchTitleNames_7: 344 | switchTitleNames_8: 345 | switchTitleNames_9: 346 | switchTitleNames_10: 347 | switchTitleNames_11: 348 | switchTitleNames_12: 349 | switchTitleNames_13: 350 | switchTitleNames_14: 351 | switchPublisherNames_0: 352 | switchPublisherNames_1: 353 | switchPublisherNames_2: 354 | switchPublisherNames_3: 355 | switchPublisherNames_4: 356 | switchPublisherNames_5: 357 | switchPublisherNames_6: 358 | switchPublisherNames_7: 359 | switchPublisherNames_8: 360 | switchPublisherNames_9: 361 | switchPublisherNames_10: 362 | switchPublisherNames_11: 363 | switchPublisherNames_12: 364 | switchPublisherNames_13: 365 | switchPublisherNames_14: 366 | switchIcons_0: {fileID: 0} 367 | switchIcons_1: {fileID: 0} 368 | switchIcons_2: {fileID: 0} 369 | switchIcons_3: {fileID: 0} 370 | switchIcons_4: {fileID: 0} 371 | switchIcons_5: {fileID: 0} 372 | switchIcons_6: {fileID: 0} 373 | switchIcons_7: {fileID: 0} 374 | switchIcons_8: {fileID: 0} 375 | switchIcons_9: {fileID: 0} 376 | switchIcons_10: {fileID: 0} 377 | switchIcons_11: {fileID: 0} 378 | switchIcons_12: {fileID: 0} 379 | switchIcons_13: {fileID: 0} 380 | switchIcons_14: {fileID: 0} 381 | switchSmallIcons_0: {fileID: 0} 382 | switchSmallIcons_1: {fileID: 0} 383 | switchSmallIcons_2: {fileID: 0} 384 | switchSmallIcons_3: {fileID: 0} 385 | switchSmallIcons_4: {fileID: 0} 386 | switchSmallIcons_5: {fileID: 0} 387 | switchSmallIcons_6: {fileID: 0} 388 | switchSmallIcons_7: {fileID: 0} 389 | switchSmallIcons_8: {fileID: 0} 390 | switchSmallIcons_9: {fileID: 0} 391 | switchSmallIcons_10: {fileID: 0} 392 | switchSmallIcons_11: {fileID: 0} 393 | switchSmallIcons_12: {fileID: 0} 394 | switchSmallIcons_13: {fileID: 0} 395 | switchSmallIcons_14: {fileID: 0} 396 | switchManualHTML: 397 | switchAccessibleURLs: 398 | switchLegalInformation: 399 | switchMainThreadStackSize: 1048576 400 | switchPresenceGroupId: 401 | switchLogoHandling: 0 402 | switchReleaseVersion: 0 403 | switchDisplayVersion: 1.0.0 404 | switchStartupUserAccount: 0 405 | switchTouchScreenUsage: 0 406 | switchSupportedLanguagesMask: 0 407 | switchLogoType: 0 408 | switchApplicationErrorCodeCategory: 409 | switchUserAccountSaveDataSize: 0 410 | switchUserAccountSaveDataJournalSize: 0 411 | switchApplicationAttribute: 0 412 | switchCardSpecSize: -1 413 | switchCardSpecClock: -1 414 | switchRatingsMask: 0 415 | switchRatingsInt_0: 0 416 | switchRatingsInt_1: 0 417 | switchRatingsInt_2: 0 418 | switchRatingsInt_3: 0 419 | switchRatingsInt_4: 0 420 | switchRatingsInt_5: 0 421 | switchRatingsInt_6: 0 422 | switchRatingsInt_7: 0 423 | switchRatingsInt_8: 0 424 | switchRatingsInt_9: 0 425 | switchRatingsInt_10: 0 426 | switchRatingsInt_11: 0 427 | switchLocalCommunicationIds_0: 428 | switchLocalCommunicationIds_1: 429 | switchLocalCommunicationIds_2: 430 | switchLocalCommunicationIds_3: 431 | switchLocalCommunicationIds_4: 432 | switchLocalCommunicationIds_5: 433 | switchLocalCommunicationIds_6: 434 | switchLocalCommunicationIds_7: 435 | switchParentalControl: 0 436 | switchAllowsScreenshot: 1 437 | switchAllowsVideoCapturing: 1 438 | switchAllowsRuntimeAddOnContentInstall: 0 439 | switchDataLossConfirmation: 0 440 | switchUserAccountLockEnabled: 0 441 | switchSystemResourceMemory: 16777216 442 | switchSupportedNpadStyles: 3 443 | switchNativeFsCacheSize: 32 444 | switchIsHoldTypeHorizontal: 0 445 | switchSupportedNpadCount: 8 446 | switchSocketConfigEnabled: 0 447 | switchTcpInitialSendBufferSize: 32 448 | switchTcpInitialReceiveBufferSize: 64 449 | switchTcpAutoSendBufferSizeMax: 256 450 | switchTcpAutoReceiveBufferSizeMax: 256 451 | switchUdpSendBufferSize: 9 452 | switchUdpReceiveBufferSize: 42 453 | switchSocketBufferEfficiency: 4 454 | switchSocketInitializeEnabled: 1 455 | switchNetworkInterfaceManagerInitializeEnabled: 1 456 | switchPlayerConnectionEnabled: 1 457 | ps4NPAgeRating: 12 458 | ps4NPTitleSecret: 459 | ps4NPTrophyPackPath: 460 | ps4ParentalLevel: 11 461 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 462 | ps4Category: 0 463 | ps4MasterVersion: 01.00 464 | ps4AppVersion: 01.00 465 | ps4AppType: 0 466 | ps4ParamSfxPath: 467 | ps4VideoOutPixelFormat: 0 468 | ps4VideoOutInitialWidth: 1920 469 | ps4VideoOutBaseModeInitialWidth: 1920 470 | ps4VideoOutReprojectionRate: 60 471 | ps4PronunciationXMLPath: 472 | ps4PronunciationSIGPath: 473 | ps4BackgroundImagePath: 474 | ps4StartupImagePath: 475 | ps4StartupImagesFolder: 476 | ps4IconImagesFolder: 477 | ps4SaveDataImagePath: 478 | ps4SdkOverride: 479 | ps4BGMPath: 480 | ps4ShareFilePath: 481 | ps4ShareOverlayImagePath: 482 | ps4PrivacyGuardImagePath: 483 | ps4NPtitleDatPath: 484 | ps4RemotePlayKeyAssignment: -1 485 | ps4RemotePlayKeyMappingDir: 486 | ps4PlayTogetherPlayerCount: 0 487 | ps4EnterButtonAssignment: 1 488 | ps4ApplicationParam1: 0 489 | ps4ApplicationParam2: 0 490 | ps4ApplicationParam3: 0 491 | ps4ApplicationParam4: 0 492 | ps4DownloadDataSize: 0 493 | ps4GarlicHeapSize: 2048 494 | ps4ProGarlicHeapSize: 2560 495 | playerPrefsMaxSize: 32768 496 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 497 | ps4pnSessions: 1 498 | ps4pnPresence: 1 499 | ps4pnFriends: 1 500 | ps4pnGameCustomData: 1 501 | playerPrefsSupport: 0 502 | enableApplicationExit: 0 503 | resetTempFolder: 1 504 | restrictedAudioUsageRights: 0 505 | ps4UseResolutionFallback: 0 506 | ps4ReprojectionSupport: 0 507 | ps4UseAudio3dBackend: 0 508 | ps4SocialScreenEnabled: 0 509 | ps4ScriptOptimizationLevel: 0 510 | ps4Audio3dVirtualSpeakerCount: 14 511 | ps4attribCpuUsage: 0 512 | ps4PatchPkgPath: 513 | ps4PatchLatestPkgPath: 514 | ps4PatchChangeinfoPath: 515 | ps4PatchDayOne: 0 516 | ps4attribUserManagement: 0 517 | ps4attribMoveSupport: 0 518 | ps4attrib3DSupport: 0 519 | ps4attribShareSupport: 0 520 | ps4attribExclusiveVR: 0 521 | ps4disableAutoHideSplash: 0 522 | ps4videoRecordingFeaturesUsed: 0 523 | ps4contentSearchFeaturesUsed: 0 524 | ps4attribEyeToEyeDistanceSettingVR: 0 525 | ps4IncludedModules: [] 526 | monoEnv: 527 | splashScreenBackgroundSourceLandscape: {fileID: 0} 528 | splashScreenBackgroundSourcePortrait: {fileID: 0} 529 | spritePackerPolicy: 530 | webGLMemorySize: 16 531 | webGLExceptionSupport: 1 532 | webGLNameFilesAsHashes: 0 533 | webGLDataCaching: 1 534 | webGLDebugSymbols: 0 535 | webGLEmscriptenArgs: 536 | webGLModulesDirectory: 537 | webGLTemplate: APPLICATION:Default 538 | webGLAnalyzeBuildSize: 0 539 | webGLUseEmbeddedResources: 0 540 | webGLCompressionFormat: 1 541 | webGLLinkerTarget: 1 542 | webGLThreadsSupport: 0 543 | webGLWasmStreaming: 0 544 | scriptingDefineSymbols: {} 545 | platformArchitecture: {} 546 | scriptingBackend: {} 547 | il2cppCompilerConfiguration: {} 548 | managedStrippingLevel: {} 549 | incrementalIl2cppBuild: {} 550 | allowUnsafeCode: 0 551 | additionalIl2CppArgs: 552 | scriptingRuntimeVersion: 1 553 | gcIncremental: 0 554 | gcWBarrierValidation: 0 555 | apiCompatibilityLevelPerPlatform: {} 556 | m_RenderingPath: 1 557 | m_MobileRenderingPath: 1 558 | metroPackageName: Template_3D 559 | metroPackageVersion: 560 | metroCertificatePath: 561 | metroCertificatePassword: 562 | metroCertificateSubject: 563 | metroCertificateIssuer: 564 | metroCertificateNotAfter: 0000000000000000 565 | metroApplicationDescription: Template_3D 566 | wsaImages: {} 567 | metroTileShortName: 568 | metroTileShowName: 0 569 | metroMediumTileShowName: 0 570 | metroLargeTileShowName: 0 571 | metroWideTileShowName: 0 572 | metroSupportStreamingInstall: 0 573 | metroLastRequiredScene: 0 574 | metroDefaultTileSize: 1 575 | metroTileForegroundText: 2 576 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 577 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 578 | a: 1} 579 | metroSplashScreenUseBackgroundColor: 0 580 | platformCapabilities: {} 581 | metroTargetDeviceFamilies: {} 582 | metroFTAName: 583 | metroFTAFileTypes: [] 584 | metroProtocolName: 585 | XboxOneProductId: 586 | XboxOneUpdateKey: 587 | XboxOneSandboxId: 588 | XboxOneContentId: 589 | XboxOneTitleId: 590 | XboxOneSCId: 591 | XboxOneGameOsOverridePath: 592 | XboxOnePackagingOverridePath: 593 | XboxOneAppManifestOverridePath: 594 | XboxOneVersion: 1.0.0.0 595 | XboxOnePackageEncryption: 0 596 | XboxOnePackageUpdateGranularity: 2 597 | XboxOneDescription: 598 | XboxOneLanguage: 599 | - enus 600 | XboxOneCapability: [] 601 | XboxOneGameRating: {} 602 | XboxOneIsContentPackage: 0 603 | XboxOneEnableGPUVariability: 1 604 | XboxOneSockets: {} 605 | XboxOneSplashScreen: {fileID: 0} 606 | XboxOneAllowedProductIds: [] 607 | XboxOnePersistentLocalStorageSize: 0 608 | XboxOneXTitleMemory: 8 609 | xboxOneScriptCompiler: 1 610 | XboxOneOverrideIdentityName: 611 | vrEditorSettings: 612 | daydream: 613 | daydreamIconForeground: {fileID: 0} 614 | daydreamIconBackground: {fileID: 0} 615 | cloudServicesEnabled: 616 | UNet: 1 617 | luminIcon: 618 | m_Name: 619 | m_ModelFolderPath: 620 | m_PortalFolderPath: 621 | luminCert: 622 | m_CertPath: 623 | m_SignPackage: 1 624 | luminIsChannelApp: 0 625 | luminVersion: 626 | m_VersionCode: 1 627 | m_VersionName: 628 | facebookSdkVersion: 7.9.4 629 | facebookAppId: 630 | facebookCookies: 1 631 | facebookLogging: 1 632 | facebookStatus: 1 633 | facebookXfbml: 0 634 | facebookFrictionlessRequests: 1 635 | apiCompatibilityLevel: 6 636 | cloudProjectId: 637 | framebufferDepthMemorylessMode: 0 638 | projectName: 639 | organizationId: 640 | cloudEnabled: 0 641 | enableNativePlatformBackendsForNewInputSystem: 0 642 | disableOldInputManagerSupport: 0 643 | legacyClampBlendShapeWeights: 1 644 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2019.1.0f2 2 | m_EditorVersionWithRevision: 2019.1.0f2 (292b93d75a2c) 3 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 2 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | skinWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | excludedTargetPlatforms: [] 44 | - serializedVersion: 2 45 | name: Low 46 | pixelLightCount: 0 47 | shadows: 2 48 | shadowResolution: 0 49 | shadowProjection: 1 50 | shadowCascades: 1 51 | shadowDistance: 20 52 | shadowNearPlaneOffset: 3 53 | shadowCascade2Split: 0.33333334 54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 55 | shadowmaskMode: 0 56 | skinWeights: 2 57 | textureQuality: 0 58 | anisotropicTextures: 0 59 | antiAliasing: 0 60 | softParticles: 0 61 | softVegetation: 0 62 | realtimeReflectionProbes: 0 63 | billboardsFaceCameraPosition: 0 64 | vSyncCount: 0 65 | lodBias: 0.4 66 | maximumLODLevel: 0 67 | streamingMipmapsActive: 0 68 | streamingMipmapsAddAllCameras: 1 69 | streamingMipmapsMemoryBudget: 512 70 | streamingMipmapsRenderersPerFrame: 512 71 | streamingMipmapsMaxLevelReduction: 2 72 | streamingMipmapsMaxFileIORequests: 1024 73 | particleRaycastBudget: 16 74 | asyncUploadTimeSlice: 2 75 | asyncUploadBufferSize: 16 76 | asyncUploadPersistentBuffer: 1 77 | resolutionScalingFixedDPIFactor: 1 78 | excludedTargetPlatforms: [] 79 | - serializedVersion: 2 80 | name: Medium 81 | pixelLightCount: 1 82 | shadows: 2 83 | shadowResolution: 0 84 | shadowProjection: 1 85 | shadowCascades: 1 86 | shadowDistance: 20 87 | shadowNearPlaneOffset: 3 88 | shadowCascade2Split: 0.33333334 89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 90 | shadowmaskMode: 0 91 | skinWeights: 2 92 | textureQuality: 0 93 | anisotropicTextures: 1 94 | antiAliasing: 0 95 | softParticles: 0 96 | softVegetation: 0 97 | realtimeReflectionProbes: 0 98 | billboardsFaceCameraPosition: 0 99 | vSyncCount: 1 100 | lodBias: 0.7 101 | maximumLODLevel: 0 102 | streamingMipmapsActive: 0 103 | streamingMipmapsAddAllCameras: 1 104 | streamingMipmapsMemoryBudget: 512 105 | streamingMipmapsRenderersPerFrame: 512 106 | streamingMipmapsMaxLevelReduction: 2 107 | streamingMipmapsMaxFileIORequests: 1024 108 | particleRaycastBudget: 64 109 | asyncUploadTimeSlice: 2 110 | asyncUploadBufferSize: 16 111 | asyncUploadPersistentBuffer: 1 112 | resolutionScalingFixedDPIFactor: 1 113 | excludedTargetPlatforms: [] 114 | - serializedVersion: 2 115 | name: High 116 | pixelLightCount: 2 117 | shadows: 2 118 | shadowResolution: 1 119 | shadowProjection: 1 120 | shadowCascades: 2 121 | shadowDistance: 40 122 | shadowNearPlaneOffset: 3 123 | shadowCascade2Split: 0.33333334 124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 125 | shadowmaskMode: 1 126 | skinWeights: 2 127 | textureQuality: 0 128 | anisotropicTextures: 1 129 | antiAliasing: 0 130 | softParticles: 0 131 | softVegetation: 1 132 | realtimeReflectionProbes: 1 133 | billboardsFaceCameraPosition: 1 134 | vSyncCount: 1 135 | lodBias: 1 136 | maximumLODLevel: 0 137 | streamingMipmapsActive: 0 138 | streamingMipmapsAddAllCameras: 1 139 | streamingMipmapsMemoryBudget: 512 140 | streamingMipmapsRenderersPerFrame: 512 141 | streamingMipmapsMaxLevelReduction: 2 142 | streamingMipmapsMaxFileIORequests: 1024 143 | particleRaycastBudget: 256 144 | asyncUploadTimeSlice: 2 145 | asyncUploadBufferSize: 16 146 | asyncUploadPersistentBuffer: 1 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Very High 151 | pixelLightCount: 3 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 2 156 | shadowDistance: 70 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | skinWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 1.5 171 | maximumLODLevel: 0 172 | streamingMipmapsActive: 0 173 | streamingMipmapsAddAllCameras: 1 174 | streamingMipmapsMemoryBudget: 512 175 | streamingMipmapsRenderersPerFrame: 512 176 | streamingMipmapsMaxLevelReduction: 2 177 | streamingMipmapsMaxFileIORequests: 1024 178 | particleRaycastBudget: 1024 179 | asyncUploadTimeSlice: 2 180 | asyncUploadBufferSize: 16 181 | asyncUploadPersistentBuffer: 1 182 | resolutionScalingFixedDPIFactor: 1 183 | excludedTargetPlatforms: [] 184 | - serializedVersion: 2 185 | name: Ultra 186 | pixelLightCount: 4 187 | shadows: 2 188 | shadowResolution: 2 189 | shadowProjection: 1 190 | shadowCascades: 4 191 | shadowDistance: 150 192 | shadowNearPlaneOffset: 3 193 | shadowCascade2Split: 0.33333334 194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 195 | shadowmaskMode: 1 196 | skinWeights: 4 197 | textureQuality: 0 198 | anisotropicTextures: 2 199 | antiAliasing: 2 200 | softParticles: 1 201 | softVegetation: 1 202 | realtimeReflectionProbes: 1 203 | billboardsFaceCameraPosition: 1 204 | vSyncCount: 1 205 | lodBias: 2 206 | maximumLODLevel: 0 207 | streamingMipmapsActive: 0 208 | streamingMipmapsAddAllCameras: 1 209 | streamingMipmapsMemoryBudget: 512 210 | streamingMipmapsRenderersPerFrame: 512 211 | streamingMipmapsMaxLevelReduction: 2 212 | streamingMipmapsMaxFileIORequests: 1024 213 | particleRaycastBudget: 4096 214 | asyncUploadTimeSlice: 2 215 | asyncUploadBufferSize: 16 216 | asyncUploadPersistentBuffer: 1 217 | resolutionScalingFixedDPIFactor: 1 218 | excludedTargetPlatforms: [] 219 | m_PerPlatformDefaultQuality: 220 | Android: 2 221 | Lumin: 5 222 | Nintendo 3DS: 5 223 | Nintendo Switch: 5 224 | PS4: 5 225 | PSP2: 2 226 | Standalone: 5 227 | WebGL: 3 228 | Windows Store Apps: 5 229 | XboxOne: 5 230 | iPhone: 2 231 | tvOS: 2 232 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - UI2 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 7200000, guid: 84a17cfa13e40ae4082ef42714f0a81c, type: 3} 7 | m_CopyBufferShader: {fileID: 7200000, guid: 23c51f21a3503f6428b527b01f8a2f4e, type: 3} 8 | m_SortShader: {fileID: 7200000, guid: ea257ca3cfb12a642a5025e612af6b2a, type: 3} 9 | m_RenderPipeSettingsPath: Packages/com.unity.visualeffectgraph/Shaders/RenderPipeline/HDRP 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # AzureKinectUnityFree 2 | Azure Kinect Examples for Unity (free version) 3 | 4 | ## Introduction 5 | 6 | This is the free version of 'Azure Kinect Examples for Unity' package. It works with Azure Kinect (aka Kinect4Azure, K4A) sensor only and requires at least Unity 2019.1f2. 7 | So far it contains two demo scenes: 8 | * BasicColorDepthDemo - shows the basic sensor streams - color and depth 9 | * VfxPointCloudDemo - displays the point cloud of the environment. 10 | 11 | I hope you can also get the feeling what the full package looks like. Enjoy! 12 | 13 | ## How to Run the Demo Scenes 14 | 15 | More info regarding the package and how-to-run instructions you can find [here](https://rfilkov.com/2019/07/24/azure-kinect-examples-for-unity/). 16 | 17 | ## Documentation 18 | 19 | The online documentation is avaliable [here](https://ratemt.com/k4adocs/). 20 | 21 | ## License 22 | 23 | [MIT License](LICENSE) 24 | 25 | --------------------------------------------------------------------------------