@reactunity/renderer 0.11.0 → 0.12.0

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.
Files changed (44) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.js +1 -0
  3. package/dist/src/helpers/icons.d.ts +7 -0
  4. package/dist/src/helpers/icons.js +29 -0
  5. package/dist/src/models/base.d.ts +6 -4
  6. package/dist/src/models/editor/jsx.d.ts +10 -1
  7. package/dist/src/models/environment/index.d.ts +3 -0
  8. package/dist/src/models/generated/editor.d.ts +456 -26
  9. package/dist/src/models/generated/editor.js +1 -1
  10. package/dist/src/models/generated/react.d.ts +1343 -301
  11. package/dist/src/models/generated/react.js +1 -1
  12. package/dist/src/models/generated/system.d.ts +148 -148
  13. package/dist/src/models/generated/system.js +1 -1
  14. package/dist/src/models/generated/tests.js +1 -1
  15. package/dist/src/models/generated/unity.d.ts +5392 -1283
  16. package/dist/src/models/generated/unity.js +2 -2
  17. package/dist/src/models/generated/yoga.js +1 -1
  18. package/dist/src/models/richtext.d.ts +65 -0
  19. package/dist/src/models/richtext.js +2 -0
  20. package/dist/src/models/svg.d.ts +68 -0
  21. package/dist/src/models/svg.js +1 -0
  22. package/dist/src/models/ugui/components.d.ts +10 -6
  23. package/dist/src/models/ugui/events.d.ts +1 -0
  24. package/dist/src/models/ugui/jsx.d.ts +10 -1
  25. package/dist/src/models/uitoolkit/components.d.ts +3 -1
  26. package/dist/src/models/uitoolkit/jsx.d.ts +9 -0
  27. package/dist/src/renderer/async/callbacks.js +22 -8
  28. package/dist/src/renderer/async/reconciler.d.ts +1 -7
  29. package/dist/src/renderer/async/reconciler.js +204 -26
  30. package/dist/src/renderer/async/types.d.ts +31 -5
  31. package/dist/src/renderer/constants.d.ts +5 -0
  32. package/dist/src/renderer/constants.js +12 -0
  33. package/dist/src/renderer/diffing.js +1 -1
  34. package/dist/src/renderer/renderer.d.ts +11 -10
  35. package/dist/src/renderer/renderer.js +6 -9
  36. package/dist/src/renderer/subcontexts/index.d.ts +6 -0
  37. package/dist/src/renderer/subcontexts/index.js +6 -0
  38. package/dist/src/renderer/subcontexts/richtext.d.ts +3 -0
  39. package/dist/src/renderer/subcontexts/richtext.js +52 -0
  40. package/dist/src/renderer/subcontexts/svg.d.ts +3 -0
  41. package/dist/src/renderer/subcontexts/svg.js +70 -0
  42. package/dist/src/version.d.ts +1 -1
  43. package/dist/src/version.js +1 -1
  44. package/package.json +6 -6
