org.outernet.cesium-unity 1.15.3-linux.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGES.md +420 -0
- package/CHANGES.md.meta +7 -0
- package/Editor/BuildCesiumForUnity.cs +186 -0
- package/Editor/BuildCesiumForUnity.cs.meta +11 -0
- package/Editor/Cesium3DTilesetEditor.cs +542 -0
- package/Editor/Cesium3DTilesetEditor.cs.meta +11 -0
- package/Editor/CesiumBingMapsRasterOverlayEditor.cs +66 -0
- package/Editor/CesiumBingMapsRasterOverlayEditor.cs.meta +11 -0
- package/Editor/CesiumCameraControllerEditor.cs +174 -0
- package/Editor/CesiumCameraControllerEditor.cs.meta +11 -0
- package/Editor/CesiumCameraManagerEditor.cs +65 -0
- package/Editor/CesiumCameraManagerEditor.cs.meta +11 -0
- package/Editor/CesiumCartographicPolygonEditor.cs +23 -0
- package/Editor/CesiumCartographicPolygonEditor.cs.meta +11 -0
- package/Editor/CesiumDebugColorizeTilesRasterOverlayEditor.cs +41 -0
- package/Editor/CesiumDebugColorizeTilesRasterOverlayEditor.cs.meta +11 -0
- package/Editor/CesiumEditor.asmdef +26 -0
- package/Editor/CesiumEditor.asmdef.meta +7 -0
- package/Editor/CesiumEditorStyle.cs +188 -0
- package/Editor/CesiumEditorStyle.cs.meta +11 -0
- package/Editor/CesiumEditorUtility.cs +394 -0
- package/Editor/CesiumEditorUtility.cs.meta +11 -0
- package/Editor/CesiumEditorWindow.cs +447 -0
- package/Editor/CesiumEditorWindow.cs.meta +11 -0
- package/Editor/CesiumFlyToControllerEditor.cs +76 -0
- package/Editor/CesiumFlyToControllerEditor.cs.meta +11 -0
- package/Editor/CesiumGeoreferenceEditor.cs +277 -0
- package/Editor/CesiumGeoreferenceEditor.cs.meta +11 -0
- package/Editor/CesiumGlobeAnchorEditor.cs +202 -0
- package/Editor/CesiumGlobeAnchorEditor.cs.meta +11 -0
- package/Editor/CesiumInspectorGUI.cs +187 -0
- package/Editor/CesiumInspectorGUI.cs.meta +11 -0
- package/Editor/CesiumIonAsset.cs +192 -0
- package/Editor/CesiumIonAsset.cs.meta +11 -0
- package/Editor/CesiumIonAssetsWindow.cs +257 -0
- package/Editor/CesiumIonAssetsWindow.cs.meta +11 -0
- package/Editor/CesiumIonRasterOverlayEditor.cs +87 -0
- package/Editor/CesiumIonRasterOverlayEditor.cs.meta +11 -0
- package/Editor/CesiumIonServerManager.cs +153 -0
- package/Editor/CesiumIonServerManager.cs.meta +11 -0
- package/Editor/CesiumIonServerSelector.cs +127 -0
- package/Editor/CesiumIonServerSelector.cs.meta +11 -0
- package/Editor/CesiumIonSession.cs +102 -0
- package/Editor/CesiumIonSession.cs.meta +11 -0
- package/Editor/CesiumPolygonRasterOverlayEditor.cs +102 -0
- package/Editor/CesiumPolygonRasterOverlayEditor.cs.meta +11 -0
- package/Editor/CesiumRasterOverlayEditor.cs +230 -0
- package/Editor/CesiumRasterOverlayEditor.cs.meta +11 -0
- package/Editor/CesiumSubSceneEditor.cs +201 -0
- package/Editor/CesiumSubSceneEditor.cs.meta +11 -0
- package/Editor/CesiumTileMapServiceRasterOverlayEditor.cs +88 -0
- package/Editor/CesiumTileMapServiceRasterOverlayEditor.cs.meta +11 -0
- package/Editor/CesiumWebMapServiceRasterOverlayEditor.cs +111 -0
- package/Editor/CesiumWebMapServiceRasterOverlayEditor.cs.meta +11 -0
- package/Editor/CesiumWebMapTileServiceRasterOverlayEditor.cs +277 -0
- package/Editor/CesiumWebMapTileServiceRasterOverlayEditor.cs.meta +3 -0
- package/Editor/CompileCesiumForUnityNative.cs +581 -0
- package/Editor/CompileCesiumForUnityNative.cs.meta +11 -0
- package/Editor/ConfigureReinterop.cs +255 -0
- package/Editor/ConfigureReinterop.cs.meta +11 -0
- package/Editor/Helpers.cs +102 -0
- package/Editor/Helpers.cs.meta +11 -0
- package/Editor/IonAssetsMultiColumnHeader.cs +45 -0
- package/Editor/IonAssetsMultiColumnHeader.cs.meta +11 -0
- package/Editor/IonAssetsTreeView.cs +214 -0
- package/Editor/IonAssetsTreeView.cs.meta +11 -0
- package/Editor/IonMissingAssetWindow.cs +65 -0
- package/Editor/IonMissingAssetWindow.cs.meta +11 -0
- package/Editor/IonTokenTroubleshootingWindow.cs +615 -0
- package/Editor/IonTokenTroubleshootingWindow.cs.meta +11 -0
- package/Editor/NativeDownloadHandler.cs +35 -0
- package/Editor/NativeDownloadHandler.cs.meta +11 -0
- package/Editor/QuickAddItem.cs +43 -0
- package/Editor/QuickAddItem.cs.meta +11 -0
- package/Editor/Resources/Cesium-128x128.png +0 -0
- package/Editor/Resources/Cesium-128x128.png.meta +98 -0
- package/Editor/Resources/Cesium-24x24.png +0 -0
- package/Editor/Resources/Cesium-24x24.png.meta +123 -0
- package/Editor/Resources/Cesium-64x64.png +0 -0
- package/Editor/Resources/Cesium-64x64.png.meta +98 -0
- package/Editor/Resources/Cesium-for-Unity-dark.png +0 -0
- package/Editor/Resources/Cesium-for-Unity-dark.png.meta +123 -0
- package/Editor/Resources/Cesium-for-Unity-light.png +0 -0
- package/Editor/Resources/Cesium-for-Unity-light.png.meta +123 -0
- package/Editor/Resources/Cesium-icon-16x16.png +0 -0
- package/Editor/Resources/Cesium-icon-16x16.png.meta +98 -0
- package/Editor/Resources/FontAwesome/attribution.txt +9 -0
- package/Editor/Resources/FontAwesome/attribution.txt.meta +7 -0
- package/Editor/Resources/FontAwesome/book-reader-solid.png +0 -0
- package/Editor/Resources/FontAwesome/book-reader-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/book-reader-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/book-reader-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/check-solid.png +0 -0
- package/Editor/Resources/FontAwesome/check-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/check-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/check-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/cloud-upload-alt-solid.png +0 -0
- package/Editor/Resources/FontAwesome/cloud-upload-alt-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/cloud-upload-alt-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/cloud-upload-alt-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/folder.png +0 -0
- package/Editor/Resources/FontAwesome/folder.png.meta +147 -0
- package/Editor/Resources/FontAwesome/folder.svg +5 -0
- package/Editor/Resources/FontAwesome/folder.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/hands-helping-solid.png +0 -0
- package/Editor/Resources/FontAwesome/hands-helping-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/hands-helping-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/hands-helping-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/key-solid.png +0 -0
- package/Editor/Resources/FontAwesome/key-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/key-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/key-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/plus-solid.png +0 -0
- package/Editor/Resources/FontAwesome/plus-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/plus-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/plus-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/sign-out-alt-solid.png +0 -0
- package/Editor/Resources/FontAwesome/sign-out-alt-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/sign-out-alt-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/sign-out-alt-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/sync-alt-solid.png +0 -0
- package/Editor/Resources/FontAwesome/sync-alt-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/sync-alt-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/sync-alt-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome/times-solid.png +0 -0
- package/Editor/Resources/FontAwesome/times-solid.png.meta +98 -0
- package/Editor/Resources/FontAwesome/times-solid.svg +1 -0
- package/Editor/Resources/FontAwesome/times-solid.svg.meta +7 -0
- package/Editor/Resources/FontAwesome.meta +8 -0
- package/Editor/Resources.meta +8 -0
- package/Editor/SelectIonTokenWindow.cs +249 -0
- package/Editor/SelectIonTokenWindow.cs.meta +11 -0
- package/Editor/arm64.meta +8 -0
- package/Editor/csc.rsp +1 -0
- package/Editor/csc.rsp.meta +7 -0
- package/Editor/libCesiumForUnityNative-Editor.so +0 -0
- package/Editor/libCesiumForUnityNative-Editor.so.meta +2 -0
- package/Editor/libCesiumForUnityNative-Runtime.so +0 -0
- package/Editor/libCesiumForUnityNative-Runtime.so.meta +2 -0
- package/Editor/x86_64.meta +8 -0
- package/Editor.meta +8 -0
- package/LICENSE +201 -0
- package/LICENSE.meta +7 -0
- package/Plugins/Standalone/libCesiumForUnityNative-Runtime.so +0 -0
- package/Plugins/Standalone/libCesiumForUnityNative-Runtime.so.meta +2 -0
- package/Plugins/Standalone.meta +8 -0
- package/Plugins.meta +8 -0
- package/README.md +39 -0
- package/README.md.meta +7 -0
- package/Reinterop.deps.json +172 -0
- package/Reinterop.deps.json.meta +7 -0
- package/Reinterop.dll +0 -0
- package/Reinterop.dll.meta +79 -0
- package/Runtime/Cesium3DTile.cs +37 -0
- package/Runtime/Cesium3DTile.cs.meta +11 -0
- package/Runtime/Cesium3DTileset.cs +788 -0
- package/Runtime/Cesium3DTileset.cs.meta +11 -0
- package/Runtime/Cesium3DTilesetLoadFailureDetails.cs +65 -0
- package/Runtime/Cesium3DTilesetLoadFailureDetails.cs.meta +11 -0
- package/Runtime/CesiumBackwardCompatibility.cs +163 -0
- package/Runtime/CesiumBackwardCompatibility.cs.meta +11 -0
- package/Runtime/CesiumBingMapsRasterOverlay.cs +72 -0
- package/Runtime/CesiumBingMapsRasterOverlay.cs.meta +11 -0
- package/Runtime/CesiumCameraController.cs +827 -0
- package/Runtime/CesiumCameraController.cs.meta +11 -0
- package/Runtime/CesiumCameraManager.cs +105 -0
- package/Runtime/CesiumCameraManager.cs.meta +11 -0
- package/Runtime/CesiumCartographicPolygon.cs +152 -0
- package/Runtime/CesiumCartographicPolygon.cs.meta +11 -0
- package/Runtime/CesiumCreditSystem.cs +343 -0
- package/Runtime/CesiumCreditSystem.cs.meta +11 -0
- package/Runtime/CesiumCreditSystemUI.cs +402 -0
- package/Runtime/CesiumCreditSystemUI.cs.meta +11 -0
- package/Runtime/CesiumDebugColorizeTilesRasterOverlay.cs +21 -0
- package/Runtime/CesiumDebugColorizeTilesRasterOverlay.cs.meta +11 -0
- package/Runtime/CesiumEllipsoid.cs +107 -0
- package/Runtime/CesiumEllipsoid.cs.meta +11 -0
- package/Runtime/CesiumFeature.cs +279 -0
- package/Runtime/CesiumFeature.cs.meta +11 -0
- package/Runtime/CesiumFeatureIdAttribute.cs +61 -0
- package/Runtime/CesiumFeatureIdAttribute.cs.meta +11 -0
- package/Runtime/CesiumFeatureIdSet.cs +165 -0
- package/Runtime/CesiumFeatureIdSet.cs.meta +11 -0
- package/Runtime/CesiumFeatureIdTexture.cs +68 -0
- package/Runtime/CesiumFeatureIdTexture.cs.meta +11 -0
- package/Runtime/CesiumFlyToController.cs +539 -0
- package/Runtime/CesiumFlyToController.cs.meta +11 -0
- package/Runtime/CesiumGeoreference.cs +628 -0
- package/Runtime/CesiumGeoreference.cs.meta +11 -0
- package/Runtime/CesiumGlobeAnchor.cs +664 -0
- package/Runtime/CesiumGlobeAnchor.cs.meta +11 -0
- package/Runtime/CesiumGlobeAnchorBackwardCompatibility0dot2dot0.cs +105 -0
- package/Runtime/CesiumGlobeAnchorBackwardCompatibility0dot2dot0.cs.meta +11 -0
- package/Runtime/CesiumIntMatN.cs +398 -0
- package/Runtime/CesiumIntMatN.cs.meta +11 -0
- package/Runtime/CesiumIntVecN.cs +525 -0
- package/Runtime/CesiumIntVecN.cs.meta +11 -0
- package/Runtime/CesiumIonRasterOverlay.cs +110 -0
- package/Runtime/CesiumIonRasterOverlay.cs.meta +11 -0
- package/Runtime/CesiumIonServer.cs +137 -0
- package/Runtime/CesiumIonServer.cs.meta +11 -0
- package/Runtime/CesiumMetadata.cs +33 -0
- package/Runtime/CesiumMetadata.cs.meta +11 -0
- package/Runtime/CesiumMetadataValue.cs +1764 -0
- package/Runtime/CesiumMetadataValue.cs.meta +11 -0
- package/Runtime/CesiumMetadataValueType.cs +203 -0
- package/Runtime/CesiumMetadataValueType.cs.meta +11 -0
- package/Runtime/CesiumModelMetadata.cs +26 -0
- package/Runtime/CesiumModelMetadata.cs.meta +11 -0
- package/Runtime/CesiumObjectPool.cs +74 -0
- package/Runtime/CesiumObjectPool.cs.meta +11 -0
- package/Runtime/CesiumObjectPools.cs +39 -0
- package/Runtime/CesiumObjectPools.cs.meta +11 -0
- package/Runtime/CesiumOriginShift.cs +146 -0
- package/Runtime/CesiumOriginShift.cs.meta +11 -0
- package/Runtime/CesiumPointCloudRenderer.cs +246 -0
- package/Runtime/CesiumPointCloudRenderer.cs.meta +11 -0
- package/Runtime/CesiumPointCloudShading.cs +76 -0
- package/Runtime/CesiumPointCloudShading.cs.meta +11 -0
- package/Runtime/CesiumPolygonRasterOverlay.cs +109 -0
- package/Runtime/CesiumPolygonRasterOverlay.cs.meta +11 -0
- package/Runtime/CesiumPrimitiveFeatures.cs +130 -0
- package/Runtime/CesiumPrimitiveFeatures.cs.meta +11 -0
- package/Runtime/CesiumPropertyArray.cs +64 -0
- package/Runtime/CesiumPropertyArray.cs.meta +11 -0
- package/Runtime/CesiumPropertyTable.cs +126 -0
- package/Runtime/CesiumPropertyTable.cs.meta +11 -0
- package/Runtime/CesiumPropertyTableProperty.cs +1734 -0
- package/Runtime/CesiumPropertyTableProperty.cs.meta +11 -0
- package/Runtime/CesiumRasterOverlay.cs +239 -0
- package/Runtime/CesiumRasterOverlay.cs.meta +11 -0
- package/Runtime/CesiumRasterOverlayLoadFailureDetails.cs +65 -0
- package/Runtime/CesiumRasterOverlayLoadFailureDetails.cs.meta +11 -0
- package/Runtime/CesiumRuntime.asmdef +32 -0
- package/Runtime/CesiumRuntime.asmdef.meta +7 -0
- package/Runtime/CesiumRuntime.cs +3 -0
- package/Runtime/CesiumRuntime.cs.meta +11 -0
- package/Runtime/CesiumRuntimeSettings.cs +188 -0
- package/Runtime/CesiumRuntimeSettings.cs.meta +11 -0
- package/Runtime/CesiumSampleHeightResult.cs +47 -0
- package/Runtime/CesiumSampleHeightResult.cs.meta +11 -0
- package/Runtime/CesiumSimplePlanarEllipsoidCurve.cs +93 -0
- package/Runtime/CesiumSimplePlanarEllipsoidCurve.cs.meta +11 -0
- package/Runtime/CesiumSubScene.cs +473 -0
- package/Runtime/CesiumSubScene.cs.meta +11 -0
- package/Runtime/CesiumTileExcluder.cs +47 -0
- package/Runtime/CesiumTileExcluder.cs.meta +11 -0
- package/Runtime/CesiumTileMapServiceRasterOverlay.cs +93 -0
- package/Runtime/CesiumTileMapServiceRasterOverlay.cs.meta +11 -0
- package/Runtime/CesiumWebMapServiceRasterOverlay.cs +129 -0
- package/Runtime/CesiumWebMapServiceRasterOverlay.cs.meta +11 -0
- package/Runtime/CesiumWebMapTileServiceRasterOverlay.cs +414 -0
- package/Runtime/CesiumWebMapTileServiceRasterOverlay.cs.meta +3 -0
- package/Runtime/CesiumWgs84Ellipsoid.cs +75 -0
- package/Runtime/CesiumWgs84Ellipsoid.cs.meta +11 -0
- package/Runtime/ConfigureReinterop.cs +926 -0
- package/Runtime/ConfigureReinterop.cs.meta +11 -0
- package/Runtime/Helpers.cs +122 -0
- package/Runtime/Helpers.cs.meta +11 -0
- package/Runtime/ICesiumRestartable.cs +17 -0
- package/Runtime/ICesiumRestartable.cs.meta +11 -0
- package/Runtime/NativeCoroutine.cs +28 -0
- package/Runtime/NativeCoroutine.cs.meta +11 -0
- package/Runtime/NativeDownloadHandler.cs +29 -0
- package/Runtime/NativeDownloadHandler.cs.meta +11 -0
- package/Runtime/Resources/CesiumCreditSystem.prefab +78 -0
- package/Runtime/Resources/CesiumCreditSystem.prefab.meta +7 -0
- package/Runtime/Resources/CesiumCreditSystemRuntimeTheme.tss +2 -0
- package/Runtime/Resources/CesiumCreditSystemRuntimeTheme.tss.meta +11 -0
- package/Runtime/Resources/CesiumCreditSystemUI.uxml +4 -0
- package/Runtime/Resources/CesiumCreditSystemUI.uxml.meta +10 -0
- package/Runtime/Resources/CesiumCreditSystemUIPanelSettings.asset +38 -0
- package/Runtime/Resources/CesiumCreditSystemUIPanelSettings.asset.meta +8 -0
- package/Runtime/Resources/CesiumDefaultTilesetMaterial.mat +232 -0
- package/Runtime/Resources/CesiumDefaultTilesetMaterial.mat.meta +8 -0
- package/Runtime/Resources/CesiumDefaultTilesetShader.shadergraph +14271 -0
- package/Runtime/Resources/CesiumDefaultTilesetShader.shadergraph.meta +10 -0
- package/Runtime/Resources/CesiumPointCloudShading.hlsl +156 -0
- package/Runtime/Resources/CesiumPointCloudShading.hlsl.meta +7 -0
- package/Runtime/Resources/CesiumPointCloudShadingMaterial.mat +125 -0
- package/Runtime/Resources/CesiumPointCloudShadingMaterial.mat.meta +8 -0
- package/Runtime/Resources/CesiumPointCloudShadingShader.shader +73 -0
- package/Runtime/Resources/CesiumPointCloudShadingShader.shader.meta +10 -0
- package/Runtime/Resources/CesiumRasterOverlay.shadersubgraph +2207 -0
- package/Runtime/Resources/CesiumRasterOverlay.shadersubgraph.meta +10 -0
- package/Runtime/Resources/CesiumSelectTexCoords.shadersubgraph +722 -0
- package/Runtime/Resources/CesiumSelectTexCoords.shadersubgraph.meta +10 -0
- package/Runtime/Resources/CesiumUnlitTilesetMaterial.mat +261 -0
- package/Runtime/Resources/CesiumUnlitTilesetMaterial.mat.meta +8 -0
- package/Runtime/Resources/CesiumUnlitTilesetShader.shadergraph +5873 -0
- package/Runtime/Resources/CesiumUnlitTilesetShader.shadergraph.meta +10 -0
- package/Runtime/Resources/DynamicCamera.prefab +253 -0
- package/Runtime/Resources/DynamicCamera.prefab.meta +7 -0
- package/Runtime/Resources/TransformTextureCoordinates.shadersubgraph +2171 -0
- package/Runtime/Resources/TransformTextureCoordinates.shadersubgraph.meta +10 -0
- package/Runtime/Resources/green1x1.png +0 -0
- package/Runtime/Resources/green1x1.png.meta +123 -0
- package/Runtime/Resources.meta +8 -0
- package/Runtime/TestGltfModel.cs +56 -0
- package/Runtime/TestGltfModel.cs.meta +11 -0
- package/Runtime/TestReinterop.cs +21 -0
- package/Runtime/TestReinterop.cs.meta +11 -0
- package/Runtime/UnityLifetime.cs +27 -0
- package/Runtime/UnityLifetime.cs.meta +11 -0
- package/Runtime/WaitForTask.cs +25 -0
- package/Runtime/WaitForTask.cs.meta +11 -0
- package/Runtime/csc.rsp +1 -0
- package/Runtime/csc.rsp.meta +7 -0
- package/Runtime.meta +8 -0
- package/ThirdParty.json +27 -0
- package/ThirdParty.json.meta +7 -0
- package/WGS84.asset +18 -0
- package/WGS84.asset.meta +8 -0
- package/package.json +29 -0
- package/package.json.meta +7 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
using Unity.Mathematics;
|
|
2
|
+
using UnityEditor;
|
|
3
|
+
using UnityEngine;
|
|
4
|
+
|
|
5
|
+
namespace CesiumForUnity
|
|
6
|
+
{
|
|
7
|
+
internal class Helpers
|
|
8
|
+
{
|
|
9
|
+
public static string ToString<T>(T value)
|
|
10
|
+
{
|
|
11
|
+
return value.ToString();
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
public static Vector3 FromMathematics(double3 vector)
|
|
15
|
+
{
|
|
16
|
+
return new Vector3((float)vector.x, (float)vector.y, (float)vector.z);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
public static Vector4 FromMathematics(double4 vector)
|
|
20
|
+
{
|
|
21
|
+
return new Vector4((float)vector.x, (float)vector.y, (float)vector.z, (float)vector.w);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
public static double4x4 ToMathematics(Matrix4x4 matrix)
|
|
25
|
+
{
|
|
26
|
+
return new double4x4(
|
|
27
|
+
matrix.m00, matrix.m01, matrix.m02, matrix.m03,
|
|
28
|
+
matrix.m10, matrix.m11, matrix.m12, matrix.m13,
|
|
29
|
+
matrix.m20, matrix.m21, matrix.m22, matrix.m23,
|
|
30
|
+
matrix.m30, matrix.m31, matrix.m32, matrix.m33);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public static Matrix4x4 FromMathematics(double4x4 matrix)
|
|
34
|
+
{
|
|
35
|
+
return new Matrix4x4(FromMathematics(matrix.c0), FromMathematics(matrix.c1), FromMathematics(matrix.c2), FromMathematics(matrix.c3));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static double3x3 ToMathematicsDouble3x3(Matrix4x4 matrix)
|
|
39
|
+
{
|
|
40
|
+
return new double3x3(
|
|
41
|
+
matrix.m00, matrix.m01, matrix.m02,
|
|
42
|
+
matrix.m10, matrix.m11, matrix.m12,
|
|
43
|
+
matrix.m20, matrix.m21, matrix.m22);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public static float3x3 ToMathematicsFloat3x3(Matrix4x4 matrix)
|
|
47
|
+
{
|
|
48
|
+
return new float3x3(
|
|
49
|
+
matrix.m00, matrix.m01, matrix.m02,
|
|
50
|
+
matrix.m10, matrix.m11, matrix.m12,
|
|
51
|
+
matrix.m20, matrix.m21, matrix.m22);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
internal static void MatrixToRotationAndScale(double3x3 matrix, out quaternion rotation, out double3 scale)
|
|
55
|
+
{
|
|
56
|
+
double lengthColumn0 = math.length(matrix.c0);
|
|
57
|
+
double lengthColumn1 = math.length(matrix.c1);
|
|
58
|
+
double lengthColumn2 = math.length(matrix.c2);
|
|
59
|
+
|
|
60
|
+
float3x3 rotationMatrix = new float3x3(
|
|
61
|
+
(float3)(matrix.c0 / lengthColumn0),
|
|
62
|
+
(float3)(matrix.c1 / lengthColumn1),
|
|
63
|
+
(float3)(matrix.c2 / lengthColumn2));
|
|
64
|
+
|
|
65
|
+
scale = new double3(lengthColumn0, lengthColumn1, lengthColumn2);
|
|
66
|
+
|
|
67
|
+
double3 cross = math.cross(matrix.c0, matrix.c1);
|
|
68
|
+
if (math.dot(cross, matrix.c2) < 0.0)
|
|
69
|
+
{
|
|
70
|
+
rotationMatrix *= -1.0f;
|
|
71
|
+
scale *= -1.0f;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
rotation = math.quaternion(rotationMatrix);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
internal static void MatrixToTranslationRotationAndScale(double4x4 matrix, out double3 translation, out quaternion rotation, out double3 scale)
|
|
78
|
+
{
|
|
79
|
+
translation = matrix.c3.xyz;
|
|
80
|
+
|
|
81
|
+
Helpers.MatrixToRotationAndScale(
|
|
82
|
+
new double3x3(matrix.c0.xyz, matrix.c1.xyz, matrix.c2.xyz),
|
|
83
|
+
out rotation,
|
|
84
|
+
out scale);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
internal static void MatrixToInaccurateRotationAndScale(double3x3 matrix, out Quaternion rotation, out Vector3 scale)
|
|
88
|
+
{
|
|
89
|
+
quaternion rotationTemp;
|
|
90
|
+
double3 scaleTemp;
|
|
91
|
+
MatrixToRotationAndScale(matrix, out rotationTemp, out scaleTemp);
|
|
92
|
+
|
|
93
|
+
rotation = rotationTemp;
|
|
94
|
+
scale = (float3)scaleTemp;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
internal static void MatrixToInaccurateTranslationRotationAndScale(double4x4 matrix, out Vector3 translation, out Quaternion rotation, out Vector3 scale)
|
|
98
|
+
{
|
|
99
|
+
translation = Helpers.FromMathematics(matrix.c3.xyz);
|
|
100
|
+
|
|
101
|
+
Helpers.MatrixToInaccurateRotationAndScale(
|
|
102
|
+
new double3x3(matrix.c0.xyz, matrix.c1.xyz, matrix.c2.xyz),
|
|
103
|
+
out rotation,
|
|
104
|
+
out scale);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
internal static double4x4 TranslationRotationAndScaleToMatrix(double3 translation, quaternion rotation, double3 scale)
|
|
108
|
+
{
|
|
109
|
+
double3x3 scaleMatrix = new double3x3(
|
|
110
|
+
new double3(scale.x, 0.0, 0.0),
|
|
111
|
+
new double3(0.0, scale.y, 0.0),
|
|
112
|
+
new double3(0.0, 0.0, scale.z));
|
|
113
|
+
double3x3 rotationMatrix = new float3x3(rotation);
|
|
114
|
+
double3x3 scaleAndRotate = math.mul(rotationMatrix, scaleMatrix);
|
|
115
|
+
return new double4x4(
|
|
116
|
+
new double4(scaleAndRotate.c0, 0.0),
|
|
117
|
+
new double4(scaleAndRotate.c1, 0.0),
|
|
118
|
+
new double4(scaleAndRotate.c2, 0.0),
|
|
119
|
+
new double4(translation, 1.0));
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
namespace CesiumForUnity
|
|
2
|
+
{
|
|
3
|
+
/// <summary>
|
|
4
|
+
/// An interface for an object with a <see cref="Restart"/> method, allowing the state of the
|
|
5
|
+
/// object to be reinitialized from its serialized properties.
|
|
6
|
+
/// </summary>
|
|
7
|
+
public interface ICesiumRestartable
|
|
8
|
+
{
|
|
9
|
+
/// <summary>
|
|
10
|
+
/// Completely re-initializes the state of this object from its serialized properties. It
|
|
11
|
+
/// is not usually necessary to call directly. It can sometimes be useful after Unity has
|
|
12
|
+
/// modified the private, serializable fields of this instance. For example: after an
|
|
13
|
+
/// undo or redo operation.
|
|
14
|
+
/// </summary>
|
|
15
|
+
void Restart();
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
using System;
|
|
2
|
+
using System.Collections;
|
|
3
|
+
|
|
4
|
+
namespace CesiumForUnity
|
|
5
|
+
{
|
|
6
|
+
internal partial class NativeCoroutine : IEnumerable
|
|
7
|
+
{
|
|
8
|
+
private Func<object, object> _callback;
|
|
9
|
+
|
|
10
|
+
public NativeCoroutine(Func<object, object> callback)
|
|
11
|
+
{
|
|
12
|
+
_callback = callback;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
public IEnumerator GetEnumerator()
|
|
16
|
+
{
|
|
17
|
+
// We're using the callback instance itself as a
|
|
18
|
+
// an opaque sentinel that indicates "end the coroutine".
|
|
19
|
+
object sentinel = this._callback;
|
|
20
|
+
object next = this._callback(sentinel);
|
|
21
|
+
while (next != sentinel)
|
|
22
|
+
{
|
|
23
|
+
yield return next;
|
|
24
|
+
next = this._callback(sentinel);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
using Reinterop;
|
|
2
|
+
using System;
|
|
3
|
+
using UnityEngine.Networking;
|
|
4
|
+
|
|
5
|
+
namespace CesiumForUnity
|
|
6
|
+
{
|
|
7
|
+
[ReinteropNativeImplementation("CesiumForUnityNative::NativeDownloadHandlerImpl", "NativeDownloadHandlerImpl.h")]
|
|
8
|
+
internal partial class NativeDownloadHandler : DownloadHandlerScript
|
|
9
|
+
{
|
|
10
|
+
public NativeDownloadHandler()
|
|
11
|
+
: base(new byte[16384])
|
|
12
|
+
{
|
|
13
|
+
CreateImplementation();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
protected override bool ReceiveData(byte[] data, int dataLength) {
|
|
17
|
+
unsafe
|
|
18
|
+
{
|
|
19
|
+
fixed(byte* p = data)
|
|
20
|
+
{
|
|
21
|
+
bool result = this.ReceiveDataNative((IntPtr)p, dataLength);
|
|
22
|
+
return result;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
private partial bool ReceiveDataNative(IntPtr data, int dataLength);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1 &6773500804347934950
|
|
4
|
+
GameObject:
|
|
5
|
+
m_ObjectHideFlags: 0
|
|
6
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
7
|
+
m_PrefabInstance: {fileID: 0}
|
|
8
|
+
m_PrefabAsset: {fileID: 0}
|
|
9
|
+
serializedVersion: 6
|
|
10
|
+
m_Component:
|
|
11
|
+
- component: {fileID: 6773500804347934951}
|
|
12
|
+
- component: {fileID: 898454116287384495}
|
|
13
|
+
- component: {fileID: -1243744473593318126}
|
|
14
|
+
- component: {fileID: 4747555983806020061}
|
|
15
|
+
m_Layer: 0
|
|
16
|
+
m_Name: CesiumCreditSystem
|
|
17
|
+
m_TagString: Untagged
|
|
18
|
+
m_Icon: {fileID: 0}
|
|
19
|
+
m_NavMeshLayer: 0
|
|
20
|
+
m_StaticEditorFlags: 0
|
|
21
|
+
m_IsActive: 1
|
|
22
|
+
--- !u!4 &6773500804347934951
|
|
23
|
+
Transform:
|
|
24
|
+
m_ObjectHideFlags: 0
|
|
25
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
26
|
+
m_PrefabInstance: {fileID: 0}
|
|
27
|
+
m_PrefabAsset: {fileID: 0}
|
|
28
|
+
m_GameObject: {fileID: 6773500804347934950}
|
|
29
|
+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
30
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
31
|
+
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
32
|
+
m_ConstrainProportionsScale: 0
|
|
33
|
+
m_Children: []
|
|
34
|
+
m_Father: {fileID: 0}
|
|
35
|
+
m_RootOrder: 0
|
|
36
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
37
|
+
--- !u!114 &898454116287384495
|
|
38
|
+
MonoBehaviour:
|
|
39
|
+
m_ObjectHideFlags: 0
|
|
40
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
41
|
+
m_PrefabInstance: {fileID: 0}
|
|
42
|
+
m_PrefabAsset: {fileID: 0}
|
|
43
|
+
m_GameObject: {fileID: 6773500804347934950}
|
|
44
|
+
m_Enabled: 1
|
|
45
|
+
m_EditorHideFlags: 0
|
|
46
|
+
m_Script: {fileID: 11500000, guid: 6ad7d034075e67d4d8e4442eee83f1bd, type: 3}
|
|
47
|
+
m_Name:
|
|
48
|
+
m_EditorClassIdentifier:
|
|
49
|
+
--- !u!114 &-1243744473593318126
|
|
50
|
+
MonoBehaviour:
|
|
51
|
+
m_ObjectHideFlags: 0
|
|
52
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
53
|
+
m_PrefabInstance: {fileID: 0}
|
|
54
|
+
m_PrefabAsset: {fileID: 0}
|
|
55
|
+
m_GameObject: {fileID: 6773500804347934950}
|
|
56
|
+
m_Enabled: 1
|
|
57
|
+
m_EditorHideFlags: 0
|
|
58
|
+
m_Script: {fileID: 11500000, guid: e53599f84ab62d94092435eae4a9ec6c, type: 3}
|
|
59
|
+
m_Name:
|
|
60
|
+
m_EditorClassIdentifier:
|
|
61
|
+
_creditSystem: {fileID: 898454116287384495}
|
|
62
|
+
--- !u!114 &4747555983806020061
|
|
63
|
+
MonoBehaviour:
|
|
64
|
+
m_ObjectHideFlags: 0
|
|
65
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
66
|
+
m_PrefabInstance: {fileID: 0}
|
|
67
|
+
m_PrefabAsset: {fileID: 0}
|
|
68
|
+
m_GameObject: {fileID: 6773500804347934950}
|
|
69
|
+
m_Enabled: 1
|
|
70
|
+
m_EditorHideFlags: 0
|
|
71
|
+
m_Script: {fileID: 19102, guid: 0000000000000000e000000000000000, type: 0}
|
|
72
|
+
m_Name:
|
|
73
|
+
m_EditorClassIdentifier:
|
|
74
|
+
m_PanelSettings: {fileID: 11400000, guid: ac26ca9c9186f374a8e440a67391435c, type: 2}
|
|
75
|
+
m_ParentUI: {fileID: 0}
|
|
76
|
+
sourceAsset: {fileID: 9197481963319205126, guid: 79911d2c52f881c479aab0c40d810ca3,
|
|
77
|
+
type: 3}
|
|
78
|
+
m_SortingOrder: 0
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 1c8cee1d39d4cb245ab32e13e5e38663
|
|
3
|
+
ScriptedImporter:
|
|
4
|
+
internalIDToNameTable: []
|
|
5
|
+
externalObjects: {}
|
|
6
|
+
serializedVersion: 2
|
|
7
|
+
userData:
|
|
8
|
+
assetBundleName:
|
|
9
|
+
assetBundleVariant:
|
|
10
|
+
script: {fileID: 12388, guid: 0000000000000000e000000000000000, type: 0}
|
|
11
|
+
disableValidation: 0
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
|
|
2
|
+
<ui:VisualElement name="PopupCredits" style="width: 42%; height: 74%; padding-left: 15px; padding-right: 15px; padding-top: 15px; padding-bottom: 15px; left: 29%; top: 6%; border-top-left-radius: 25px; border-bottom-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; background-color: rgba(0, 0, 0, 0.78); flex-direction: column; justify-content: flex-start; align-items: flex-start; flex-wrap: wrap; font-size: 11px; color: rgb(255, 255, 255); display: none; visibility: visible; flex-shrink: 0; -unity-font: none;" />
|
|
3
|
+
<ui:VisualElement name="OnScreenCredits" style="position: absolute; bottom: 0; flex-shrink: 0; flex-direction: row; align-items: center; width: 100%; padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px; flex-wrap: wrap; font-size: 11px; color: rgb(255, 255, 255); -unity-font: none;" />
|
|
4
|
+
</ui:UXML>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 79911d2c52f881c479aab0c40d810ca3
|
|
3
|
+
ScriptedImporter:
|
|
4
|
+
internalIDToNameTable: []
|
|
5
|
+
externalObjects: {}
|
|
6
|
+
serializedVersion: 2
|
|
7
|
+
userData:
|
|
8
|
+
assetBundleName:
|
|
9
|
+
assetBundleVariant:
|
|
10
|
+
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
|
@@ -0,0 +1,38 @@
|
|
|
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: 19101, guid: 0000000000000000e000000000000000, type: 0}
|
|
13
|
+
m_Name: CesiumCreditSystemUIPanelSettings
|
|
14
|
+
m_EditorClassIdentifier:
|
|
15
|
+
themeUss: {fileID: -4733365628477956816, guid: 1c8cee1d39d4cb245ab32e13e5e38663,
|
|
16
|
+
type: 3}
|
|
17
|
+
m_TargetTexture: {fileID: 0}
|
|
18
|
+
m_ScaleMode: 1
|
|
19
|
+
m_Scale: 1
|
|
20
|
+
m_ReferenceDpi: 96
|
|
21
|
+
m_FallbackDpi: 96
|
|
22
|
+
m_ReferenceResolution: {x: 1200, y: 800}
|
|
23
|
+
m_ScreenMatchMode: 0
|
|
24
|
+
m_Match: 0
|
|
25
|
+
m_SortingOrder: 0
|
|
26
|
+
m_TargetDisplay: 0
|
|
27
|
+
m_ClearDepthStencil: 1
|
|
28
|
+
m_ClearColor: 0
|
|
29
|
+
m_ColorClearValue: {r: 0, g: 0, b: 0, a: 0}
|
|
30
|
+
m_DynamicAtlasSettings:
|
|
31
|
+
m_MinAtlasSize: 64
|
|
32
|
+
m_MaxAtlasSize: 4096
|
|
33
|
+
m_MaxSubTextureSize: 64
|
|
34
|
+
m_ActiveFilters: 31
|
|
35
|
+
m_AtlasBlitShader: {fileID: 9101, guid: 0000000000000000f000000000000000, type: 0}
|
|
36
|
+
m_RuntimeShader: {fileID: 9100, guid: 0000000000000000f000000000000000, type: 0}
|
|
37
|
+
m_RuntimeWorldShader: {fileID: 9102, guid: 0000000000000000f000000000000000, type: 0}
|
|
38
|
+
textSettings: {fileID: 0}
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!114 &-3553251064599180279
|
|
4
|
+
MonoBehaviour:
|
|
5
|
+
m_ObjectHideFlags: 11
|
|
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: 639247ca83abc874e893eb93af2b5e44, type: 3}
|
|
13
|
+
m_Name:
|
|
14
|
+
m_EditorClassIdentifier:
|
|
15
|
+
version: 0
|
|
16
|
+
--- !u!21 &2100000
|
|
17
|
+
Material:
|
|
18
|
+
serializedVersion: 8
|
|
19
|
+
m_ObjectHideFlags: 0
|
|
20
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
21
|
+
m_PrefabInstance: {fileID: 0}
|
|
22
|
+
m_PrefabAsset: {fileID: 0}
|
|
23
|
+
m_Name: CesiumDefaultTilesetMaterial
|
|
24
|
+
m_Shader: {fileID: -6465566751694194690, guid: 407c0cff68611ac46a65eec87a5203f5, type: 3}
|
|
25
|
+
m_Parent: {fileID: 0}
|
|
26
|
+
m_ModifiedSerializedProperties: 0
|
|
27
|
+
m_ValidKeywords:
|
|
28
|
+
- _ALPHATEST_ON
|
|
29
|
+
- _BUILTIN_ALPHATEST_ON
|
|
30
|
+
- _BUILTIN_AlphaClip
|
|
31
|
+
m_InvalidKeywords:
|
|
32
|
+
- _DISABLE_SSR_TRANSPARENT
|
|
33
|
+
- _DOUBLESIDED_ON
|
|
34
|
+
- _EMISSION
|
|
35
|
+
m_LightmapFlags: 2
|
|
36
|
+
m_EnableInstancingVariants: 0
|
|
37
|
+
m_DoubleSidedGI: 1
|
|
38
|
+
m_CustomRenderQueue: 2450
|
|
39
|
+
stringTagMap:
|
|
40
|
+
MotionVector: User
|
|
41
|
+
RenderType: TransparentCutout
|
|
42
|
+
disabledShaderPasses:
|
|
43
|
+
- TransparentDepthPrepass
|
|
44
|
+
- TransparentDepthPostpass
|
|
45
|
+
- TransparentBackface
|
|
46
|
+
- RayTracingPrepass
|
|
47
|
+
- MOTIONVECTORS
|
|
48
|
+
m_LockedProperties:
|
|
49
|
+
m_SavedProperties:
|
|
50
|
+
serializedVersion: 3
|
|
51
|
+
m_TexEnvs:
|
|
52
|
+
- _baseColorTexture:
|
|
53
|
+
m_Texture: {fileID: 0}
|
|
54
|
+
m_Scale: {x: 1, y: 1}
|
|
55
|
+
m_Offset: {x: 0, y: 0}
|
|
56
|
+
- _emissiveTexture:
|
|
57
|
+
m_Texture: {fileID: 0}
|
|
58
|
+
m_Scale: {x: 1, y: 1}
|
|
59
|
+
m_Offset: {x: 0, y: 0}
|
|
60
|
+
- _metallicRoughnessTexture:
|
|
61
|
+
m_Texture: {fileID: 2800000, guid: ce97cc92c5d962f4585b2ac5527d723e, type: 3}
|
|
62
|
+
m_Scale: {x: 1, y: 1}
|
|
63
|
+
m_Offset: {x: 0, y: 0}
|
|
64
|
+
- _normalMapTexture:
|
|
65
|
+
m_Texture: {fileID: 0}
|
|
66
|
+
m_Scale: {x: 1, y: 1}
|
|
67
|
+
m_Offset: {x: 0, y: 0}
|
|
68
|
+
- _occlusionTexture:
|
|
69
|
+
m_Texture: {fileID: 0}
|
|
70
|
+
m_Scale: {x: 1, y: 1}
|
|
71
|
+
m_Offset: {x: 0, y: 0}
|
|
72
|
+
- _overlayTexture_0:
|
|
73
|
+
m_Texture: {fileID: 0}
|
|
74
|
+
m_Scale: {x: 1, y: 1}
|
|
75
|
+
m_Offset: {x: 0, y: 0}
|
|
76
|
+
- _overlayTexture_1:
|
|
77
|
+
m_Texture: {fileID: 0}
|
|
78
|
+
m_Scale: {x: 1, y: 1}
|
|
79
|
+
m_Offset: {x: 0, y: 0}
|
|
80
|
+
- _overlayTexture_2:
|
|
81
|
+
m_Texture: {fileID: 0}
|
|
82
|
+
m_Scale: {x: 1, y: 1}
|
|
83
|
+
m_Offset: {x: 0, y: 0}
|
|
84
|
+
- _overlayTexture_Clipping:
|
|
85
|
+
m_Texture: {fileID: 0}
|
|
86
|
+
m_Scale: {x: 1, y: 1}
|
|
87
|
+
m_Offset: {x: 0, y: 0}
|
|
88
|
+
- unity_Lightmaps:
|
|
89
|
+
m_Texture: {fileID: 0}
|
|
90
|
+
m_Scale: {x: 1, y: 1}
|
|
91
|
+
m_Offset: {x: 0, y: 0}
|
|
92
|
+
- unity_LightmapsInd:
|
|
93
|
+
m_Texture: {fileID: 0}
|
|
94
|
+
m_Scale: {x: 1, y: 1}
|
|
95
|
+
m_Offset: {x: 0, y: 0}
|
|
96
|
+
- unity_ShadowMasks:
|
|
97
|
+
m_Texture: {fileID: 0}
|
|
98
|
+
m_Scale: {x: 1, y: 1}
|
|
99
|
+
m_Offset: {x: 0, y: 0}
|
|
100
|
+
m_Ints: []
|
|
101
|
+
m_Floats:
|
|
102
|
+
- _AddPrecomputedVelocity: 0
|
|
103
|
+
- _AlphaClip: 1
|
|
104
|
+
- _AlphaCutoffEnable: 1
|
|
105
|
+
- _AlphaDstBlend: 0
|
|
106
|
+
- _AlphaSrcBlend: 1
|
|
107
|
+
- _AlphaToMask: 1
|
|
108
|
+
- _AlphaToMaskInspectorValue: 0
|
|
109
|
+
- _BUILTIN_AlphaClip: 1
|
|
110
|
+
- _BUILTIN_Blend: 0
|
|
111
|
+
- _BUILTIN_CullMode: 0
|
|
112
|
+
- _BUILTIN_DstBlend: 0
|
|
113
|
+
- _BUILTIN_QueueControl: 0
|
|
114
|
+
- _BUILTIN_QueueOffset: 0
|
|
115
|
+
- _BUILTIN_SrcBlend: 1
|
|
116
|
+
- _BUILTIN_Surface: 0
|
|
117
|
+
- _BUILTIN_ZTest: 4
|
|
118
|
+
- _BUILTIN_ZWrite: 1
|
|
119
|
+
- _BUILTIN_ZWriteControl: 0
|
|
120
|
+
- _Blend: 0
|
|
121
|
+
- _BlendMode: 0
|
|
122
|
+
- _BlendModePreserveSpecular: 0
|
|
123
|
+
- _CastShadows: 1
|
|
124
|
+
- _ConservativeDepthOffsetEnable: 0
|
|
125
|
+
- _Cull: 0
|
|
126
|
+
- _CullMode: 0
|
|
127
|
+
- _CullModeForward: 0
|
|
128
|
+
- _DepthOffsetEnable: 0
|
|
129
|
+
- _DoubleSidedEnable: 1
|
|
130
|
+
- _DoubleSidedGIMode: 0
|
|
131
|
+
- _DoubleSidedNormalMode: 2
|
|
132
|
+
- _DstBlend: 0
|
|
133
|
+
- _DstBlendAlpha: 0
|
|
134
|
+
- _EnableBlendModePreserveSpecularLighting: 1
|
|
135
|
+
- _EnableFogOnTransparent: 1
|
|
136
|
+
- _OpaqueCullMode: 2
|
|
137
|
+
- _QueueControl: 0
|
|
138
|
+
- _QueueOffset: 0
|
|
139
|
+
- _RayTracing: 0
|
|
140
|
+
- _ReceiveShadows: 1
|
|
141
|
+
- _ReceivesSSR: 1
|
|
142
|
+
- _ReceivesSSRTransparent: 0
|
|
143
|
+
- _RefractionModel: 0
|
|
144
|
+
- _RenderQueueType: 1
|
|
145
|
+
- _RequireSplitLighting: 0
|
|
146
|
+
- _SrcBlend: 1
|
|
147
|
+
- _SrcBlendAlpha: 1
|
|
148
|
+
- _StencilRef: 0
|
|
149
|
+
- _StencilRefDepth: 8
|
|
150
|
+
- _StencilRefDistortionVec: 4
|
|
151
|
+
- _StencilRefGBuffer: 10
|
|
152
|
+
- _StencilRefMV: 40
|
|
153
|
+
- _StencilWriteMask: 6
|
|
154
|
+
- _StencilWriteMaskDepth: 8
|
|
155
|
+
- _StencilWriteMaskDistortionVec: 4
|
|
156
|
+
- _StencilWriteMaskGBuffer: 14
|
|
157
|
+
- _StencilWriteMaskMV: 40
|
|
158
|
+
- _SupportDecals: 1
|
|
159
|
+
- _Surface: 0
|
|
160
|
+
- _SurfaceType: 0
|
|
161
|
+
- _TransparentBackfaceEnable: 0
|
|
162
|
+
- _TransparentCullMode: 2
|
|
163
|
+
- _TransparentDepthPostpassEnable: 0
|
|
164
|
+
- _TransparentDepthPrepassEnable: 0
|
|
165
|
+
- _TransparentSortPriority: 0
|
|
166
|
+
- _TransparentWritingMotionVec: 0
|
|
167
|
+
- _TransparentZWrite: 0
|
|
168
|
+
- _UseShadowThreshold: 0
|
|
169
|
+
- _WorkflowMode: 1
|
|
170
|
+
- _ZTest: 4
|
|
171
|
+
- _ZTestDepthEqualForOpaque: 3
|
|
172
|
+
- _ZTestGBuffer: 3
|
|
173
|
+
- _ZTestTransparent: 4
|
|
174
|
+
- _ZWrite: 1
|
|
175
|
+
- _ZWriteControl: 0
|
|
176
|
+
- _baseColorTextureCoordinateIndex: 0
|
|
177
|
+
- _emissiveTextureCoordinateIndex: 0
|
|
178
|
+
- _metallicRoughnessTextureCoordinateIndex: 0
|
|
179
|
+
- _normalMapScale: 0
|
|
180
|
+
- _normalMapTextureCoordinateIndex: 0
|
|
181
|
+
- _occlusionStrength: 0
|
|
182
|
+
- _occlusionTextureCoordinateIndex: 0
|
|
183
|
+
- _overlayTextureCoordinateIndex_0: 0
|
|
184
|
+
- _overlayTextureCoordinateIndex_1: 0
|
|
185
|
+
- _overlayTextureCoordinateIndex_2: 0
|
|
186
|
+
- _overlayTextureCoordinateIndex_Clipping: 0
|
|
187
|
+
m_Colors:
|
|
188
|
+
- _DoubleSidedConstants: {r: 1, g: 1, b: 1, a: 0}
|
|
189
|
+
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
|
|
190
|
+
- _baseColorFactor: {r: 1, g: 1, b: 1, a: 1}
|
|
191
|
+
- _baseColorTextureRotation: {r: 0, g: 1, b: 0, a: 0}
|
|
192
|
+
- _emissiveFactor: {r: 0, g: 0, b: 0, a: 0}
|
|
193
|
+
- _emissiveTextureRotation: {r: 0, g: 1, b: 0, a: 0}
|
|
194
|
+
- _metallicRoughnessFactor: {r: 0, g: 1, b: 0, a: 0}
|
|
195
|
+
- _metallicRoughnessTextureRotation: {r: 0, g: 1, b: 0, a: 0}
|
|
196
|
+
- _normalMapTextureRotation: {r: 0, g: 1, b: 0, a: 0}
|
|
197
|
+
- _occlusionTextureRotation: {r: 0, g: 1, b: 0, a: 0}
|
|
198
|
+
- _overlayTranslationAndScale_0: {r: 0, g: 0, b: 1, a: 1}
|
|
199
|
+
- _overlayTranslationAndScale_1: {r: 0, g: 0, b: 1, a: 1}
|
|
200
|
+
- _overlayTranslationAndScale_2: {r: 0, g: 0, b: 1, a: 1}
|
|
201
|
+
- _overlayTranslationAndScale_Clipping: {r: 0, g: 0, b: 1, a: 1}
|
|
202
|
+
m_BuildTextureStacks: []
|
|
203
|
+
m_AllowLocking: 1
|
|
204
|
+
--- !u!114 &2202876201053792222
|
|
205
|
+
MonoBehaviour:
|
|
206
|
+
m_ObjectHideFlags: 11
|
|
207
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
208
|
+
m_PrefabInstance: {fileID: 0}
|
|
209
|
+
m_PrefabAsset: {fileID: 0}
|
|
210
|
+
m_GameObject: {fileID: 0}
|
|
211
|
+
m_Enabled: 1
|
|
212
|
+
m_EditorHideFlags: 0
|
|
213
|
+
m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3}
|
|
214
|
+
m_Name:
|
|
215
|
+
m_EditorClassIdentifier:
|
|
216
|
+
version: 12
|
|
217
|
+
hdPluginSubTargetMaterialVersions:
|
|
218
|
+
m_Keys: []
|
|
219
|
+
m_Values:
|
|
220
|
+
--- !u!114 &8491687314822377265
|
|
221
|
+
MonoBehaviour:
|
|
222
|
+
m_ObjectHideFlags: 11
|
|
223
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
224
|
+
m_PrefabInstance: {fileID: 0}
|
|
225
|
+
m_PrefabAsset: {fileID: 0}
|
|
226
|
+
m_GameObject: {fileID: 0}
|
|
227
|
+
m_Enabled: 1
|
|
228
|
+
m_EditorHideFlags: 0
|
|
229
|
+
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
|
230
|
+
m_Name:
|
|
231
|
+
m_EditorClassIdentifier:
|
|
232
|
+
version: 10
|