@@ -192,7 +192,9 @@ export declare namespace UnityEditor {
192
192
  static BuildAssetBundles(outputPath: string, builds: UnityEditor.AssetBundleBuild[], assetBundleOptions: UnityEditor.BuildAssetBundleOptions, targetPlatform: UnityEditor.BuildTarget): UnityEngine.AssetBundleManifest;
193
193
  static IsBuildTargetSupported(buildTargetGroup: UnityEditor.BuildTargetGroup, target: UnityEditor.BuildTarget): boolean;
194
194
  static GetPlaybackEngineDirectory(target: UnityEditor.BuildTarget, options: UnityEditor.BuildOptions): string;
195
+ static GetPlaybackEngineDirectory(target: UnityEditor.BuildTarget, options: UnityEditor.BuildOptions, assertUnsupportedPlatforms: boolean): string;
195
196
  static GetPlaybackEngineDirectory(buildTargetGroup: UnityEditor.BuildTargetGroup, target: UnityEditor.BuildTarget, options: UnityEditor.BuildOptions): string;
197
+ static GetPlaybackEngineDirectory(buildTargetGroup: UnityEditor.BuildTargetGroup, target: UnityEditor.BuildTarget, options: UnityEditor.BuildOptions, assertUnsupportedPlatforms: boolean): string;
196
198
  static GetPlayerConnectionInitiateMode(targetPlatform: UnityEditor.BuildTarget, buildOptions: UnityEditor.BuildOptions): UnityEditor.PlayerConnectionInitiateMode;
197
199
  Equals(obj: any): boolean;
198
200
  GetHashCode(): number;
@@ -202,6 +204,7 @@ export declare namespace UnityEditor {
202
204
  class BuildPlayerWindow {
203
205
  constructor();
204
206
  rootVisualElement: UnityEngine.UIElements.VisualElement;
207
+ overlayCanvas: UnityEditor.Overlays.OverlayCanvas;
205
208
  wantsMouseMove: boolean;
206
209
  wantsMouseEnterLeaveWindow: boolean;
207
210
  wantsLessLayoutEvents: boolean;
@@ -317,6 +320,7 @@ export declare namespace UnityEditor {
317
320
  GameCoreXboxOne = 43,
318
321
  PS5 = 44,
319
322
  EmbeddedLinux = 45,
323
+ QNX = 46,
320
324
  iPhone = -1,
321
325
  BB10 = -1,
322
326
  MetroPlayer = -1,
@@ -354,7 +358,8 @@ export declare namespace UnityEditor {
354
358
  GameCoreXboxSeries = 31,
355
359
  GameCoreXboxOne = 32,
356
360
  PS5 = 33,
357
- EmbeddedLinux = 34
361
+ EmbeddedLinux = 34,
362
+ QNX = 35
358
363
  }
359
364
  class DefaultAsset {
360
365
  name: string;
@@ -506,6 +511,7 @@ export declare namespace UnityEditor {
506
511
  static isSceneDirty: boolean;
507
512
  static currentScene: string;
508
513
  static projectWindowItemOnGUI: UnityEditor.EditorApplication_ProjectWindowItemCallback;
514
+ static projectWindowItemInstanceOnGUI: UnityEditor.EditorApplication_ProjectWindowItemInstanceCallback;
509
515
  static hierarchyWindowItemOnGUI: UnityEditor.EditorApplication_HierarchyWindowItemCallback;
510
516
  static update: UnityEditor.EditorApplication_CallbackFunction;
511
517
  static delayCall: UnityEditor.EditorApplication_CallbackFunction;
@@ -565,6 +571,22 @@ export declare namespace UnityEditor {
565
571
  GetType(): System.Type;
566
572
  ToString(): string;
567
573
  }
574
+ class EditorApplication_ProjectWindowItemInstanceCallback {
575
+ constructor(object: any, method: System.IntPtr);
576
+ Method: System.Reflection.MethodInfo;
577
+ Target: any;
578
+ Invoke(instanceID: number, selectionRect: UnityEngine.Rect): void;
579
+ BeginInvoke(instanceID: number, selectionRect: UnityEngine.Rect, callback: System.AsyncCallback, object: any): System.IAsyncResult;
580
+ EndInvoke(result: System.IAsyncResult): void;
581
+ GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
582
+ Equals(obj: any): boolean;
583
+ GetHashCode(): number;
584
+ GetInvocationList(): System.Delegate[];
585
+ DynamicInvoke(...args: any[]): any;
586
+ Clone(): any;
587
+ GetType(): System.Type;
588
+ ToString(): string;
589
+ }
568
590
  class EditorApplication_HierarchyWindowItemCallback {
569
591
  constructor(object: any, method: System.IntPtr);
570
592
  Method: System.Reflection.MethodInfo;
@@ -731,7 +753,9 @@ export declare namespace UnityEditor {
731
753
  static MultiFloatField(position: UnityEngine.Rect, subLabels: UnityEngine.GUIContent[], values: number[]): void;
732
754
  static MultiIntField(position: UnityEngine.Rect, subLabels: UnityEngine.GUIContent[], values: number[]): void;
733
755
  static MultiPropertyField(position: UnityEngine.Rect, subLabels: UnityEngine.GUIContent[], valuesIterator: UnityEditor.SerializedProperty, label: UnityEngine.GUIContent): void;
756
+ static MultiPropertyField(position: UnityEngine.Rect, subLabels: UnityEngine.GUIContent[], valuesIterator: UnityEditor.SerializedProperty, label: UnityEngine.GUIContent, visibility: UnityEditor.EditorGUI_PropertyVisibility): void;
734
757
  static MultiPropertyField(position: UnityEngine.Rect, subLabels: UnityEngine.GUIContent[], valuesIterator: UnityEditor.SerializedProperty): void;
758
+ static MultiPropertyField(position: UnityEngine.Rect, subLabels: UnityEngine.GUIContent[], valuesIterator: UnityEditor.SerializedProperty, visibility: UnityEditor.EditorGUI_PropertyVisibility): void;
735
759
  static ColorField(position: UnityEngine.Rect, value: UnityEngine.Color): UnityEngine.Color;
736
760
  static ColorField(position: UnityEngine.Rect, label: string, value: UnityEngine.Color): UnityEngine.Color;
737
761
  static ColorField(position: UnityEngine.Rect, label: UnityEngine.GUIContent, value: UnityEngine.Color): UnityEngine.Color;
@@ -984,6 +1008,10 @@ export declare namespace UnityEditor {
984
1008
  GetType(): System.Type;
985
1009
  ToString(): string;
986
1010
  }
1011
+ enum EditorGUI_PropertyVisibility {
1012
+ All = 0,
1013
+ OnlyVisible = 1
1014
+ }
987
1015
  class EditorGUI_PropertyScope {
988
1016
  constructor(totalPosition: UnityEngine.Rect, label: UnityEngine.GUIContent, property: UnityEditor.SerializedProperty);
989
1017
  content: UnityEngine.GUIContent;
@@ -1559,7 +1587,8 @@ export declare namespace UnityEditor {
1559
1587
  AlwaysOn = 2,
1560
1588
  BuildTimeOnlyAtlas = 3,
1561
1589
  AlwaysOnAtlas = 4,
1562
- SpriteAtlasV2 = 5
1590
+ SpriteAtlasV2 = 5,
1591
+ SpriteAtlasV2Build = 6
1563
1592
  }
1564
1593
  enum LineEndingsMode {
1565
1594
  OSNative = 0,
@@ -1575,10 +1604,17 @@ export declare namespace UnityEditor {
1575
1604
  Enabled = 1,
1576
1605
  Disabled = 2
1577
1606
  }
1607
+ enum CacheServerValidationMode {
1608
+ Disabled = 0,
1609
+ UploadOnly = 1,
1610
+ Enabled = 2,
1611
+ Required = 3
1612
+ }
1578
1613
  enum EnterPlayModeOptions {
1579
1614
  None = 0,
1580
1615
  DisableDomainReload = 1,
1581
- DisableSceneReload = 2
1616
+ DisableSceneReload = 2,
1617
+ DisableSceneBackupUnlessDirty = 4
1582
1618
  }
1583
1619
  class EditorSettings {
1584
1620
  static unityRemoteDevice: string;
@@ -1622,6 +1658,7 @@ export declare namespace UnityEditor {
1622
1658
  static cacheServerEnableUpload: boolean;
1623
1659
  static cacheServerEnableAuth: boolean;
1624
1660
  static cacheServerEnableTls: boolean;
1661
+ static cacheServerValidationMode: UnityEditor.CacheServerValidationMode;
1625
1662
  static gameObjectNamingDigits: number;
1626
1663
  static gameObjectNamingScheme: UnityEditor.EditorSettings_NamingScheme;
1627
1664
  static assetNamingUsesSpace: boolean;
@@ -1706,7 +1743,6 @@ export declare namespace UnityEditor {
1706
1743
  enum WebGLTextureSubtarget {
1707
1744
  Generic = 0,
1708
1745
  DXT = 1,
1709
- ETC = 2,
1710
1746
  ETC2 = 3,
1711
1747
  ASTC = 4
1712
1748
  }
@@ -1762,6 +1798,10 @@ export declare namespace UnityEditor {
1762
1798
  Proguard = 1,
1763
1799
  Gradle = 2
1764
1800
  }
1801
+ enum SwitchRomCompressionType {
1802
+ None = 0,
1803
+ Lz4 = 1
1804
+ }
1765
1805
  enum EmbeddedLinuxArchitecture {
1766
1806
  Arm64 = 0,
1767
1807
  Arm32 = 1,
@@ -1831,6 +1871,11 @@ export declare namespace UnityEditor {
1831
1871
  static macOSXcodeBuildConfig: UnityEditor.XcodeBuildConfig;
1832
1872
  static iOSBuildConfigType: UnityEditor.iOSBuildType;
1833
1873
  static switchCreateRomFile: boolean;
1874
+ static switchEnableRomCompression: boolean;
1875
+ static switchSaveADF: boolean;
1876
+ static switchRomCompressionType: UnityEditor.SwitchRomCompressionType;
1877
+ static switchRomCompressionLevel: number;
1878
+ static switchRomCompressionConfig: string;
1834
1879
  static switchNVNGraphicsDebugger: boolean;
1835
1880
  static generateNintendoSwitchShaderInfo: boolean;
1836
1881
  static switchNVNShaderDebugging: boolean;
@@ -1844,6 +1889,7 @@ export declare namespace UnityEditor {
1844
1889
  static switchUseLegacyNvnPoolAllocator: boolean;
1845
1890
  static installInBuildFolder: boolean;
1846
1891
  static waitForManagedDebugger: boolean;
1892
+ static managedDebuggerFixedPort: number;
1847
1893
  static forceOptimizeScriptCompilation: boolean;
1848
1894
  static androidDebugMinification: UnityEditor.AndroidMinification;
1849
1895
  static androidReleaseMinification: UnityEditor.AndroidMinification;
@@ -1883,6 +1929,8 @@ export declare namespace UnityEditor {
1883
1929
  static artifactGarbageCollection: boolean;
1884
1930
  static semanticMergeMode: UnityEditor.SemanticMergeMode;
1885
1931
  static desiredImportWorkerCount: number;
1932
+ static standbyImportWorkerCount: number;
1933
+ static idleImportWorkerShutdownDelayMilliseconds: number;
1886
1934
  name: string;
1887
1935
  hideFlags: UnityEngine.HideFlags;
1888
1936
  static GetConfigValue(name: string): string;
@@ -2029,6 +2077,7 @@ export declare namespace UnityEditor {
2029
2077
  class EditorWindow {
2030
2078
  constructor();
2031
2079
  rootVisualElement: UnityEngine.UIElements.VisualElement;
2080
+ overlayCanvas: UnityEditor.Overlays.OverlayCanvas;
2032
2081
  wantsMouseMove: boolean;
2033
2082
  wantsMouseEnterLeaveWindow: boolean;
2034
2083
  wantsLessLayoutEvents: boolean;
@@ -2201,6 +2250,8 @@ export declare namespace UnityEditor {
2201
2250
  static Slider(controlID: number, position: UnityEngine.Vector3, offset: UnityEngine.Vector3, direction: UnityEngine.Vector3, size: number, capFunction: UnityEditor.Handles_CapFunction, snap: number): UnityEngine.Vector3;
2202
2251
  static FreeMoveHandle(position: UnityEngine.Vector3, rotation: UnityEngine.Quaternion, size: number, snap: UnityEngine.Vector3, capFunction: UnityEditor.Handles_CapFunction): UnityEngine.Vector3;
2203
2252
  static FreeMoveHandle(controlID: number, position: UnityEngine.Vector3, rotation: UnityEngine.Quaternion, size: number, snap: UnityEngine.Vector3, capFunction: UnityEditor.Handles_CapFunction): UnityEngine.Vector3;
2253
+ static FreeMoveHandle(position: UnityEngine.Vector3, size: number, snap: UnityEngine.Vector3, capFunction: UnityEditor.Handles_CapFunction): UnityEngine.Vector3;
2254
+ static FreeMoveHandle(controlID: number, position: UnityEngine.Vector3, size: number, snap: UnityEngine.Vector3, capFunction: UnityEditor.Handles_CapFunction): UnityEngine.Vector3;
2204
2255
  static ScaleValueHandle(value: number, position: UnityEngine.Vector3, rotation: UnityEngine.Quaternion, size: number, capFunction: UnityEditor.Handles_CapFunction, snap: number): number;
2205
2256
  static ScaleValueHandle(controlID: number, value: number, position: UnityEngine.Vector3, rotation: UnityEngine.Quaternion, size: number, capFunction: UnityEditor.Handles_CapFunction, snap: number): number;
2206
2257
  static Button(position: UnityEngine.Vector3, direction: UnityEngine.Quaternion, size: number, pickSize: number, capFunction: UnityEditor.Handles_CapFunction): boolean;
@@ -2256,6 +2307,14 @@ export declare namespace UnityEditor {
2256
2307
  static Label(position: UnityEngine.Vector3, text: string, style: UnityEngine.GUIStyle): void;
2257
2308
  static Label(position: UnityEngine.Vector3, content: UnityEngine.GUIContent, style: UnityEngine.GUIStyle): void;
2258
2309
  static GetMainGameViewSize(): UnityEngine.Vector2;
2310
+ static DrawOutline(parentRenderers: number[], childRenderers: number[], parentNodeColor: UnityEngine.Color, childNodeColor: UnityEngine.Color, fillOpacity?: number): void;
2311
+ static DrawOutline(renderers: number[], color: UnityEngine.Color, fillOpacity?: number): void;
2312
+ static DrawOutline(renderers: UnityEngine.Renderer[], parentNodeColor: UnityEngine.Color, childNodeColor: UnityEngine.Color, fillOpacity?: number): void;
2313
+ static DrawOutline(renderers: UnityEngine.Renderer[], color: UnityEngine.Color, fillOpacity?: number): void;
2314
+ static DrawOutline(objects: UnityEngine.GameObject[], parentNodeColor: UnityEngine.Color, childNodeColor: UnityEngine.Color, fillOpacity?: number): void;
2315
+ static DrawOutline(objects: UnityEngine.GameObject[], color: UnityEngine.Color, fillOpacity?: number): void;
2316
+ static DrawOutline(objects: UnityEngine.GameObject[], parentNodeColor: UnityEngine.Color, childNodeColor: UnityEngine.Color, fillOpacity?: number): void;
2317
+ static DrawOutline(objects: UnityEngine.GameObject[], color: UnityEngine.Color, fillOpacity?: number): void;
2259
2318
  static ClearCamera(position: UnityEngine.Rect, camera: UnityEngine.Camera): void;
2260
2319
  static DrawCamera(position: UnityEngine.Rect, camera: UnityEngine.Camera): void;
2261
2320
  static DrawCamera(position: UnityEngine.Rect, camera: UnityEngine.Camera, drawMode: UnityEditor.DrawCameraMode): void;
@@ -2577,7 +2636,7 @@ export declare namespace UnityEditor {
2577
2636
  static Optimize(mesh: UnityEngine.Mesh): void;
2578
2637
  static SetMeshCompression(mesh: UnityEngine.Mesh, compression: UnityEditor.ModelImporterMeshCompression): void;
2579
2638
  static GetMeshCompression(mesh: UnityEngine.Mesh): UnityEditor.ModelImporterMeshCompression;
2580
- static SetPerTriangleUV2(src: UnityEngine.Mesh, triUV: UnityEngine.Vector2[]): void;
2639
+ static SetPerTriangleUV2(src: UnityEngine.Mesh, triUV: UnityEngine.Vector2[]): boolean;
2581
2640
  static AcquireReadOnlyMeshData(mesh: UnityEngine.Mesh): UnityEngine.Mesh_MeshDataArray;
2582
2641
  static AcquireReadOnlyMeshData(meshes: UnityEngine.Mesh[]): UnityEngine.Mesh_MeshDataArray;
2583
2642
  static AcquireReadOnlyMeshData(meshes: UnityEngine.Mesh[]): UnityEngine.Mesh_MeshDataArray;
@@ -2590,6 +2649,7 @@ export declare namespace UnityEditor {
2590
2649
  constructor();
2591
2650
  bytes: System.Byte[];
2592
2651
  text: string;
2652
+ dataSize: System.Int64;
2593
2653
  name: string;
2594
2654
  hideFlags: UnityEngine.HideFlags;
2595
2655
  GetClass(): System.Type;
@@ -2607,6 +2667,7 @@ export declare namespace UnityEditor {
2607
2667
  static CreateGameObject(scene: UnityEngine.SceneManagement.Scene, hideFlags: UnityEngine.HideFlags, name: string, ...types: System.Type[]): UnityEngine.GameObject;
2608
2668
  static CreateGameObject(name: string, ...types: System.Type[]): UnityEngine.GameObject;
2609
2669
  static CreatePrimitive(type: UnityEngine.PrimitiveType): UnityEngine.GameObject;
2670
+ static PlaceGameObject(go: UnityEngine.GameObject, parent?: UnityEngine.GameObject): void;
2610
2671
  Equals(obj: any): boolean;
2611
2672
  GetHashCode(): number;
2612
2673
  GetType(): System.Type;
@@ -2703,13 +2764,16 @@ export declare namespace UnityEditor {
2703
2764
  NET_4_6 = 3,
2704
2765
  NET_Web = 4,
2705
2766
  NET_Micro = 5,
2706
- NET_Standard_2_0 = 6
2767
+ NET_Standard_2_0 = 6,
2768
+ NET_Standard = 6,
2769
+ NET_Unity_4_8 = 3
2707
2770
  }
2708
2771
  enum ManagedStrippingLevel {
2709
2772
  Disabled = 0,
2710
2773
  Low = 1,
2711
2774
  Medium = 2,
2712
- High = 3
2775
+ High = 3,
2776
+ Minimal = 4
2713
2777
  }
2714
2778
  enum ActionOnDotNetUnhandledException {
2715
2779
  SilentExit = 0,
@@ -2739,6 +2803,11 @@ export declare namespace UnityEditor {
2739
2803
  XYZ = 0,
2740
2804
  DXT5nm = 1
2741
2805
  }
2806
+ enum InsecureHttpOption {
2807
+ NotAllowed = 0,
2808
+ DevelopmentOnly = 1,
2809
+ AlwaysAllowed = 2
2810
+ }
2742
2811
  class PlayerSettings {
2743
2812
  static companyName: string;
2744
2813
  static productName: string;
@@ -2780,6 +2849,7 @@ export declare namespace UnityEditor {
2780
2849
  static openGLRequireES31: boolean;
2781
2850
  static openGLRequireES31AEP: boolean;
2782
2851
  static openGLRequireES32: boolean;
2852
+ static spriteBatchVertexThreshold: number;
2783
2853
  static resolutionDialogBanner: UnityEngine.Texture2D;
2784
2854
  static virtualRealitySplashScreen: UnityEngine.Texture2D;
2785
2855
  static iPhoneBundleIdentifier: string;
@@ -2830,6 +2900,7 @@ export declare namespace UnityEditor {
2830
2900
  static preserveFramebufferAlpha: boolean;
2831
2901
  static apiCompatibilityLevel: UnityEditor.ApiCompatibilityLevel;
2832
2902
  static stripUnusedMeshComponents: boolean;
2903
+ static strictShaderVariantMatching: boolean;
2833
2904
  static mipStripping: boolean;
2834
2905
  static advancedLicense: boolean;
2835
2906
  static aotOptions: string;
@@ -2841,8 +2912,8 @@ export declare namespace UnityEditor {
2841
2912
  static stereoscopic3D: boolean;
2842
2913
  static muteOtherAudioSources: boolean;
2843
2914
  static legacyClampBlendShapeWeights: boolean;
2844
- static uploadClearedTextureDataAfterCreationFromScript: boolean;
2845
2915
  static enableMetalAPIValidation: boolean;
2916
+ static insecureHttpOption: UnityEditor.InsecureHttpOption;
2846
2917
  static alwaysDisplayWatermark: boolean;
2847
2918
  static firstStreamedLevelWithResources: number;
2848
2919
  static targetGlesGraphics: UnityEditor.TargetGlesGraphics;
@@ -2927,6 +2998,8 @@ export declare namespace UnityEditor {
2927
2998
  static GetManagedStrippingLevel(buildTarget: UnityEditor.Build.NamedBuildTarget): UnityEditor.ManagedStrippingLevel;
2928
2999
  static GetApiCompatibilityLevel(buildTarget: UnityEditor.Build.NamedBuildTarget): UnityEditor.ApiCompatibilityLevel;
2929
3000
  static SetApiCompatibilityLevel(buildTarget: UnityEditor.Build.NamedBuildTarget, value: UnityEditor.ApiCompatibilityLevel): void;
3001
+ static GetIl2CppCodeGeneration(buildTarget: UnityEditor.Build.NamedBuildTarget): UnityEditor.Build.Il2CppCodeGeneration;
3002
+ static SetIl2CppCodeGeneration(buildTarget: UnityEditor.Build.NamedBuildTarget, value: UnityEditor.Build.Il2CppCodeGeneration): void;
2930
3003
  static SetMobileMTRendering(buildTarget: UnityEditor.Build.NamedBuildTarget, enable: boolean): void;
2931
3004
  static GetMobileMTRendering(buildTarget: UnityEditor.Build.NamedBuildTarget): boolean;
2932
3005
  static GetNormalMapEncoding(buildTarget: UnityEditor.Build.NamedBuildTarget): UnityEditor.NormalMapEncoding;
@@ -3096,6 +3169,7 @@ export declare namespace UnityEditor {
3096
3169
  static microphoneUsageDescription: string;
3097
3170
  static bluetoothUsageDescription: string;
3098
3171
  static urlSchemes: string[];
3172
+ static targetOSVersion: string;
3099
3173
  Equals(obj: any): boolean;
3100
3174
  GetHashCode(): number;
3101
3175
  GetType(): System.Type;
@@ -3178,6 +3252,7 @@ export declare namespace UnityEditor {
3178
3252
  static playerPrefsMaxSize: number;
3179
3253
  static attribVROutputEnabled: boolean;
3180
3254
  static compatibilityPS5: boolean;
3255
+ static allowPS5Detection: boolean;
3181
3256
  static gpu800MHz: boolean;
3182
3257
  Equals(obj: any): boolean;
3183
3258
  GetHashCode(): number;
@@ -3277,11 +3352,18 @@ export declare namespace UnityEditor {
3277
3352
  static NVNShaderPoolsGranularity: number;
3278
3353
  static NVNDefaultPoolsGranularity: number;
3279
3354
  static NVNOtherPoolsGranularity: number;
3355
+ static GpuScratchPoolGranularity: number;
3356
+ static AllowGpuScratchShrinking: boolean;
3280
3357
  static NVNMaxPublicTextureIDCount: number;
3281
3358
  static NVNMaxPublicSamplerIDCount: number;
3359
+ static NVNGraphicsFirmwareMemory: number;
3360
+ static defaultSwitchNVNGraphicsFirmwareMemory: number;
3361
+ static minimumSwitchNVNGraphicsFirmwareMemory: number;
3362
+ static maximumSwitchNVNGraphicsFirmwareMemory: number;
3282
3363
  static screenResolutionBehavior: UnityEditor.PlayerSettings_Switch_ScreenResolutionBehavior;
3283
3364
  static NMETAOverride: string;
3284
3365
  static NMETAOverrideFullPath: string;
3366
+ static compilerFlags: string[];
3285
3367
  static applicationID: string;
3286
3368
  static nsoDependencies: string;
3287
3369
  static titleNames: string[];
@@ -3335,6 +3417,8 @@ export declare namespace UnityEditor {
3335
3417
  static useNewStyleFilepaths: boolean;
3336
3418
  static switchUseMicroSleepForYield: boolean;
3337
3419
  static switchMicroSleepForYieldTime: number;
3420
+ static switchEnableRamDiskSupport: boolean;
3421
+ static switchRamDiskSpaceSize: number;
3338
3422
  static GetRatingAge(category: UnityEditor.PlayerSettings_Switch_RatingCategories): number;
3339
3423
  Equals(obj: any): boolean;
3340
3424
  GetHashCode(): number;
@@ -3442,6 +3526,12 @@ export declare namespace UnityEditor {
3442
3526
  static wasmStreaming: boolean;
3443
3527
  static decompressionFallback: boolean;
3444
3528
  static wasmArithmeticExceptions: UnityEditor.WebGLWasmArithmeticExceptions;
3529
+ static initialMemorySize: number;
3530
+ static maximumMemorySize: number;
3531
+ static memoryGrowthMode: UnityEditor.WebGLMemoryGrowthMode;
3532
+ static linearMemoryGrowthStep: number;
3533
+ static geometricMemoryGrowthStep: number;
3534
+ static memoryGeometricGrowthCap: number;
3445
3535
  Equals(obj: any): boolean;
3446
3536
  GetHashCode(): number;
3447
3537
  GetType(): System.Type;
@@ -3580,6 +3670,7 @@ export declare namespace UnityEditor {
3580
3670
  static inputSource: UnityEditor.PlayerSettings_WSAInputSource;
3581
3671
  static supportStreamingInstall: boolean;
3582
3672
  static lastRequiredScene: number;
3673
+ static vcxProjDefaultLanguage: string;
3583
3674
  static packageVersion: System.Version;
3584
3675
  static certificateNotAfter?: any;
3585
3676
  static splashScreenBackgroundColor?: any;
@@ -3911,6 +4002,11 @@ export declare namespace UnityEditor {
3911
4002
  External = 1,
3912
4003
  Embedded = 2
3913
4004
  }
4005
+ enum WebGLMemoryGrowthMode {
4006
+ None = 0,
4007
+ Linear = 1,
4008
+ Geometric = 2
4009
+ }
3914
4010
  enum XboxOneEncryptionLevel {
3915
4011
  None = 0,
3916
4012
  DevkitCompatible = 1,
@@ -4000,6 +4096,7 @@ export declare namespace UnityEditor {
4000
4096
  otherButtonName: string;
4001
4097
  isValid: boolean;
4002
4098
  rootVisualElement: UnityEngine.UIElements.VisualElement;
4099
+ overlayCanvas: UnityEditor.Overlays.OverlayCanvas;
4003
4100
  wantsMouseMove: boolean;
4004
4101
  wantsMouseEnterLeaveWindow: boolean;
4005
4102
  wantsLessLayoutEvents: boolean;
@@ -4140,9 +4237,23 @@ export declare namespace UnityEditor {
4140
4237
  ManagedReference = 24,
4141
4238
  Hash128 = 25
4142
4239
  }
4240
+ enum SerializedPropertyNumericType {
4241
+ Unknown = 0,
4242
+ Int8 = 1,
4243
+ UInt8 = 2,
4244
+ Int16 = 3,
4245
+ UInt16 = 4,
4246
+ Int32 = 5,
4247
+ UInt32 = 6,
4248
+ Int64 = 7,
4249
+ UInt64 = 8,
4250
+ Float = 100,
4251
+ Double = 101
4252
+ }
4143
4253
  class SerializedProperty {
4144
4254
  serializedObject: UnityEditor.SerializedObject;
4145
4255
  exposedReferenceValue: UnityEngine.Object;
4256
+ boxedValue: any;
4146
4257
  hasMultipleDifferentValues: boolean;
4147
4258
  displayName: string;
4148
4259
  name: string;
@@ -4160,14 +4271,18 @@ export declare namespace UnityEditor {
4160
4271
  prefabOverride: boolean;
4161
4272
  isDefaultOverride: boolean;
4162
4273
  propertyType: UnityEditor.SerializedPropertyType;
4274
+ numericType: UnityEditor.SerializedPropertyNumericType;
4163
4275
  intValue: number;
4164
4276
  longValue: System.Int64;
4277
+ ulongValue: System.UInt64;
4278
+ uintValue: System.UInt32;
4165
4279
  boolValue: boolean;
4166
4280
  floatValue: number;
4167
4281
  doubleValue: number;
4168
4282
  stringValue: string;
4169
4283
  colorValue: UnityEngine.Color;
4170
4284
  animationCurveValue: UnityEngine.AnimationCurve;
4285
+ gradientValue: UnityEngine.Gradient;
4171
4286
  objectReferenceValue: UnityEngine.Object;
4172
4287
  managedReferenceValue: any;
4173
4288
  managedReferenceId: System.Int64;
@@ -4175,6 +4290,7 @@ export declare namespace UnityEditor {
4175
4290
  managedReferenceFieldTypename: string;
4176
4291
  objectReferenceInstanceIDValue: number;
4177
4292
  enumValueIndex: number;
4293
+ enumValueFlag: number;
4178
4294
  enumNames: string[];
4179
4295
  enumDisplayNames: string[];
4180
4296
  vector2Value: UnityEngine.Vector2;
@@ -4193,6 +4309,7 @@ export declare namespace UnityEditor {
4193
4309
  minArraySize: number;
4194
4310
  isFixedBuffer: boolean;
4195
4311
  fixedBufferSize: number;
4312
+ contentHash: System.UInt32;
4196
4313
  Copy(): UnityEditor.SerializedProperty;
4197
4314
  FindPropertyRelative(relativePropertyPath: string): UnityEditor.SerializedProperty;
4198
4315
  GetEnumerator(): System.Collections.IEnumerator;
@@ -4228,6 +4345,7 @@ export declare namespace UnityEditor {
4228
4345
  name: string;
4229
4346
  supported: boolean;
4230
4347
  hasErrors: boolean;
4348
+ hasWarnings: boolean;
4231
4349
  Equals(obj: any): boolean;
4232
4350
  GetHashCode(): number;
4233
4351
  ToString(): string;
@@ -4278,6 +4396,7 @@ export declare namespace UnityEditor {
4278
4396
  static UpdateShaderAsset(shader: UnityEngine.Shader, source: string, compileInitialShaderVariants: boolean): void;
4279
4397
  static RegisterShader(shader: UnityEngine.Shader): void;
4280
4398
  static GetAllShaderInfo(): UnityEditor.ShaderInfo[];
4399
+ static GetShaderInfo(shader: UnityEngine.Shader): UnityEditor.ShaderInfo;
4281
4400
  static SetAsyncCompilation(cmd: UnityEngine.Rendering.CommandBuffer, allow: boolean): void;
4282
4401
  static RestoreAsyncCompilation(cmd: UnityEngine.Rendering.CommandBuffer): void;
4283
4402
  static IsPassCompiled(material: UnityEngine.Material, pass: number): boolean;
@@ -4298,6 +4417,7 @@ export declare namespace UnityEditor {
4298
4417
  static IsShaderPropertyNonModifiableTexureProperty(s: UnityEngine.Shader, propertyIdx: number): boolean;
4299
4418
  static GetShaderData(shader: UnityEngine.Shader): UnityEditor.ShaderData;
4300
4419
  static ShaderHasError(shader: UnityEngine.Shader): boolean;
4420
+ static ShaderHasWarnings(shader: UnityEngine.Shader): boolean;
4301
4421
  Equals(obj: any): boolean;
4302
4422
  GetHashCode(): number;
4303
4423
  GetType(): System.Type;
@@ -4331,6 +4451,8 @@ export declare namespace UnityEditor {
4331
4451
  }
4332
4452
  class ShaderData_Subshader {
4333
4453
  PassCount: number;
4454
+ LevelOfDetail: number;
4455
+ FindTagValue(tagName: UnityEngine.Rendering.ShaderTagId): UnityEngine.Rendering.ShaderTagId;
4334
4456
  GetPass(passIndex: number): UnityEditor.ShaderData_Pass;
4335
4457
  Equals(obj: any): boolean;
4336
4458
  GetHashCode(): number;
@@ -4340,15 +4462,34 @@ export declare namespace UnityEditor {
4340
4462
  class ShaderData_Pass {
4341
4463
  SourceCode: string;
4342
4464
  Name: string;
4465
+ FindTagValue(tagName: UnityEngine.Rendering.ShaderTagId): UnityEngine.Rendering.ShaderTagId;
4466
+ HasShaderStage(shaderType: UnityEditor.Rendering.ShaderType): boolean;
4343
4467
  CompileVariant(shaderType: UnityEditor.Rendering.ShaderType, keywords: string[], shaderCompilerPlatform: UnityEditor.Rendering.ShaderCompilerPlatform, buildTarget: UnityEditor.BuildTarget): UnityEditor.ShaderData_VariantCompileInfo;
4468
+ CompileVariant(shaderType: UnityEditor.Rendering.ShaderType, keywords: string[], shaderCompilerPlatform: UnityEditor.Rendering.ShaderCompilerPlatform, buildTarget: UnityEditor.BuildTarget, forExternalTool: boolean): UnityEditor.ShaderData_VariantCompileInfo;
4344
4469
  CompileVariant(shaderType: UnityEditor.Rendering.ShaderType, keywords: string[], shaderCompilerPlatform: UnityEditor.Rendering.ShaderCompilerPlatform, buildTarget: UnityEditor.BuildTarget, tier: UnityEngine.Rendering.GraphicsTier): UnityEditor.ShaderData_VariantCompileInfo;
4470
+ CompileVariant(shaderType: UnityEditor.Rendering.ShaderType, keywords: string[], shaderCompilerPlatform: UnityEditor.Rendering.ShaderCompilerPlatform, buildTarget: UnityEditor.BuildTarget, tier: UnityEngine.Rendering.GraphicsTier, forExternalTool: boolean): UnityEditor.ShaderData_VariantCompileInfo;
4345
4471
  CompileVariant(shaderType: UnityEditor.Rendering.ShaderType, keywords: string[], shaderCompilerPlatform: UnityEditor.Rendering.ShaderCompilerPlatform, buildTarget: UnityEditor.BuildTarget, platformKeywords: UnityEngine.Rendering.BuiltinShaderDefine[]): UnityEditor.ShaderData_VariantCompileInfo;
4472
+ CompileVariant(shaderType: UnityEditor.Rendering.ShaderType, keywords: string[], shaderCompilerPlatform: UnityEditor.Rendering.ShaderCompilerPlatform, buildTarget: UnityEditor.BuildTarget, platformKeywords: UnityEngine.Rendering.BuiltinShaderDefine[], forExternalTool: boolean): UnityEditor.ShaderData_VariantCompileInfo;
4346
4473
  CompileVariant(shaderType: UnityEditor.Rendering.ShaderType, keywords: string[], shaderCompilerPlatform: UnityEditor.Rendering.ShaderCompilerPlatform, buildTarget: UnityEditor.BuildTarget, platformKeywords: UnityEngine.Rendering.BuiltinShaderDefine[], tier: UnityEngine.Rendering.GraphicsTier): UnityEditor.ShaderData_VariantCompileInfo;
4474
+ CompileVariant(shaderType: UnityEditor.Rendering.ShaderType, keywords: string[], shaderCompilerPlatform: UnityEditor.Rendering.ShaderCompilerPlatform, buildTarget: UnityEditor.BuildTarget, platformKeywords: UnityEngine.Rendering.BuiltinShaderDefine[], tier: UnityEngine.Rendering.GraphicsTier, forExternalTool: boolean): UnityEditor.ShaderData_VariantCompileInfo;
4475
+ PreprocessVariant(shaderType: UnityEditor.Rendering.ShaderType, keywords: string[], shaderCompilerPlatform: UnityEditor.Rendering.ShaderCompilerPlatform, buildTarget: UnityEditor.BuildTarget, stripLineDirectives: boolean): UnityEditor.ShaderData_PreprocessedVariant;
4476
+ PreprocessVariant(shaderType: UnityEditor.Rendering.ShaderType, keywords: string[], shaderCompilerPlatform: UnityEditor.Rendering.ShaderCompilerPlatform, buildTarget: UnityEditor.BuildTarget, tier: UnityEngine.Rendering.GraphicsTier, stripLineDirectives: boolean): UnityEditor.ShaderData_PreprocessedVariant;
4477
+ PreprocessVariant(shaderType: UnityEditor.Rendering.ShaderType, keywords: string[], shaderCompilerPlatform: UnityEditor.Rendering.ShaderCompilerPlatform, buildTarget: UnityEditor.BuildTarget, platformKeywords: UnityEngine.Rendering.BuiltinShaderDefine[], stripLineDirectives: boolean): UnityEditor.ShaderData_PreprocessedVariant;
4478
+ PreprocessVariant(shaderType: UnityEditor.Rendering.ShaderType, keywords: string[], shaderCompilerPlatform: UnityEditor.Rendering.ShaderCompilerPlatform, buildTarget: UnityEditor.BuildTarget, platformKeywords: UnityEngine.Rendering.BuiltinShaderDefine[], tier: UnityEngine.Rendering.GraphicsTier, stripLineDirectives: boolean): UnityEditor.ShaderData_PreprocessedVariant;
4347
4479
  Equals(obj: any): boolean;
4348
4480
  GetHashCode(): number;
4349
4481
  GetType(): System.Type;
4350
4482
  ToString(): string;
4351
4483
  }
4484
+ class ShaderData_PreprocessedVariant {
4485
+ Success: boolean;
4486
+ Messages: UnityEditor.ShaderMessage[];
4487
+ PreprocessedCode: string;
4488
+ Equals(obj: any): boolean;
4489
+ GetHashCode(): number;
4490
+ ToString(): string;
4491
+ GetType(): System.Type;
4492
+ }
4352
4493
  class ShaderData_VariantCompileInfo {
4353
4494
  Success: boolean;
4354
4495
  Messages: UnityEditor.ShaderMessage[];
@@ -4691,7 +4832,6 @@ export declare namespace UnityEditor {
4691
4832
  static SetOverrideLightingSettings(scene: UnityEngine.SceneManagement.Scene): boolean;
4692
4833
  static RestoreOverrideLightingSettings(): void;
4693
4834
  static SetRenderSettingsUseFogNoDirty(fog: boolean): void;
4694
- static SetSceneViewDebugModeExposureNoDirty(exposure: number): void;
4695
4835
  static SetQualitySettingsShadowDistanceTemporarily(distance: number): void;
4696
4836
  static DeleteGameObjectSelection(): void;
4697
4837
  static CopyGameObjectsToPasteboard(): void;
@@ -4738,8 +4878,8 @@ export declare namespace UnityEditor {
4738
4878
  class Unwrapping {
4739
4879
  static GeneratePerTriangleUV(src: UnityEngine.Mesh): UnityEngine.Vector2[];
4740
4880
  static GeneratePerTriangleUV(src: UnityEngine.Mesh, settings: UnityEditor.UnwrapParam): UnityEngine.Vector2[];
4741
- static GenerateSecondaryUVSet(src: UnityEngine.Mesh): void;
4742
- static GenerateSecondaryUVSet(src: UnityEngine.Mesh, settings: UnityEditor.UnwrapParam): void;
4881
+ static GenerateSecondaryUVSet(src: UnityEngine.Mesh): boolean;
4882
+ static GenerateSecondaryUVSet(src: UnityEngine.Mesh, settings: UnityEditor.UnwrapParam): boolean;
4743
4883
  Equals(obj: any): boolean;
4744
4884
  GetHashCode(): number;
4745
4885
  GetType(): System.Type;
@@ -4962,6 +5102,7 @@ export declare namespace UnityEditor {
4962
5102
  time: number;
4963
5103
  frame: number;
4964
5104
  rootVisualElement: UnityEngine.UIElements.VisualElement;
5105
+ overlayCanvas: UnityEditor.Overlays.OverlayCanvas;
4965
5106
  wantsMouseMove: boolean;
4966
5107
  wantsMouseEnterLeaveWindow: boolean;
4967
5108
  wantsLessLayoutEvents: boolean;
@@ -5009,6 +5150,32 @@ export declare namespace UnityEditor {
5009
5150
  ToString(): string;
5010
5151
  GetType(): System.Type;
5011
5152
  }
5153
+ class GizmoInfo {
5154
+ name: string;
5155
+ hasGizmo: boolean;
5156
+ gizmoEnabled: boolean;
5157
+ hasIcon: boolean;
5158
+ iconEnabled: boolean;
5159
+ script: UnityEngine.Object;
5160
+ thumb: UnityEngine.Texture2D;
5161
+ CompareTo(obj: any): number;
5162
+ Equals(obj: any): boolean;
5163
+ GetHashCode(): number;
5164
+ GetType(): System.Type;
5165
+ ToString(): string;
5166
+ }
5167
+ class GizmoUtility {
5168
+ static iconSize: number;
5169
+ static use3dIcons: boolean;
5170
+ static GetGizmoInfo(): UnityEditor.GizmoInfo[];
5171
+ static ApplyGizmoInfo(info: UnityEditor.GizmoInfo, addToRecentlyChanged?: boolean): void;
5172
+ static SetGizmoEnabled(type: System.Type, enabled: boolean, addToRecentlyChanged?: boolean): void;
5173
+ static SetIconEnabled(type: System.Type, enabled: boolean): void;
5174
+ Equals(obj: any): boolean;
5175
+ GetHashCode(): number;
5176
+ GetType(): System.Type;
5177
+ ToString(): string;
5178
+ }
5012
5179
  enum DrawCameraMode {
5013
5180
  UserDefined = -2147483648,
5014
5181
  Normal = -1,
@@ -5194,6 +5361,8 @@ export declare namespace UnityEditor {
5194
5361
  static IsCacheServerEnabled(): boolean;
5195
5362
  static GetImporterOverride(path: string): System.Type;
5196
5363
  static GetAvailableImporterTypes(path: string): System.Type[];
5364
+ static GetAvailableImporters(path: string): System.Type[];
5365
+ static GetDefaultImporter(path: string): System.Type;
5197
5366
  static CanConnectToCacheServer(ip: string, port: System.UInt16): boolean;
5198
5367
  static RefreshSettings(): void;
5199
5368
  static IsConnectedToCacheServer(): boolean;
@@ -5441,6 +5610,7 @@ export declare namespace UnityEditor {
5441
5610
  constructor();
5442
5611
  bytes: System.Byte[];
5443
5612
  text: string;
5613
+ dataSize: System.Int64;
5444
5614
  name: string;
5445
5615
  hideFlags: UnityEngine.HideFlags;
5446
5616
  ToString(): string;
@@ -5538,6 +5708,11 @@ export declare namespace UnityEditor {
5538
5708
  lightmap: boolean;
5539
5709
  convertToNormalmap: boolean;
5540
5710
  normalmapFilter: UnityEditor.TextureImporterNormalFilter;
5711
+ flipGreenChannel: boolean;
5712
+ swizzleR: UnityEditor.TextureImporterSwizzle;
5713
+ swizzleG: UnityEditor.TextureImporterSwizzle;
5714
+ swizzleB: UnityEditor.TextureImporterSwizzle;
5715
+ swizzleA: UnityEditor.TextureImporterSwizzle;
5541
5716
  heightmapScale: number;
5542
5717
  anisoLevel: number;
5543
5718
  filterMode: UnityEngine.FilterMode;
@@ -5752,6 +5927,18 @@ export declare namespace UnityEditor {
5752
5927
  Quality16Bit = 2,
5753
5928
  Quality32BitDownscaled = 3
5754
5929
  }
5930
+ enum TextureImporterSwizzle {
5931
+ R = 0,
5932
+ G = 1,
5933
+ B = 2,
5934
+ A = 3,
5935
+ OneMinusR = 4,
5936
+ OneMinusG = 5,
5937
+ OneMinusB = 6,
5938
+ OneMinusA = 7,
5939
+ Zero = 8,
5940
+ One = 9
5941
+ }
5755
5942
  class SpriteMetaData {
5756
5943
  name: string;
5757
5944
  rect: UnityEngine.Rect;
@@ -5780,6 +5967,11 @@ export declare namespace UnityEditor {
5780
5967
  convertToNormalMap: boolean;
5781
5968
  heightmapScale: number;
5782
5969
  normalMapFilter: UnityEditor.TextureImporterNormalFilter;
5970
+ flipGreenChannel: boolean;
5971
+ swizzleR: UnityEditor.TextureImporterSwizzle;
5972
+ swizzleG: UnityEditor.TextureImporterSwizzle;
5973
+ swizzleB: UnityEditor.TextureImporterSwizzle;
5974
+ swizzleA: UnityEditor.TextureImporterSwizzle;
5783
5975
  alphaSource: UnityEditor.TextureImporterAlphaSource;
5784
5976
  singleChannelComponent: UnityEditor.TextureImporterSingleChannelComponent;
5785
5977
  flipbookRows: number;
@@ -6367,6 +6559,7 @@ export declare namespace UnityEditor {
6367
6559
  static inspectorFullWidthMargins: UnityEngine.GUIStyle;
6368
6560
  static helpBox: UnityEngine.GUIStyle;
6369
6561
  static toolbarSearchField: UnityEngine.GUIStyle;
6562
+ static iconButton: UnityEngine.GUIStyle;
6370
6563
  static selectionRect: UnityEngine.GUIStyle;
6371
6564
  static FromUSS(ussStyleRuleName: string, ussInPlaceStyleOverride?: string): UnityEngine.GUIStyle;
6372
6565
  static FromUSS(baseStyle: UnityEngine.GUIStyle, ussStyleRuleName: string, ussInPlaceStyleOverride?: string): UnityEngine.GUIStyle;
@@ -6441,6 +6634,7 @@ export declare namespace UnityEditor {
6441
6634
  }
6442
6635
  class PopupWindow {
6443
6636
  rootVisualElement: UnityEngine.UIElements.VisualElement;
6637
+ overlayCanvas: UnityEditor.Overlays.OverlayCanvas;
6444
6638
  wantsMouseMove: boolean;
6445
6639
  wantsMouseEnterLeaveWindow: boolean;
6446
6640
  wantsLessLayoutEvents: boolean;
@@ -6798,6 +6992,7 @@ export declare namespace UnityEditor {
6798
6992
  DrawLightmapping(): void;
6799
6993
  DrawIntensity(): void;
6800
6994
  DrawBounceIntensity(): void;
6995
+ DrawCookieProperty(cookieProperty: UnityEditor.SerializedProperty, content: UnityEngine.GUIContent, cookieLightType: UnityEngine.LightType): void;
6801
6996
  DrawCookie(): void;
6802
6997
  DrawCookieSize(): void;
6803
6998
  DrawHalo(): void;
@@ -6836,6 +7031,11 @@ export declare namespace UnityEditor {
6836
7031
  SetTexture(propertyName: string, value: UnityEngine.Texture): void;
6837
7032
  SetTextureScale(propertyName: string, value: UnityEngine.Vector2, coord: number): void;
6838
7033
  SetTextureOffset(propertyName: string, value: UnityEngine.Vector2, coord: number): void;
7034
+ static BeginProperty(property: UnityEditor.SerializedProperty): void;
7035
+ static BeginProperty(rect: UnityEngine.Rect, property: UnityEditor.SerializedProperty): void;
7036
+ static BeginProperty(property: UnityEditor.MaterialProperty): void;
7037
+ static BeginProperty(rect: UnityEngine.Rect, property: UnityEditor.MaterialProperty): void;
7038
+ static EndProperty(): void;
6839
7039
  RangeProperty(prop: UnityEditor.MaterialProperty, label: string): number;
6840
7040
  RangeProperty(position: UnityEngine.Rect, prop: UnityEditor.MaterialProperty, label: string): number;
6841
7041
  IntegerProperty(prop: UnityEditor.MaterialProperty, label: string): number;
@@ -7086,13 +7286,11 @@ export declare namespace UnityEditor {
7086
7286
  static InstantiateAttachedAsset(targetObject: UnityEngine.Object): UnityEngine.Object;
7087
7287
  static RecordPrefabInstancePropertyModifications(targetObject: UnityEngine.Object): void;
7088
7288
  static MergeAllPrefabInstances(targetObject: UnityEngine.Object): void;
7089
- static DisconnectPrefabInstance(targetObject: UnityEngine.Object): void;
7090
7289
  static UnpackPrefabInstanceAndReturnNewOutermostRoots(instanceRoot: UnityEngine.GameObject, unpackMode: UnityEditor.PrefabUnpackMode): UnityEngine.GameObject[];
7091
7290
  static LoadPrefabContentsIntoPreviewScene(prefabPath: string, scene: UnityEngine.SceneManagement.Scene): void;
7092
7291
  static ConnectGameObjectToPrefab(go: UnityEngine.GameObject, sourcePrefab: UnityEngine.GameObject): UnityEngine.GameObject;
7093
7292
  static FindRootGameObjectWithSameParentPrefab(target: UnityEngine.GameObject): UnityEngine.GameObject;
7094
7293
  static FindValidUploadPrefabInstanceRoot(target: UnityEngine.GameObject): UnityEngine.GameObject;
7095
- static ReconnectToLastPrefab(go: UnityEngine.GameObject): boolean;
7096
7294
  static ResetToPrefabState(obj: UnityEngine.Object): boolean;
7097
7295
  static IsAddedComponentOverride(component: UnityEngine.Object): boolean;
7098
7296
  static RevertPrefabInstance(go: UnityEngine.GameObject): boolean;
@@ -7105,10 +7303,10 @@ export declare namespace UnityEditor {
7105
7303
  static IsPartOfModelPrefab(componentOrGameObject: UnityEngine.Object): boolean;
7106
7304
  static IsPartOfVariantPrefab(componentOrGameObject: UnityEngine.Object): boolean;
7107
7305
  static IsPartOfImmutablePrefab(componentOrGameObject: UnityEngine.Object): boolean;
7108
- static IsDisconnectedFromPrefabAsset(componentOrGameObject: UnityEngine.Object): boolean;
7109
7306
  static IsPrefabAssetMissing(instanceComponentOrGameObject: UnityEngine.Object): boolean;
7110
7307
  static GetOutermostPrefabInstanceRoot(componentOrGameObject: UnityEngine.Object): UnityEngine.GameObject;
7111
7308
  static GetNearestPrefabInstanceRoot(componentOrGameObject: UnityEngine.Object): UnityEngine.GameObject;
7309
+ static GetOriginalSourceRootWhereGameObjectIsAdded(gameObject: UnityEngine.GameObject): UnityEngine.GameObject;
7112
7310
  static IsDefaultOverride(modification: UnityEditor.PropertyModification): boolean;
7113
7311
  static FindAllInstancesOfPrefab(prefabRoot: UnityEngine.GameObject): UnityEngine.GameObject[];
7114
7312
  static FindAllInstancesOfPrefab(prefabRoot: UnityEngine.GameObject, scene: UnityEngine.SceneManagement.Scene): UnityEngine.GameObject[];
@@ -7133,6 +7331,9 @@ export declare namespace UnityEditor {
7133
7331
  static IsAnyPrefabInstanceRoot(gameObject: UnityEngine.GameObject): boolean;
7134
7332
  static IsOutermostPrefabInstanceRoot(gameObject: UnityEngine.GameObject): boolean;
7135
7333
  static GetPrefabAssetPathOfNearestInstanceRoot(instanceComponentOrGameObject: UnityEngine.Object): string;
7334
+ static IsDisconnectedFromPrefabAsset(componentOrGameObject: UnityEngine.Object): boolean;
7335
+ static DisconnectPrefabInstance(targetObject: UnityEngine.Object): void;
7336
+ static ReconnectToLastPrefab(go: UnityEngine.GameObject): boolean;
7136
7337
  static GetIconForGameObject(gameObject: UnityEngine.GameObject): UnityEngine.Texture2D;
7137
7338
  static GetPrefabParent(obj: UnityEngine.Object): UnityEngine.Object;
7138
7339
  static CreateEmptyPrefab(path: string): UnityEngine.Object;
@@ -7261,6 +7462,7 @@ export declare namespace UnityEditor {
7261
7462
  static GetDescription(id: number): string;
7262
7463
  static SetDescription(id: number, description: string): void;
7263
7464
  static GetStartDateTime(id: number): System.Int64;
7465
+ static GetEndDateTime(id: number): System.Int64;
7264
7466
  static GetUpdateDateTime(id: number): System.Int64;
7265
7467
  static GetParentId(id: number): number;
7266
7468
  static GetId(index: number): number;
@@ -7325,6 +7527,7 @@ export declare namespace UnityEditor {
7325
7527
  stepLabel: string;
7326
7528
  parentId: number;
7327
7529
  startTime: System.DateTime;
7530
+ endTime: System.DateTime;
7328
7531
  updateTime: System.DateTime;
7329
7532
  status: UnityEditor.Progress_Status;
7330
7533
  options: UnityEditor.Progress_Options;
@@ -7387,6 +7590,7 @@ export declare namespace UnityEditor {
7387
7590
  class SearchableEditorWindow {
7388
7591
  constructor();
7389
7592
  rootVisualElement: UnityEngine.UIElements.VisualElement;
7593
+ overlayCanvas: UnityEditor.Overlays.OverlayCanvas;
7390
7594
  wantsMouseMove: boolean;
7391
7595
  wantsMouseEnterLeaveWindow: boolean;
7392
7596
  wantsLessLayoutEvents: boolean;
@@ -7458,7 +7662,8 @@ export declare namespace UnityEditor {
7458
7662
  ToString(): string;
7459
7663
  }
7460
7664
  class LightingExplorerTab {
7461
- constructor(title: string, objects: (() => UnityEngine.Object[]), columns: (() => UnityEditor.LightingExplorerTableColumn[]), showFilterGUI?: boolean);
7665
+ constructor(title: string, objects: (() => UnityEngine.Object[]), columns: (() => UnityEditor.LightingExplorerTableColumn[]));
7666
+ constructor(title: string, objects: (() => UnityEngine.Object[]), columns: (() => UnityEditor.LightingExplorerTableColumn[]), showFilterGUI: boolean);
7462
7667
  Equals(obj: any): boolean;
7463
7668
  GetHashCode(): number;
7464
7669
  GetType(): System.Type;
@@ -7579,6 +7784,7 @@ export declare namespace UnityEditor {
7579
7784
  size: number;
7580
7785
  orthographic: boolean;
7581
7786
  rootVisualElement: UnityEngine.UIElements.VisualElement;
7787
+ overlayCanvas: UnityEditor.Overlays.OverlayCanvas;
7582
7788
  wantsMouseMove: boolean;
7583
7789
  wantsMouseEnterLeaveWindow: boolean;
7584
7790
  wantsLessLayoutEvents: boolean;
@@ -8045,19 +8251,28 @@ export declare namespace UnityEditor {
8045
8251
  static projectName: string;
8046
8252
  static organizationId: string;
8047
8253
  static organizationName: string;
8254
+ static organizationKey: string;
8255
+ static coppaCompliance: UnityEditor.CoppaCompliance;
8256
+ static projectBound: boolean;
8048
8257
  static RefreshAccessToken(refresh: ((arg0: boolean) => void)): void;
8258
+ static ShowLogin(): void;
8049
8259
  Equals(obj: any): boolean;
8050
8260
  GetHashCode(): number;
8051
8261
  GetType(): System.Type;
8052
8262
  ToString(): string;
8053
8263
  }
8054
- class ExpressionEvaluator {
8055
- constructor();
8264
+ class CloudProjectSettingsEventManager {
8265
+ static instance: UnityEditor.CloudProjectSettingsEventManager;
8056
8266
  Equals(obj: any): boolean;
8057
8267
  GetHashCode(): number;
8058
8268
  GetType(): System.Type;
8059
8269
  ToString(): string;
8060
8270
  }
8271
+ enum CoppaCompliance {
8272
+ CoppaUndefined = 0,
8273
+ CoppaCompliant = 1,
8274
+ CoppaNotCompliant = 2
8275
+ }
8061
8276
  class MathUtils {
8062
8277
  constructor();
8063
8278
  static GetQuatLength(q: UnityEngine.Quaternion): number;
@@ -8108,6 +8323,29 @@ export declare namespace UnityEditor {
8108
8323
  ToString(): string;
8109
8324
  GetType(): System.Type;
8110
8325
  }
8326
+ class AndroidAssetPackImporter {
8327
+ constructor();
8328
+ assetPath: string;
8329
+ importSettingsMissing: boolean;
8330
+ assetTimeStamp: System.UInt64;
8331
+ userData: string;
8332
+ assetBundleName: string;
8333
+ assetBundleVariant: string;
8334
+ name: string;
8335
+ hideFlags: UnityEngine.HideFlags;
8336
+ static GetAllImporters(): UnityEditor.AndroidAssetPackImporter[];
8337
+ SetAssetBundleNameAndVariant(assetBundleName: string, assetBundleVariant: string): void;
8338
+ SaveAndReimport(): void;
8339
+ AddRemap(identifier: UnityEditor.AssetImporter_SourceAssetIdentifier, externalObject: UnityEngine.Object): void;
8340
+ RemoveRemap(identifier: UnityEditor.AssetImporter_SourceAssetIdentifier): boolean;
8341
+ GetExternalObjectMap(): System.Collections.Generic.Dictionary<UnityEditor.AssetImporter_SourceAssetIdentifier, UnityEngine.Object>;
8342
+ SupportsRemappedAssetType(type: System.Type): boolean;
8343
+ GetInstanceID(): number;
8344
+ GetHashCode(): number;
8345
+ Equals(other: any): boolean;
8346
+ ToString(): string;
8347
+ GetType(): System.Type;
8348
+ }
8111
8349
  enum AudioImporterFormat {
8112
8350
  Native = -1,
8113
8351
  Compressed = 0
@@ -8596,6 +8834,7 @@ export declare namespace UnityEditor {
8596
8834
  useFileScale: boolean;
8597
8835
  isFileScaleUsed: boolean;
8598
8836
  importBlendShapes: boolean;
8837
+ importBlendShapeDeformPercent: boolean;
8599
8838
  importCameras: boolean;
8600
8839
  importLights: boolean;
8601
8840
  addCollider: boolean;
@@ -8641,6 +8880,7 @@ export declare namespace UnityEditor {
8641
8880
  resampleCurves: boolean;
8642
8881
  isTangentImportSupported: boolean;
8643
8882
  removeConstantScaleCurves: boolean;
8883
+ strictVertexDataChecks: boolean;
8644
8884
  meshCompression: UnityEditor.ModelImporterMeshCompression;
8645
8885
  importAnimation: boolean;
8646
8886
  optimizeGameObjects: boolean;
@@ -8737,6 +8977,7 @@ export declare namespace UnityEditor {
8737
8977
  class PhysicsDebugWindow {
8738
8978
  constructor();
8739
8979
  rootVisualElement: UnityEngine.UIElements.VisualElement;
8980
+ overlayCanvas: UnityEditor.Overlays.OverlayCanvas;
8740
8981
  wantsMouseMove: boolean;
8741
8982
  wantsMouseEnterLeaveWindow: boolean;
8742
8983
  wantsLessLayoutEvents: boolean;
@@ -8799,12 +9040,26 @@ export declare namespace UnityEditor {
8799
9040
  static staticColor: UnityEngine.Color;
8800
9041
  static rigidbodyColor: UnityEngine.Color;
8801
9042
  static kinematicColor: UnityEngine.Color;
9043
+ static articulationBodyColor: UnityEngine.Color;
8802
9044
  static triggerColor: UnityEngine.Color;
8803
9045
  static sleepingBodyColor: UnityEngine.Color;
8804
9046
  static baseAlpha: number;
8805
9047
  static colorVariance: number;
9048
+ static centerOfMassUseScreenSize: boolean;
9049
+ static inertiaTensorScale: number;
8806
9050
  static dotAlpha: number;
8807
9051
  static forceDot: boolean;
9052
+ static contactColor: UnityEngine.Color;
9053
+ static contactSeparationColor: UnityEngine.Color;
9054
+ static contactImpulseColor: UnityEngine.Color;
9055
+ static showContacts: boolean;
9056
+ static showContactImpulse: boolean;
9057
+ static showContactSeparation: boolean;
9058
+ static showAllContacts: boolean;
9059
+ static useContactFiltering: boolean;
9060
+ static useVariedContactColors: boolean;
9061
+ static queryColor: UnityEngine.Color;
9062
+ static maxNumberOfQueries: number;
8808
9063
  static Reset(): void;
8809
9064
  static GetShowStaticColliders(): boolean;
8810
9065
  static SetShowStaticColliders(show: boolean): void;
@@ -8814,6 +9069,8 @@ export declare namespace UnityEditor {
8814
9069
  static SetShowRigidbodies(show: boolean): void;
8815
9070
  static GetShowKinematicBodies(): boolean;
8816
9071
  static SetShowKinematicBodies(show: boolean): void;
9072
+ static GetShowArticulationBodies(): boolean;
9073
+ static SetShowArticulationBodies(show: boolean): void;
8817
9074
  static GetShowSleepingBodies(): boolean;
8818
9075
  static SetShowSleepingBodies(show: boolean): void;
8819
9076
  static GetShowCollisionLayer(layer: number): boolean;
@@ -8832,6 +9089,10 @@ export declare namespace UnityEditor {
8832
9089
  static SetShowTerrainColliders(show: boolean): void;
8833
9090
  static GetShowPhysicsSceneMask(): number;
8834
9091
  static SetShowPhysicsSceneMask(mask: number): void;
9092
+ static GetShowUnitySceneMask(): number;
9093
+ static SetShowUnitySceneMask(mask: number): void;
9094
+ static GetQueryFilterState(filter: UnityEditor.PhysicsVisualizationSettings_QueryFilter): boolean;
9095
+ static SetQueryFilterState(filter: UnityEditor.PhysicsVisualizationSettings_QueryFilter, value: boolean): void;
8835
9096
  static InitDebugDraw(): void;
8836
9097
  static DeinitDebugDraw(): void;
8837
9098
  static ClearMouseHighlight(): void;
@@ -8878,6 +9139,18 @@ export declare namespace UnityEditor {
8878
9139
  Convex = 0,
8879
9140
  NonConvex = 1
8880
9141
  }
9142
+ enum PhysicsVisualizationSettings_QueryFilter {
9143
+ All = -1,
9144
+ Box = 1,
9145
+ Capsule = 2,
9146
+ Cast = 4,
9147
+ Check = 8,
9148
+ None = 0,
9149
+ Overlap = 16,
9150
+ Ray = 32,
9151
+ ShowQueries = 64,
9152
+ Sphere = 128
9153
+ }
8881
9154
  class ProfilerWindow {
8882
9155
  selectedModuleName: string;
8883
9156
  selectedModuleIdentifier: string;
@@ -8885,6 +9158,7 @@ export declare namespace UnityEditor {
8885
9158
  firstAvailableFrameIndex: System.Int64;
8886
9159
  lastAvailableFrameIndex: System.Int64;
8887
9160
  rootVisualElement: UnityEngine.UIElements.VisualElement;
9161
+ overlayCanvas: UnityEditor.Overlays.OverlayCanvas;
8888
9162
  wantsMouseMove: boolean;
8889
9163
  wantsMouseEnterLeaveWindow: boolean;
8890
9164
  wantsLessLayoutEvents: boolean;
@@ -8993,6 +9267,7 @@ export declare namespace UnityEditor {
8993
9267
  useFileScale: boolean;
8994
9268
  isFileScaleUsed: boolean;
8995
9269
  importBlendShapes: boolean;
9270
+ importBlendShapeDeformPercent: boolean;
8996
9271
  importCameras: boolean;
8997
9272
  importLights: boolean;
8998
9273
  addCollider: boolean;
@@ -9038,6 +9313,7 @@ export declare namespace UnityEditor {
9038
9313
  resampleCurves: boolean;
9039
9314
  isTangentImportSupported: boolean;
9040
9315
  removeConstantScaleCurves: boolean;
9316
+ strictVertexDataChecks: boolean;
9041
9317
  meshCompression: UnityEditor.ModelImporterMeshCompression;
9042
9318
  importAnimation: boolean;
9043
9319
  optimizeGameObjects: boolean;
@@ -10172,6 +10448,7 @@ export declare namespace UnityEditor {
10172
10448
  static Stadia: UnityEditor.Build.NamedBuildTarget;
10173
10449
  static CloudRendering: UnityEditor.Build.NamedBuildTarget;
10174
10450
  static EmbeddedLinux: UnityEditor.Build.NamedBuildTarget;
10451
+ static QNX: UnityEditor.Build.NamedBuildTarget;
10175
10452
  ToBuildTargetGroup(): UnityEditor.BuildTargetGroup;
10176
10453
  static FromBuildTargetGroup(buildTargetGroup: UnityEditor.BuildTargetGroup): UnityEditor.Build.NamedBuildTarget;
10177
10454
  GetHashCode(): number;
@@ -10581,6 +10858,7 @@ export declare namespace UnityEditor {
10581
10858
  scenesUsingAssets: UnityEditor.Build.Reporting.ScenesUsingAssets[];
10582
10859
  name: string;
10583
10860
  hideFlags: UnityEngine.HideFlags;
10861
+ GetFiles(): UnityEditor.Build.Reporting.BuildFile[];
10584
10862
  GetInstanceID(): number;
10585
10863
  GetHashCode(): number;
10586
10864
  Equals(other: any): boolean;
@@ -10987,6 +11265,7 @@ export declare namespace UnityEditor {
10987
11265
  OnWillBeDeactivated(): void;
10988
11266
  OnToolGUI(window: UnityEditor.EditorWindow): void;
10989
11267
  ResolveTool(tool: UnityEditor.Tool): System.Type;
11268
+ GetAdditionalToolTypes(): System.Collections.Generic.IEnumerable<System.Type>;
10990
11269
  SetDirty(): void;
10991
11270
  GetInstanceID(): number;
10992
11271
  GetHashCode(): number;
@@ -11015,6 +11294,7 @@ export declare namespace UnityEditor {
11015
11294
  OnWillBeDeactivated(): void;
11016
11295
  OnToolGUI(window: UnityEditor.EditorWindow): void;
11017
11296
  ResolveTool(tool: UnityEditor.Tool): System.Type;
11297
+ GetAdditionalToolTypes(): System.Collections.Generic.IEnumerable<System.Type>;
11018
11298
  SetDirty(): void;
11019
11299
  GetInstanceID(): number;
11020
11300
  GetHashCode(): number;
@@ -11839,11 +12119,11 @@ export declare namespace UnityEditor {
11839
12119
  enabled: boolean;
11840
12120
  children: System.Collections.Generic.IEnumerable<UnityEditor.IMGUI.Controls.AdvancedDropdownItem>;
11841
12121
  AddChild(child: UnityEditor.IMGUI.Controls.AdvancedDropdownItem): void;
12122
+ GetHashCode(): number;
11842
12123
  CompareTo(o: any): number;
11843
12124
  AddSeparator(): void;
11844
12125
  ToString(): string;
11845
12126
  Equals(obj: any): boolean;
11846
- GetHashCode(): number;
11847
12127
  GetType(): System.Type;
11848
12128
  }
11849
12129
  class AdvancedDropdownState {
@@ -12353,7 +12633,7 @@ export declare namespace UnityEditor {
12353
12633
  ToString(): string;
12354
12634
  }
12355
12635
  class PlayerConnectionGUILayout {
12356
- static ConnectionTargetSelectionDropdown(state: UnityEngine.Networking.PlayerConnection.IConnectionState, style?: UnityEngine.GUIStyle): void;
12636
+ static ConnectionTargetSelectionDropdown(state: UnityEngine.Networking.PlayerConnection.IConnectionState, style?: UnityEngine.GUIStyle, maxWidth?: number): void;
12357
12637
  Equals(obj: any): boolean;
12358
12638
  GetHashCode(): number;
12359
12639
  GetType(): System.Type;
@@ -12398,6 +12678,15 @@ export declare namespace UnityEditor {
12398
12678
  }
12399
12679
  }
12400
12680
  namespace Overlays {
12681
+ interface ICreateHorizontalToolbar {
12682
+ CreateHorizontalToolbarContent(): UnityEditor.Overlays.OverlayToolbar;
12683
+ }
12684
+ interface ICreateVerticalToolbar {
12685
+ CreateVerticalToolbarContent(): UnityEditor.Overlays.OverlayToolbar;
12686
+ }
12687
+ interface ICreateToolbar {
12688
+ toolbarElements: System.Collections.Generic.IEnumerable<string>;
12689
+ }
12401
12690
  interface ITransientOverlay {
12402
12691
  visible: boolean;
12403
12692
  }
@@ -12413,8 +12702,10 @@ export declare namespace UnityEditor {
12413
12702
  floating: boolean;
12414
12703
  CreatePanelContent(): UnityEngine.UIElements.VisualElement;
12415
12704
  OnGUI(): void;
12705
+ CreateContent(requestedLayout: UnityEditor.Overlays.Layout): UnityEngine.UIElements.VisualElement;
12416
12706
  OnCreated(): void;
12417
12707
  OnWillBeDestroyed(): void;
12708
+ Close(): void;
12418
12709
  Undock(): void;
12419
12710
  Equals(obj: any): boolean;
12420
12711
  GetHashCode(): number;
@@ -12438,18 +12729,121 @@ export declare namespace UnityEditor {
12438
12729
  floatingPosition: UnityEngine.Vector2;
12439
12730
  floating: boolean;
12440
12731
  static ussClassName: string;
12732
+ CreateContent(requestedLayout: UnityEditor.Overlays.Layout): UnityEngine.UIElements.VisualElement;
12441
12733
  CreatePanelContent(): UnityEngine.UIElements.VisualElement;
12442
12734
  OnCreated(): void;
12443
12735
  OnWillBeDestroyed(): void;
12736
+ Close(): void;
12444
12737
  Undock(): void;
12445
12738
  Equals(obj: any): boolean;
12446
12739
  GetHashCode(): number;
12447
12740
  GetType(): System.Type;
12448
12741
  ToString(): string;
12449
12742
  }
12743
+ enum DockPosition {
12744
+ Top = 0,
12745
+ Bottom = 1
12746
+ }
12747
+ enum DockZone {
12748
+ LeftToolbar = 0,
12749
+ RightToolbar = 1,
12750
+ TopToolbar = 2,
12751
+ BottomToolbar = 3,
12752
+ LeftColumn = 4,
12753
+ RightColumn = 5,
12754
+ Floating = 6
12755
+ }
12756
+ class OverlayCanvas {
12757
+ OnBeforeSerialize(): void;
12758
+ OnAfterDeserialize(): void;
12759
+ Add(overlay: UnityEditor.Overlays.Overlay, show?: boolean): void;
12760
+ Remove(overlay: UnityEditor.Overlays.Overlay): boolean;
12761
+ Equals(obj: any): boolean;
12762
+ GetHashCode(): number;
12763
+ GetType(): System.Type;
12764
+ ToString(): string;
12765
+ }
12766
+ class OverlayToolbar {
12767
+ constructor();
12768
+ [key: string]: any;
12769
+ viewDataKey: string;
12770
+ userData: any;
12771
+ canGrabFocus: boolean;
12772
+ focusController: UnityEngine.UIElements.FocusController;
12773
+ usageHints: UnityEngine.UIElements.UsageHints;
12774
+ transform: UnityEngine.UIElements.ITransform;
12775
+ layout: UnityEngine.Rect;
12776
+ contentRect: UnityEngine.Rect;
12777
+ worldBound: UnityEngine.Rect;
12778
+ localBound: UnityEngine.Rect;
12779
+ worldTransform: UnityEngine.Matrix4x4;
12780
+ pickingMode: UnityEngine.UIElements.PickingMode;
12781
+ name: string;
12782
+ enabledInHierarchy: boolean;
12783
+ enabledSelf: boolean;
12784
+ visible: boolean;
12785
+ generateVisualContent: ((arg0: UnityEngine.UIElements.MeshGenerationContext) => void);
12786
+ experimental: UnityEngine.UIElements.IExperimentalFeatures;
12787
+ hierarchy: UnityEngine.UIElements.VisualElement_Hierarchy;
12788
+ cacheAsBitmap: boolean;
12789
+ parent: UnityEngine.UIElements.VisualElement;
12790
+ panel: UnityEngine.UIElements.IPanel;
12791
+ contentContainer: UnityEngine.UIElements.VisualElement;
12792
+ visualTreeAssetSource: UnityEngine.UIElements.VisualTreeAsset;
12793
+ childCount: number;
12794
+ schedule: UnityEngine.UIElements.IVisualElementScheduler;
12795
+ style: UnityEngine.UIElements.IStyle;
12796
+ customStyle: UnityEngine.UIElements.ICustomStyle;
12797
+ styleSheets: UnityEngine.UIElements.VisualElementStyleSheetSet;
12798
+ tooltip: string;
12799
+ resolvedStyle: UnityEngine.UIElements.IResolvedStyle;
12800
+ focusable: boolean;
12801
+ tabIndex: number;
12802
+ delegatesFocus: boolean;
12803
+ SetupChildrenAsButtonStrip(): void;
12804
+ Focus(): void;
12805
+ SendEvent(e: UnityEngine.UIElements.EventBase): void;
12806
+ SetEnabled(value: boolean): void;
12807
+ MarkDirtyRepaint(): void;
12808
+ ContainsPoint(localPoint: UnityEngine.Vector2): boolean;
12809
+ Overlaps(rectangle: UnityEngine.Rect): boolean;
12810
+ ToString(): string;
12811
+ GetClasses(): System.Collections.Generic.IEnumerable<string>;
12812
+ ClearClassList(): void;
12813
+ AddToClassList(className: string): void;
12814
+ RemoveFromClassList(className: string): void;
12815
+ ToggleInClassList(className: string): void;
12816
+ EnableInClassList(className: string, enable: boolean): void;
12817
+ ClassListContains(cls: string): boolean;
12818
+ FindAncestorUserData(): any;
12819
+ Add(child: UnityEngine.UIElements.VisualElement): void;
12820
+ Insert(index: number, element: UnityEngine.UIElements.VisualElement): void;
12821
+ Remove(element: UnityEngine.UIElements.VisualElement): void;
12822
+ RemoveAt(index: number): void;
12823
+ Clear(): void;
12824
+ ElementAt(index: number): UnityEngine.UIElements.VisualElement;
12825
+ IndexOf(element: UnityEngine.UIElements.VisualElement): number;
12826
+ Children(): System.Collections.Generic.IEnumerable<UnityEngine.UIElements.VisualElement>;
12827
+ Sort(comp: System.Comparison<UnityEngine.UIElements.VisualElement>): void;
12828
+ BringToFront(): void;
12829
+ SendToBack(): void;
12830
+ PlaceBehind(sibling: UnityEngine.UIElements.VisualElement): void;
12831
+ PlaceInFront(sibling: UnityEngine.UIElements.VisualElement): void;
12832
+ RemoveFromHierarchy(): void;
12833
+ Contains(child: UnityEngine.UIElements.VisualElement): boolean;
12834
+ FindCommonAncestor(other: UnityEngine.UIElements.VisualElement): UnityEngine.UIElements.VisualElement;
12835
+ Blur(): void;
12836
+ HandleEvent(evt: UnityEngine.UIElements.EventBase): void;
12837
+ HasTrickleDownHandlers(): boolean;
12838
+ HasBubbleUpHandlers(): boolean;
12839
+ Equals(obj: any): boolean;
12840
+ GetHashCode(): number;
12841
+ GetType(): System.Type;
12842
+ }
12450
12843
  interface ISupportsOverlays {
12451
12844
  }
12452
12845
  class ToolbarOverlay {
12846
+ toolbarElements: System.Collections.Generic.IEnumerable<string>;
12453
12847
  containerWindow: UnityEditor.EditorWindow;
12454
12848
  id: string;
12455
12849
  layout: UnityEditor.Overlays.Layout;
@@ -12462,8 +12856,10 @@ export declare namespace UnityEditor {
12462
12856
  CreateHorizontalToolbarContent(): UnityEngine.UIElements.VisualElement;
12463
12857
  CreateVerticalToolbarContent(): UnityEngine.UIElements.VisualElement;
12464
12858
  CreatePanelContent(): UnityEngine.UIElements.VisualElement;
12859
+ CreateContent(requestedLayout: UnityEditor.Overlays.Layout): UnityEngine.UIElements.VisualElement;
12465
12860
  OnCreated(): void;
12466
12861
  OnWillBeDestroyed(): void;
12862
+ Close(): void;
12467
12863
  Undock(): void;
12468
12864
  Equals(obj: any): boolean;
12469
12865
  GetHashCode(): number;
@@ -12806,6 +13202,7 @@ export declare namespace UnityEditor {
12806
13202
  class PresetSelector {
12807
13203
  constructor();
12808
13204
  rootVisualElement: UnityEngine.UIElements.VisualElement;
13205
+ overlayCanvas: UnityEditor.Overlays.OverlayCanvas;
12809
13206
  wantsMouseMove: boolean;
12810
13207
  wantsMouseEnterLeaveWindow: boolean;
12811
13208
  wantsLessLayoutEvents: boolean;
@@ -12882,6 +13279,7 @@ export declare namespace UnityEditor {
12882
13279
  static IsPresetExcludedFromDefaultPresets(preset: UnityEditor.Presets.Preset): boolean;
12883
13280
  static IsObjectExcludedFromDefaultPresets(target: UnityEngine.Object): boolean;
12884
13281
  static IsObjectExcludedFromPresets(target: UnityEngine.Object): boolean;
13282
+ static IsEditorTargetAPreset(target: UnityEngine.Object): boolean;
12885
13283
  GetInstanceID(): number;
12886
13284
  GetHashCode(): number;
12887
13285
  Equals(other: any): boolean;
@@ -12994,6 +13392,7 @@ export declare namespace UnityEditor {
12994
13392
  GetCounterValueAsLong(markerId: number): System.Int64;
12995
13393
  GetCounterValueAsFloat(markerId: number): number;
12996
13394
  GetCounterValueAsDouble(markerId: number): number;
13395
+ GetUnityObjectNativeTypeInfoCount(): number;
12997
13396
  Equals(obj: any): boolean;
12998
13397
  GetHashCode(): number;
12999
13398
  GetType(): System.Type;
@@ -13028,6 +13427,22 @@ export declare namespace UnityEditor {
13028
13427
  ToString(): string;
13029
13428
  GetType(): System.Type;
13030
13429
  }
13430
+ class FrameDataView_UnityObjectInfo {
13431
+ name: string;
13432
+ nativeTypeIndex: number;
13433
+ Equals(obj: any): boolean;
13434
+ GetHashCode(): number;
13435
+ ToString(): string;
13436
+ GetType(): System.Type;
13437
+ }
13438
+ class FrameDataView_UnityObjectNativeTypeInfo {
13439
+ name: string;
13440
+ baseNativeTypeIndex: number;
13441
+ Equals(obj: any): boolean;
13442
+ GetHashCode(): number;
13443
+ ToString(): string;
13444
+ GetType(): System.Type;
13445
+ }
13031
13446
  class HierarchyFrameDataView {
13032
13447
  viewMode: UnityEditor.Profiling.HierarchyFrameDataView_ViewModes;
13033
13448
  sortColumn: number;
@@ -13115,6 +13530,7 @@ export declare namespace UnityEditor {
13115
13530
  GetCounterValueAsLong(markerId: number): System.Int64;
13116
13531
  GetCounterValueAsFloat(markerId: number): number;
13117
13532
  GetCounterValueAsDouble(markerId: number): number;
13533
+ GetUnityObjectNativeTypeInfoCount(): number;
13118
13534
  GetType(): System.Type;
13119
13535
  ToString(): string;
13120
13536
  }
@@ -13178,6 +13594,7 @@ export declare namespace UnityEditor {
13178
13594
  GetCounterValueAsLong(markerId: number): System.Int64;
13179
13595
  GetCounterValueAsFloat(markerId: number): number;
13180
13596
  GetCounterValueAsDouble(markerId: number): number;
13597
+ GetUnityObjectNativeTypeInfoCount(): number;
13181
13598
  GetType(): System.Type;
13182
13599
  ToString(): string;
13183
13600
  }
@@ -13512,6 +13929,7 @@ export declare namespace UnityEditor {
13512
13929
  shaderType: UnityEditor.Rendering.ShaderType;
13513
13930
  passType: UnityEngine.Rendering.PassType;
13514
13931
  passName: string;
13932
+ pass: UnityEngine.Rendering.PassIdentifier;
13515
13933
  Equals(obj: any): boolean;
13516
13934
  GetHashCode(): number;
13517
13935
  ToString(): string;
@@ -13521,6 +13939,7 @@ export declare namespace UnityEditor {
13521
13939
  shaderRequirements: UnityEditor.Rendering.ShaderRequirements;
13522
13940
  graphicsTier: UnityEngine.Rendering.GraphicsTier;
13523
13941
  shaderCompilerPlatform: UnityEditor.Rendering.ShaderCompilerPlatform;
13942
+ buildTarget: UnityEditor.BuildTarget;
13524
13943
  shaderKeywordSet: UnityEngine.Rendering.ShaderKeywordSet;
13525
13944
  platformKeywordSet: UnityEngine.Rendering.PlatformKeywordSet;
13526
13945
  Equals(obj: any): boolean;
@@ -14239,6 +14658,10 @@ export declare namespace UnityEditor {
14239
14658
  class ShortcutManager {
14240
14659
  static instance: UnityEditor.ShortcutManagement.IShortcutManager;
14241
14660
  static defaultProfileId: string;
14661
+ static RegisterTag(tag: string): void;
14662
+ static RegisterTag(e: System.Enum): void;
14663
+ static UnregisterTag(tag: string): void;
14664
+ static UnregisterTag(e: System.Enum): void;
14242
14665
  Equals(obj: any): boolean;
14243
14666
  GetHashCode(): number;
14244
14667
  GetType(): System.Type;
@@ -14423,6 +14846,7 @@ export declare namespace UnityEditor {
14423
14846
  }
14424
14847
  class SpriteAtlasUtility {
14425
14848
  constructor();
14849
+ static CleanupAtlasPacking(): void;
14426
14850
  static PackAllAtlases(target: UnityEditor.BuildTarget, canCancel?: boolean): void;
14427
14851
  static PackAtlases(atlases: UnityEngine.U2D.SpriteAtlas[], target: UnityEditor.BuildTarget, canCancel?: boolean): void;
14428
14852
  Equals(obj: any): boolean;
@@ -14480,18 +14904,18 @@ export declare namespace UnityEditor {
14480
14904
  hideFlags: UnityEngine.HideFlags;
14481
14905
  SetIsVariant(value: boolean): void;
14482
14906
  SetMasterAtlas(atlas: UnityEngine.U2D.SpriteAtlas): void;
14483
- SetIncludeInBuild(value: boolean): void;
14484
- IsIncludeInBuild(): boolean;
14485
14907
  GetMasterAtlas(): UnityEngine.U2D.SpriteAtlas;
14908
+ Add(objects: UnityEngine.Object[]): void;
14909
+ Remove(objects: UnityEngine.Object[]): void;
14486
14910
  SetVariantScale(value: number): void;
14911
+ SetIncludeInBuild(value: boolean): void;
14912
+ IsIncludeInBuild(): boolean;
14487
14913
  SetPlatformSettings(src: UnityEditor.TextureImporterPlatformSettings): void;
14488
- GetPlatformSettings(buildTarget: string): UnityEditor.TextureImporterPlatformSettings;
14489
- GetTextureSettings(): UnityEditor.U2D.SpriteAtlasTextureSettings;
14490
14914
  SetTextureSettings(src: UnityEditor.U2D.SpriteAtlasTextureSettings): void;
14491
- GetPackingSettings(): UnityEditor.U2D.SpriteAtlasPackingSettings;
14492
14915
  SetPackingSettings(src: UnityEditor.U2D.SpriteAtlasPackingSettings): void;
14493
- Add(objects: UnityEngine.Object[]): void;
14494
- Remove(objects: UnityEngine.Object[]): void;
14916
+ GetPackingSettings(): UnityEditor.U2D.SpriteAtlasPackingSettings;
14917
+ GetTextureSettings(): UnityEditor.U2D.SpriteAtlasTextureSettings;
14918
+ GetPlatformSettings(buildTarget: string): UnityEditor.TextureImporterPlatformSettings;
14495
14919
  static Load(assetPath: string): UnityEditor.U2D.SpriteAtlasAsset;
14496
14920
  static Save(asset: UnityEditor.U2D.SpriteAtlasAsset, assetPath: string): void;
14497
14921
  GetInstanceID(): number;
@@ -14502,6 +14926,10 @@ export declare namespace UnityEditor {
14502
14926
  }
14503
14927
  class SpriteAtlasImporter {
14504
14928
  constructor();
14929
+ variantScale: number;
14930
+ includeInBuild: boolean;
14931
+ packingSettings: UnityEditor.U2D.SpriteAtlasPackingSettings;
14932
+ textureSettings: UnityEditor.U2D.SpriteAtlasTextureSettings;
14505
14933
  assetPath: string;
14506
14934
  importSettingsMissing: boolean;
14507
14935
  assetTimeStamp: System.UInt64;
@@ -14510,6 +14938,8 @@ export declare namespace UnityEditor {
14510
14938
  assetBundleVariant: string;
14511
14939
  name: string;
14512
14940
  hideFlags: UnityEngine.HideFlags;
14941
+ SetPlatformSettings(src: UnityEditor.TextureImporterPlatformSettings): void;
14942
+ GetPlatformSettings(buildTarget: string): UnityEditor.TextureImporterPlatformSettings;
14513
14943
  SetAssetBundleNameAndVariant(assetBundleName: string, assetBundleVariant: string): void;
14514
14944
  SaveAndReimport(): void;
14515
14945
  AddRemap(identifier: UnityEditor.AssetImporter_SourceAssetIdentifier, externalObject: UnityEngine.Object): void;