@alpsckr/unitycli 0.4.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.
- package/README.md +389 -0
- package/contracts/command-contract.json +3972 -0
- package/contracts/stable-session/admission-acquire-v1.schema.json +16 -0
- package/contracts/stable-session/admission-response-v1.schema.json +30 -0
- package/contracts/stable-session/admission-revoke-v1.schema.json +15 -0
- package/contracts/stable-session/admission-transport-v1.json +36 -0
- package/contracts/stable-session/bridge-request-v2.schema.json +26 -0
- package/contracts/stable-session/canonical-path-v1-golden.json +23 -0
- package/contracts/stable-session/completion-contract.schema.json +46 -0
- package/contracts/stable-session/direct-call-semantics.json +102 -0
- package/contracts/stable-session/editor-state.schema.json +92 -0
- package/contracts/stable-session/health-v3.schema.json +47 -0
- package/contracts/stable-session/instance-registry-v3.schema.json +152 -0
- package/contracts/stable-session/removal-map.json +27 -0
- package/contracts/stable-session/request-digest-v1-golden.json +7 -0
- package/contracts/stable-session/runtime-config-v2.schema.json +27 -0
- package/contracts/static-capability-catalog.json +48226 -0
- package/contracts/tool-completion-contract.json +11322 -0
- package/dist/args.d.ts +27 -0
- package/dist/args.js +109 -0
- package/dist/args.js.map +1 -0
- package/dist/bridge/admission.d.ts +28 -0
- package/dist/bridge/admission.js +29 -0
- package/dist/bridge/admission.js.map +1 -0
- package/dist/bridge/args.d.ts +16 -0
- package/dist/bridge/args.js +123 -0
- package/dist/bridge/args.js.map +1 -0
- package/dist/bridge/domains/animation.d.ts +2 -0
- package/dist/bridge/domains/animation.js +199 -0
- package/dist/bridge/domains/animation.js.map +1 -0
- package/dist/bridge/domains/asset.d.ts +2 -0
- package/dist/bridge/domains/asset.js +85 -0
- package/dist/bridge/domains/asset.js.map +1 -0
- package/dist/bridge/domains/build.d.ts +2 -0
- package/dist/bridge/domains/build.js +35 -0
- package/dist/bridge/domains/build.js.map +1 -0
- package/dist/bridge/domains/camera.d.ts +2 -0
- package/dist/bridge/domains/camera.js +54 -0
- package/dist/bridge/domains/camera.js.map +1 -0
- package/dist/bridge/domains/code.d.ts +2 -0
- package/dist/bridge/domains/code.js +17 -0
- package/dist/bridge/domains/code.js.map +1 -0
- package/dist/bridge/domains/console.d.ts +2 -0
- package/dist/bridge/domains/console.js +34 -0
- package/dist/bridge/domains/console.js.map +1 -0
- package/dist/bridge/domains/diagnose.d.ts +2 -0
- package/dist/bridge/domains/diagnose.js +11 -0
- package/dist/bridge/domains/diagnose.js.map +1 -0
- package/dist/bridge/domains/editor.d.ts +2 -0
- package/dist/bridge/domains/editor.js +66 -0
- package/dist/bridge/domains/editor.js.map +1 -0
- package/dist/bridge/domains/extension.d.ts +8 -0
- package/dist/bridge/domains/extension.js +20 -0
- package/dist/bridge/domains/extension.js.map +1 -0
- package/dist/bridge/domains/game-object.d.ts +2 -0
- package/dist/bridge/domains/game-object.js +179 -0
- package/dist/bridge/domains/game-object.js.map +1 -0
- package/dist/bridge/domains/graphics.d.ts +2 -0
- package/dist/bridge/domains/graphics.js +185 -0
- package/dist/bridge/domains/graphics.js.map +1 -0
- package/dist/bridge/domains/material.d.ts +2 -0
- package/dist/bridge/domains/material.js +70 -0
- package/dist/bridge/domains/material.js.map +1 -0
- package/dist/bridge/domains/navmesh.d.ts +2 -0
- package/dist/bridge/domains/navmesh.js +34 -0
- package/dist/bridge/domains/navmesh.js.map +1 -0
- package/dist/bridge/domains/object.d.ts +2 -0
- package/dist/bridge/domains/object.js +43 -0
- package/dist/bridge/domains/object.js.map +1 -0
- package/dist/bridge/domains/occlusion.d.ts +2 -0
- package/dist/bridge/domains/occlusion.js +12 -0
- package/dist/bridge/domains/occlusion.js.map +1 -0
- package/dist/bridge/domains/package.d.ts +2 -0
- package/dist/bridge/domains/package.js +2 -0
- package/dist/bridge/domains/package.js.map +1 -0
- package/dist/bridge/domains/physics.d.ts +2 -0
- package/dist/bridge/domains/physics.js +139 -0
- package/dist/bridge/domains/physics.js.map +1 -0
- package/dist/bridge/domains/prefab.d.ts +2 -0
- package/dist/bridge/domains/prefab.js +104 -0
- package/dist/bridge/domains/prefab.js.map +1 -0
- package/dist/bridge/domains/profiler.d.ts +2 -0
- package/dist/bridge/domains/profiler.js +105 -0
- package/dist/bridge/domains/profiler.js.map +1 -0
- package/dist/bridge/domains/project-tool.d.ts +2 -0
- package/dist/bridge/domains/project-tool.js +46 -0
- package/dist/bridge/domains/project-tool.js.map +1 -0
- package/dist/bridge/domains/reflection.d.ts +2 -0
- package/dist/bridge/domains/reflection.js +48 -0
- package/dist/bridge/domains/reflection.js.map +1 -0
- package/dist/bridge/domains/runtime-tool.d.ts +2 -0
- package/dist/bridge/domains/runtime-tool.js +48 -0
- package/dist/bridge/domains/runtime-tool.js.map +1 -0
- package/dist/bridge/domains/scene.d.ts +2 -0
- package/dist/bridge/domains/scene.js +100 -0
- package/dist/bridge/domains/scene.js.map +1 -0
- package/dist/bridge/domains/screenshot.d.ts +2 -0
- package/dist/bridge/domains/screenshot.js +85 -0
- package/dist/bridge/domains/screenshot.js.map +1 -0
- package/dist/bridge/domains/scriptable-object.d.ts +2 -0
- package/dist/bridge/domains/scriptable-object.js +53 -0
- package/dist/bridge/domains/scriptable-object.js.map +1 -0
- package/dist/bridge/domains/shader.d.ts +2 -0
- package/dist/bridge/domains/shader.js +66 -0
- package/dist/bridge/domains/shader.js.map +1 -0
- package/dist/bridge/domains/texture.d.ts +2 -0
- package/dist/bridge/domains/texture.js +78 -0
- package/dist/bridge/domains/texture.js.map +1 -0
- package/dist/bridge/domains/timeline.d.ts +2 -0
- package/dist/bridge/domains/timeline.js +75 -0
- package/dist/bridge/domains/timeline.js.map +1 -0
- package/dist/bridge/domains/ui.d.ts +2 -0
- package/dist/bridge/domains/ui.js +193 -0
- package/dist/bridge/domains/ui.js.map +1 -0
- package/dist/bridge/index.d.ts +9 -0
- package/dist/bridge/index.js +124 -0
- package/dist/bridge/index.js.map +1 -0
- package/dist/bridge/registry.d.ts +19 -0
- package/dist/bridge/registry.js +114 -0
- package/dist/bridge/registry.js.map +1 -0
- package/dist/bridge/session-supervisor.d.ts +138 -0
- package/dist/bridge/session-supervisor.js +873 -0
- package/dist/bridge/session-supervisor.js.map +1 -0
- package/dist/bridge/types.d.ts +61 -0
- package/dist/bridge/types.js +17 -0
- package/dist/bridge/types.js.map +1 -0
- package/dist/capabilities.d.ts +5 -0
- package/dist/capabilities.js +84 -0
- package/dist/capabilities.js.map +1 -0
- package/dist/cli-commands/command.d.ts +7 -0
- package/dist/cli-commands/command.js +513 -0
- package/dist/cli-commands/command.js.map +1 -0
- package/dist/cli-commands/extension-auto-detect.d.ts +62 -0
- package/dist/cli-commands/extension-auto-detect.js +119 -0
- package/dist/cli-commands/extension-auto-detect.js.map +1 -0
- package/dist/cli-commands/extensions.d.ts +24 -0
- package/dist/cli-commands/extensions.js +428 -0
- package/dist/cli-commands/extensions.js.map +1 -0
- package/dist/cli-commands/package.d.ts +4 -0
- package/dist/cli-commands/package.js +151 -0
- package/dist/cli-commands/package.js.map +1 -0
- package/dist/cli-commands/skill-installer.d.ts +83 -0
- package/dist/cli-commands/skill-installer.js +703 -0
- package/dist/cli-commands/skill-installer.js.map +1 -0
- package/dist/cli-commands/types.d.ts +17 -0
- package/dist/cli-commands/types.js +2 -0
- package/dist/cli-commands/types.js.map +1 -0
- package/dist/cli.d.ts +17 -0
- package/dist/cli.js +302 -0
- package/dist/cli.js.map +1 -0
- package/dist/contracts/command-contract.d.ts +21 -0
- package/dist/contracts/command-contract.js +143 -0
- package/dist/contracts/command-contract.js.map +1 -0
- package/dist/contracts/csharp-command-extractor.d.ts +1 -0
- package/dist/contracts/csharp-command-extractor.js +89 -0
- package/dist/contracts/csharp-command-extractor.js.map +1 -0
- package/dist/contracts/validate-command-contract.d.ts +1 -0
- package/dist/contracts/validate-command-contract.js +86 -0
- package/dist/contracts/validate-command-contract.js.map +1 -0
- package/dist/doctor.d.ts +22 -0
- package/dist/doctor.js +498 -0
- package/dist/doctor.js.map +1 -0
- package/dist/editor-blocker-observer.d.ts +45 -0
- package/dist/editor-blocker-observer.js +55 -0
- package/dist/editor-blocker-observer.js.map +1 -0
- package/dist/editor-dialogs.d.ts +53 -0
- package/dist/editor-dialogs.js +79 -0
- package/dist/editor-dialogs.js.map +1 -0
- package/dist/extension-availability.d.ts +30 -0
- package/dist/extension-availability.js +83 -0
- package/dist/extension-availability.js.map +1 -0
- package/dist/extensions/.generated-bridge-domains/cinemachine.d.ts +2 -0
- package/dist/extensions/.generated-bridge-domains/cinemachine.js +104 -0
- package/dist/extensions/.generated-bridge-domains/cinemachine.js.map +1 -0
- package/dist/extensions/.generated-bridge-domains/hdrp.d.ts +2 -0
- package/dist/extensions/.generated-bridge-domains/hdrp.js +35 -0
- package/dist/extensions/.generated-bridge-domains/hdrp.js.map +1 -0
- package/dist/extensions/.generated-bridge-domains/probuilder.d.ts +13 -0
- package/dist/extensions/.generated-bridge-domains/probuilder.js +342 -0
- package/dist/extensions/.generated-bridge-domains/probuilder.js.map +1 -0
- package/dist/extensions/.generated-bridge-domains/urp.d.ts +2 -0
- package/dist/extensions/.generated-bridge-domains/urp.js +52 -0
- package/dist/extensions/.generated-bridge-domains/urp.js.map +1 -0
- package/dist/extensions/.generated-bridge-domains/vfx.d.ts +2 -0
- package/dist/extensions/.generated-bridge-domains/vfx.js +312 -0
- package/dist/extensions/.generated-bridge-domains/vfx.js.map +1 -0
- package/dist/extensions/.generated-registry-data.d.ts +7 -0
- package/dist/extensions/.generated-registry-data.js +895 -0
- package/dist/extensions/.generated-registry-data.js.map +1 -0
- package/dist/extensions/contribution-loader.d.ts +27 -0
- package/dist/extensions/contribution-loader.js +60 -0
- package/dist/extensions/contribution-loader.js.map +1 -0
- package/dist/extensions/descriptor-loader.d.ts +73 -0
- package/dist/extensions/descriptor-loader.js +126 -0
- package/dist/extensions/descriptor-loader.js.map +1 -0
- package/dist/extensions/index.d.ts +19 -0
- package/dist/extensions/index.js +23 -0
- package/dist/extensions/index.js.map +1 -0
- package/dist/extensions/installer.d.ts +80 -0
- package/dist/extensions/installer.js +594 -0
- package/dist/extensions/installer.js.map +1 -0
- package/dist/extensions/metadata/index.d.ts +15 -0
- package/dist/extensions/metadata/index.js +41 -0
- package/dist/extensions/metadata/index.js.map +1 -0
- package/dist/extensions/metadata/types.d.ts +38 -0
- package/dist/extensions/metadata/types.js +11 -0
- package/dist/extensions/metadata/types.js.map +1 -0
- package/dist/extensions/project-resolver.d.ts +35 -0
- package/dist/extensions/project-resolver.js +61 -0
- package/dist/extensions/project-resolver.js.map +1 -0
- package/dist/extensions/registry.d.ts +86 -0
- package/dist/extensions/registry.js +262 -0
- package/dist/extensions/registry.js.map +1 -0
- package/dist/extensions/tool-manifest.d.ts +29 -0
- package/dist/extensions/tool-manifest.js +53 -0
- package/dist/extensions/tool-manifest.js.map +1 -0
- package/dist/extensions/types.d.ts +115 -0
- package/dist/extensions/types.js +12 -0
- package/dist/extensions/types.js.map +1 -0
- package/dist/instances.d.ts +163 -0
- package/dist/instances.js +1137 -0
- package/dist/instances.js.map +1 -0
- package/dist/output.d.ts +119 -0
- package/dist/output.js +204 -0
- package/dist/output.js.map +1 -0
- package/dist/package-manager.d.ts +280 -0
- package/dist/package-manager.js +1832 -0
- package/dist/package-manager.js.map +1 -0
- package/dist/platform.d.ts +3 -0
- package/dist/platform.js +19 -0
- package/dist/platform.js.map +1 -0
- package/dist/project-identity.d.ts +48 -0
- package/dist/project-identity.js +254 -0
- package/dist/project-identity.js.map +1 -0
- package/dist/project-tool-discovery.d.ts +23 -0
- package/dist/project-tool-discovery.js +292 -0
- package/dist/project-tool-discovery.js.map +1 -0
- package/dist/protocol/envelope.d.ts +64 -0
- package/dist/protocol/envelope.js +8 -0
- package/dist/protocol/envelope.js.map +1 -0
- package/dist/protocol/index.d.ts +7 -0
- package/dist/protocol/index.js +2 -0
- package/dist/protocol/index.js.map +1 -0
- package/dist/runtime-code.d.ts +20 -0
- package/dist/runtime-code.js +232 -0
- package/dist/runtime-code.js.map +1 -0
- package/dist/schema/any-json.d.ts +4 -0
- package/dist/schema/any-json.js +2 -0
- package/dist/schema/any-json.js.map +1 -0
- package/dist/schema/validator.d.ts +7 -0
- package/dist/schema/validator.js +135 -0
- package/dist/schema/validator.js.map +1 -0
- package/dist/services/docs-reflect-cache.d.ts +106 -0
- package/dist/services/docs-reflect-cache.js +301 -0
- package/dist/services/docs-reflect-cache.js.map +1 -0
- package/dist/services/docs-service.d.ts +16 -0
- package/dist/services/docs-service.js +208 -0
- package/dist/services/docs-service.js.map +1 -0
- package/dist/services/reflect-service.d.ts +12 -0
- package/dist/services/reflect-service.js +122 -0
- package/dist/services/reflect-service.js.map +1 -0
- package/dist/static-capability-catalog.d.ts +13 -0
- package/dist/static-capability-catalog.js +41 -0
- package/dist/static-capability-catalog.js.map +1 -0
- package/dist/test-results.d.ts +13 -0
- package/dist/test-results.js +44 -0
- package/dist/test-results.js.map +1 -0
- package/dist/tools/.generated-completion-registry.d.ts +17 -0
- package/dist/tools/.generated-completion-registry.js +5862 -0
- package/dist/tools/.generated-completion-registry.js.map +1 -0
- package/dist/tools/.generated-registry.d.ts +53 -0
- package/dist/tools/.generated-registry.js +55 -0
- package/dist/tools/.generated-registry.js.map +1 -0
- package/dist/tools/.generated-schemas.d.ts +1 -0
- package/dist/tools/.generated-schemas.js +56 -0
- package/dist/tools/.generated-schemas.js.map +1 -0
- package/dist/tools/asset/refresh.d.ts +26 -0
- package/dist/tools/asset/refresh.js +97 -0
- package/dist/tools/asset/refresh.js.map +1 -0
- package/dist/tools/build/run.d.ts +45 -0
- package/dist/tools/build/run.js +115 -0
- package/dist/tools/build/run.js.map +1 -0
- package/dist/tools/catalog.d.ts +33 -0
- package/dist/tools/catalog.js +202 -0
- package/dist/tools/catalog.js.map +1 -0
- package/dist/tools/code/exec.d.ts +53 -0
- package/dist/tools/code/exec.js +59 -0
- package/dist/tools/code/exec.js.map +1 -0
- package/dist/tools/commands.d.ts +5 -0
- package/dist/tools/commands.js +45 -0
- package/dist/tools/commands.js.map +1 -0
- package/dist/tools/completion-probe.d.ts +22 -0
- package/dist/tools/completion-probe.js +2 -0
- package/dist/tools/completion-probe.js.map +1 -0
- package/dist/tools/define.d.ts +77 -0
- package/dist/tools/define.js +58 -0
- package/dist/tools/define.js.map +1 -0
- package/dist/tools/diagnose/capabilities.d.ts +13 -0
- package/dist/tools/diagnose/capabilities.js +34 -0
- package/dist/tools/diagnose/capabilities.js.map +1 -0
- package/dist/tools/dispatcher.d.ts +27 -0
- package/dist/tools/dispatcher.js +971 -0
- package/dist/tools/dispatcher.js.map +1 -0
- package/dist/tools/docs/get.d.ts +22 -0
- package/dist/tools/docs/get.js +22 -0
- package/dist/tools/docs/get.js.map +1 -0
- package/dist/tools/docs/search.d.ts +31 -0
- package/dist/tools/docs/search.js +22 -0
- package/dist/tools/docs/search.js.map +1 -0
- package/dist/tools/editor/compile.d.ts +66 -0
- package/dist/tools/editor/compile.js +225 -0
- package/dist/tools/editor/compile.js.map +1 -0
- package/dist/tools/editor/dialog/click.d.ts +12 -0
- package/dist/tools/editor/dialog/click.js +71 -0
- package/dist/tools/editor/dialog/click.js.map +1 -0
- package/dist/tools/editor/dialogs.d.ts +12 -0
- package/dist/tools/editor/dialogs.js +58 -0
- package/dist/tools/editor/dialogs.js.map +1 -0
- package/dist/tools/editor/readiness.d.ts +13 -0
- package/dist/tools/editor/readiness.js +24 -0
- package/dist/tools/editor/readiness.js.map +1 -0
- package/dist/tools/editor/refresh.d.ts +25 -0
- package/dist/tools/editor/refresh.js +154 -0
- package/dist/tools/editor/refresh.js.map +1 -0
- package/dist/tools/editor/state.d.ts +63 -0
- package/dist/tools/editor/state.js +286 -0
- package/dist/tools/editor/state.js.map +1 -0
- package/dist/tools/errors.d.ts +30 -0
- package/dist/tools/errors.js +46 -0
- package/dist/tools/errors.js.map +1 -0
- package/dist/tools/metadata/derived.d.ts +34 -0
- package/dist/tools/metadata/derived.js +136 -0
- package/dist/tools/metadata/derived.js.map +1 -0
- package/dist/tools/metadata/index.d.ts +34 -0
- package/dist/tools/metadata/index.js +130 -0
- package/dist/tools/metadata/index.js.map +1 -0
- package/dist/tools/metadata/schemas.d.ts +3 -0
- package/dist/tools/metadata/schemas.js +19 -0
- package/dist/tools/metadata/schemas.js.map +1 -0
- package/dist/tools/metadata/status.d.ts +4 -0
- package/dist/tools/metadata/status.js +61 -0
- package/dist/tools/metadata/status.js.map +1 -0
- package/dist/tools/metadata/types.d.ts +79 -0
- package/dist/tools/metadata/types.js +2 -0
- package/dist/tools/metadata/types.js.map +1 -0
- package/dist/tools/navmesh/bake-cancel.d.ts +7 -0
- package/dist/tools/navmesh/bake-cancel.js +21 -0
- package/dist/tools/navmesh/bake-cancel.js.map +1 -0
- package/dist/tools/navmesh/bake-status.d.ts +5 -0
- package/dist/tools/navmesh/bake-status.js +18 -0
- package/dist/tools/navmesh/bake-status.js.map +1 -0
- package/dist/tools/navmesh/bake.d.ts +5 -0
- package/dist/tools/navmesh/bake.js +23 -0
- package/dist/tools/navmesh/bake.js.map +1 -0
- package/dist/tools/navmesh/live.d.ts +86 -0
- package/dist/tools/navmesh/live.js +206 -0
- package/dist/tools/navmesh/live.js.map +1 -0
- package/dist/tools/navmesh/surface-bake.d.ts +5 -0
- package/dist/tools/navmesh/surface-bake.js +24 -0
- package/dist/tools/navmesh/surface-bake.js.map +1 -0
- package/dist/tools/occlusion/bake-cancel.d.ts +7 -0
- package/dist/tools/occlusion/bake-cancel.js +21 -0
- package/dist/tools/occlusion/bake-cancel.js.map +1 -0
- package/dist/tools/occlusion/bake-status.d.ts +5 -0
- package/dist/tools/occlusion/bake-status.js +18 -0
- package/dist/tools/occlusion/bake-status.js.map +1 -0
- package/dist/tools/occlusion/bake.d.ts +11 -0
- package/dist/tools/occlusion/bake.js +23 -0
- package/dist/tools/occlusion/bake.js.map +1 -0
- package/dist/tools/occlusion/live.d.ts +74 -0
- package/dist/tools/occlusion/live.js +201 -0
- package/dist/tools/occlusion/live.js.map +1 -0
- package/dist/tools/package/bridge-remove.d.ts +26 -0
- package/dist/tools/package/bridge-remove.js +32 -0
- package/dist/tools/package/bridge-remove.js.map +1 -0
- package/dist/tools/package/deploy.d.ts +49 -0
- package/dist/tools/package/deploy.js +134 -0
- package/dist/tools/package/deploy.js.map +1 -0
- package/dist/tools/package/embed.d.ts +14 -0
- package/dist/tools/package/embed.js +93 -0
- package/dist/tools/package/embed.js.map +1 -0
- package/dist/tools/package/file-mutation-worker.d.ts +6 -0
- package/dist/tools/package/file-mutation-worker.js +154 -0
- package/dist/tools/package/file-mutation-worker.js.map +1 -0
- package/dist/tools/package/info.d.ts +19 -0
- package/dist/tools/package/info.js +27 -0
- package/dist/tools/package/info.js.map +1 -0
- package/dist/tools/package/install.d.ts +24 -0
- package/dist/tools/package/install.js +65 -0
- package/dist/tools/package/install.js.map +1 -0
- package/dist/tools/package/list.d.ts +27 -0
- package/dist/tools/package/list.js +21 -0
- package/dist/tools/package/list.js.map +1 -0
- package/dist/tools/package/live-resolve.d.ts +46 -0
- package/dist/tools/package/live-resolve.js +497 -0
- package/dist/tools/package/live-resolve.js.map +1 -0
- package/dist/tools/package/public-result.d.ts +4 -0
- package/dist/tools/package/public-result.js +25 -0
- package/dist/tools/package/public-result.js.map +1 -0
- package/dist/tools/package/registry-clear.d.ts +15 -0
- package/dist/tools/package/registry-clear.js +27 -0
- package/dist/tools/package/registry-clear.js.map +1 -0
- package/dist/tools/package/registry-get.d.ts +10 -0
- package/dist/tools/package/registry-get.js +22 -0
- package/dist/tools/package/registry-get.js.map +1 -0
- package/dist/tools/package/registry-set.d.ts +17 -0
- package/dist/tools/package/registry-set.js +28 -0
- package/dist/tools/package/registry-set.js.map +1 -0
- package/dist/tools/package/remove.d.ts +47 -0
- package/dist/tools/package/remove.js +67 -0
- package/dist/tools/package/remove.js.map +1 -0
- package/dist/tools/package/resolve.d.ts +6 -0
- package/dist/tools/package/resolve.js +14 -0
- package/dist/tools/package/resolve.js.map +1 -0
- package/dist/tools/package/restore.d.ts +42 -0
- package/dist/tools/package/restore.js +122 -0
- package/dist/tools/package/restore.js.map +1 -0
- package/dist/tools/package/scoped-registry-add.d.ts +25 -0
- package/dist/tools/package/scoped-registry-add.js +30 -0
- package/dist/tools/package/scoped-registry-add.js.map +1 -0
- package/dist/tools/package/scoped-registry-list.d.ts +14 -0
- package/dist/tools/package/scoped-registry-list.js +22 -0
- package/dist/tools/package/scoped-registry-list.js.map +1 -0
- package/dist/tools/package/scoped-registry-remove.d.ts +29 -0
- package/dist/tools/package/scoped-registry-remove.js +31 -0
- package/dist/tools/package/scoped-registry-remove.js.map +1 -0
- package/dist/tools/package/search.d.ts +17 -0
- package/dist/tools/package/search.js +39 -0
- package/dist/tools/package/search.js.map +1 -0
- package/dist/tools/package/status.d.ts +21 -0
- package/dist/tools/package/status.js +37 -0
- package/dist/tools/package/status.js.map +1 -0
- package/dist/tools/reflect/member.d.ts +22 -0
- package/dist/tools/reflect/member.js +22 -0
- package/dist/tools/reflect/member.js.map +1 -0
- package/dist/tools/reflect/search.d.ts +30 -0
- package/dist/tools/reflect/search.js +22 -0
- package/dist/tools/reflect/search.js.map +1 -0
- package/dist/tools/reflect/type.d.ts +21 -0
- package/dist/tools/reflect/type.js +22 -0
- package/dist/tools/reflect/type.js.map +1 -0
- package/dist/tools/runtime/console.d.ts +24 -0
- package/dist/tools/runtime/console.js +17 -0
- package/dist/tools/runtime/console.js.map +1 -0
- package/dist/tools/runtime/input/key.d.ts +23 -0
- package/dist/tools/runtime/input/key.js +18 -0
- package/dist/tools/runtime/input/key.js.map +1 -0
- package/dist/tools/runtime/input/pointer.d.ts +34 -0
- package/dist/tools/runtime/input/pointer.js +18 -0
- package/dist/tools/runtime/input/pointer.js.map +1 -0
- package/dist/tools/runtime/log.d.ts +20 -0
- package/dist/tools/runtime/log.js +17 -0
- package/dist/tools/runtime/log.js.map +1 -0
- package/dist/tools/runtime/state.d.ts +45 -0
- package/dist/tools/runtime/state.js +17 -0
- package/dist/tools/runtime/state.js.map +1 -0
- package/dist/tools/runtime/target-framerate/set.d.ts +16 -0
- package/dist/tools/runtime/target-framerate/set.js +17 -0
- package/dist/tools/runtime/target-framerate/set.js.map +1 -0
- package/dist/tools/runtime/time-scale/set.d.ts +16 -0
- package/dist/tools/runtime/time-scale/set.js +17 -0
- package/dist/tools/runtime/time-scale/set.js.map +1 -0
- package/dist/tools/runtime/ui/capture-element.d.ts +31 -0
- package/dist/tools/runtime/ui/capture-element.js +17 -0
- package/dist/tools/runtime/ui/capture-element.js.map +1 -0
- package/dist/tools/test/cancel.d.ts +19 -0
- package/dist/tools/test/cancel.js +94 -0
- package/dist/tools/test/cancel.js.map +1 -0
- package/dist/tools/test/run.d.ts +39 -0
- package/dist/tools/test/run.js +101 -0
- package/dist/tools/test/run.js.map +1 -0
- package/dist/tools/tools/describe.d.ts +27 -0
- package/dist/tools/tools/describe.js +35 -0
- package/dist/tools/tools/describe.js.map +1 -0
- package/dist/tools/tools/group-list.d.ts +20 -0
- package/dist/tools/tools/group-list.js +39 -0
- package/dist/tools/tools/group-list.js.map +1 -0
- package/dist/tools/tools/group-summaries.d.ts +3 -0
- package/dist/tools/tools/group-summaries.js +52 -0
- package/dist/tools/tools/group-summaries.js.map +1 -0
- package/dist/tools/tools/group.d.ts +13 -0
- package/dist/tools/tools/group.js +34 -0
- package/dist/tools/tools/group.js.map +1 -0
- package/dist/tools/tools/search.d.ts +17 -0
- package/dist/tools/tools/search.js +42 -0
- package/dist/tools/tools/search.js.map +1 -0
- package/dist/types.d.ts +5 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/unity-project-processes.d.ts +12 -0
- package/dist/unity-project-processes.js +59 -0
- package/dist/unity-project-processes.js.map +1 -0
- package/dist/util.d.ts +11 -0
- package/dist/util.js +22 -0
- package/dist/util.js.map +1 -0
- package/dist/windows-editor-state.d.ts +31 -0
- package/dist/windows-editor-state.js +98 -0
- package/dist/windows-editor-state.js.map +1 -0
- package/docs/README.md +43 -0
- package/docs/availability-differences.md +97 -0
- package/docs/command-execution.md +89 -0
- package/docs/error-codes.md +204 -0
- package/docs/extensions.md +132 -0
- package/docs/risk-and-side-effects.md +93 -0
- package/docs/safety-boundaries.md +103 -0
- package/docs/target-and-instance.md +83 -0
- package/docs/tool-discovery.md +104 -0
- package/docs/tool-execution.md +178 -0
- package/extensions/cinemachine/bridge/domains/cinemachine.ts +115 -0
- package/extensions/cinemachine/docs/cinemachine.md +50 -0
- package/extensions/cinemachine/extension.json +129 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/CinemachineExtensionToolSupport.cs +15 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/CinemachineToolSupport.cs +854 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/aim.cs +96 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/blend.cs +140 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/body.cs +96 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/brain-ensure.cs +16 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/brain-status.cs +12 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/create.cs +147 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/extension-add.cs +13 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/extension-list.cs +13 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/extension-remove.cs +13 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/lens.cs +142 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/noise.cs +126 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/ping.cs +43 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/priority.cs +113 -0
- package/extensions/cinemachine/unitypkg/Editor/Cinemachine/target.cs +84 -0
- package/extensions/cinemachine/unitypkg/UnityCli.Extensions.Cinemachine.Editor.asmdef +18 -0
- package/extensions/hdrp/bridge/domains/hdrp.ts +41 -0
- package/extensions/hdrp/docs/hdrp.md +15 -0
- package/extensions/hdrp/extension.json +31 -0
- package/extensions/hdrp/unitypkg/Editor/Hdrp/HdrpToolSupport.cs +607 -0
- package/extensions/hdrp/unitypkg/Editor/Hdrp/settings-get.cs +29 -0
- package/extensions/hdrp/unitypkg/Editor/Hdrp/settings-set.cs +47 -0
- package/extensions/hdrp/unitypkg/Editor/Hdrp/volume-add-effect.cs +28 -0
- package/extensions/hdrp/unitypkg/Editor/Hdrp/volume-create.cs +28 -0
- package/extensions/hdrp/unitypkg/Editor/Hdrp/volume-info.cs +25 -0
- package/extensions/hdrp/unitypkg/Editor/Hdrp/volume-list.cs +25 -0
- package/extensions/hdrp/unitypkg/Editor/Hdrp/volume-set.cs +28 -0
- package/extensions/hdrp/unitypkg/UnityCli.Extensions.Hdrp.Editor.asmdef +19 -0
- package/extensions/probuilder/bridge/domains/probuilder.ts +386 -0
- package/extensions/probuilder/docs/probuilder.md +125 -0
- package/extensions/probuilder/extension.json +291 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderAppendCompletionProof.cs +254 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderAtomicReadback.cs +293 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderBevelCompletionProof.cs +299 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderCanonicalMeshSnapshot.cs +951 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderConnectCompletionProof.cs +407 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderEdgeCompletionProof.cs +318 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderErrors.cs +83 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderFaceCompletionProof.cs +152 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderFaceExtrudeCompletionProof.cs +283 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderFlipCompletionProof.cs +170 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderInput.cs +85 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderInsertCompletionProof.cs +674 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderOperationProof.cs +137 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderReflection.cs +1064 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderRefreshUvProof.cs +53 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderSceneTool.cs +184 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderShapeTopologyRecords.g.cs +82 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ProBuilderVertexObjectCompletionProof.cs +346 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/append-vertices-to-edge.cs +118 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/auto-smooth.cs +104 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/bevel-edges.cs +119 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/bridge-edges.cs +113 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/center-pivot.cs +43 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/combine-meshes.cs +58 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/connect-elements.cs +128 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/convert-to-probuilder.cs +40 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/create-poly-shape.cs +55 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/create-polygon.cs +28 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/create-shape.cs +168 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/delete-faces.cs +42 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/detach-faces.cs +46 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/duplicate-and-flip.cs +100 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/extrude-edges.cs +118 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/extrude-faces.cs +110 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/flip-normals.cs +102 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/freeze-transform.cs +45 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/insert-vertex.cs +132 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/merge-faces.cs +44 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/merge-objects.cs +130 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/merge-vertices.cs +109 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/mesh-info.cs +117 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/move-vertices.cs +33 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/ping.cs +51 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/repair-mesh.cs +40 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/select-faces.cs +161 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/set-face-color.cs +24 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/set-face-material.cs +23 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/set-face-uvs.cs +28 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/set-pivot.cs +42 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/set-smoothing.cs +23 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/split-vertices.cs +64 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/subdivide.cs +111 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/validate-mesh.cs +75 -0
- package/extensions/probuilder/unitypkg/Editor/ProBuilder/weld-vertices.cs +112 -0
- package/extensions/probuilder/unitypkg/UnityCli.Extensions.ProBuilder.Editor.asmdef +25 -0
- package/extensions/urp/bridge/domains/urp.ts +62 -0
- package/extensions/urp/docs/urp.md +20 -0
- package/extensions/urp/extension.json +41 -0
- package/extensions/urp/unitypkg/Editor/Urp/UrpFeatureToolSupport.cs +336 -0
- package/extensions/urp/unitypkg/Editor/Urp/UrpToolSupport.cs +801 -0
- package/extensions/urp/unitypkg/Editor/Urp/feature-add.cs +12 -0
- package/extensions/urp/unitypkg/Editor/Urp/feature-configure.cs +12 -0
- package/extensions/urp/unitypkg/Editor/Urp/feature-list.cs +12 -0
- package/extensions/urp/unitypkg/Editor/Urp/feature-remove.cs +12 -0
- package/extensions/urp/unitypkg/Editor/Urp/feature-toggle.cs +12 -0
- package/extensions/urp/unitypkg/Editor/Urp/settings-get.cs +27 -0
- package/extensions/urp/unitypkg/Editor/Urp/settings-set.cs +47 -0
- package/extensions/urp/unitypkg/Editor/Urp/volume-add-effect.cs +33 -0
- package/extensions/urp/unitypkg/Editor/Urp/volume-create.cs +33 -0
- package/extensions/urp/unitypkg/Editor/Urp/volume-info.cs +31 -0
- package/extensions/urp/unitypkg/Editor/Urp/volume-list.cs +39 -0
- package/extensions/urp/unitypkg/Editor/Urp/volume-set.cs +33 -0
- package/extensions/urp/unitypkg/UnityCli.Extensions.Urp.Editor.asmdef +19 -0
- package/extensions/vfx-graph/bridge/domains/vfx.ts +337 -0
- package/extensions/vfx-graph/docs/vfx.md +28 -0
- package/extensions/vfx-graph/extension.json +72 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/VfxActionToolSupport.cs +248 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/VfxToolSupport.cs +1325 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/control-pause.cs +37 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/control-play.cs +40 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/control-reinitialize.cs +37 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/control-set-rate.cs +36 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/control-set-seed.cs +42 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/control-stop.cs +37 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/effect-add.cs +55 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/effect-assign.cs +44 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/effect-info.cs +30 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/graph-create.cs +62 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/graph-info.cs +32 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/line-create.cs +75 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/line-positions.cs +100 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/parameter.cs +216 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/particle-clear.cs +39 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/particle-create.cs +80 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/particle-emission.cs +126 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/particle-info.cs +55 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/particle-main.cs +75 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/particle-pause.cs +38 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/particle-play.cs +38 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/particle-shape.cs +148 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/particle-stop.cs +41 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/template-create.cs +58 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/template-list.cs +31 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/trail-create.cs +41 -0
- package/extensions/vfx-graph/unitypkg/Editor/Vfx/trail-set.cs +44 -0
- package/extensions/vfx-graph/unitypkg/UnityCli.Extensions.VfxGraph.Editor.asmdef +18 -0
- package/package.json +46 -0
- package/schemas/error-code.schema.json +70 -0
- package/schemas/extension-descriptor.schema.json +88 -0
- package/schemas/extension-manifest.schema.json +125 -0
- package/schemas/request-envelope.schema.json +34 -0
- package/schemas/response-envelope.schema.json +42 -0
- package/schemas/tool-metadata.schema.json +111 -0
- package/skills/unitycli/SKILL.md +61 -0
- package/skills/unitycli/agents/interface.yaml +30 -0
- package/skills/unitycli/evals/history/2026-08-05-governed-baseline.json +44 -0
- package/skills/unitycli/evals/output/cases.jsonl +5 -0
- package/skills/unitycli/evals/output/fixtures/feedback-scenario.json +27 -0
- package/skills/unitycli/evals/output/schema.json +32 -0
- package/skills/unitycli/evals/semantic_config.json +46 -0
- package/skills/unitycli/evals/trigger_cases.json +39 -0
- package/skills/unitycli/examples/feedback-event.input.json +8 -0
- package/skills/unitycli/examples/feedback-record.output.json +12 -0
- package/skills/unitycli/manifest.json +112 -0
- package/skills/unitycli/references/custom-tools.md +111 -0
- package/skills/unitycli/references/feedback.md +59 -0
- package/skills/unitycli/references/operation-protocol.md +83 -0
- package/skills/unitycli/reports/output_quality_scorecard.md +56 -0
- package/skills/unitycli/reports/trust-report.md +57 -0
- package/skills/unitycli/scripts/record-feedback.ps1 +210 -0
- package/skills/unitycli/security/network_policy.json +18 -0
- package/skills/unitycli/security/permission_policy.json +40 -0
- package/unitypkg/Editor/Bridge/BridgeCommandContext.cs +64 -0
- package/unitypkg/Editor/Bridge/BridgeCommandException.cs +39 -0
- package/unitypkg/Editor/Bridge/BridgeCommandRegistry.cs +172 -0
- package/unitypkg/Editor/Bridge/BridgeHttpServer.cs +534 -0
- package/unitypkg/Editor/Bridge/BridgeResponse.cs +58 -0
- package/unitypkg/Editor/Bridge/BridgeWorkQueue.cs +325 -0
- package/unitypkg/Editor/BridgeStartupStateMachine.cs +81 -0
- package/unitypkg/Editor/Commands/ProjectToolCommands.cs +43 -0
- package/unitypkg/Editor/Commands/RuntimeToolCommands.cs +43 -0
- package/unitypkg/Editor/Generated/UnityCliToolCompletionRegistry.g.cs +428 -0
- package/unitypkg/Editor/Infrastructure/CodeExecSupport.cs +664 -0
- package/unitypkg/Editor/Infrastructure/RegistryOwnershipResolver.cs +148 -0
- package/unitypkg/Editor/Infrastructure/UnityCliActiveOperation.cs +411 -0
- package/unitypkg/Editor/Infrastructure/UnityCliAdmission.cs +485 -0
- package/unitypkg/Editor/Infrastructure/UnityCliArtifacts.cs +110 -0
- package/unitypkg/Editor/Infrastructure/UnityCliAssetRefreshCoordinator.cs +106 -0
- package/unitypkg/Editor/Infrastructure/UnityCliBridgeHelpers.cs +155 -0
- package/unitypkg/Editor/Infrastructure/UnityCliCanonicalProjectPath.cs +325 -0
- package/unitypkg/Editor/Infrastructure/UnityCliCompilationEventBroker.cs +192 -0
- package/unitypkg/Editor/Infrastructure/UnityCliCompileCoordinator.cs +271 -0
- package/unitypkg/Editor/Infrastructure/UnityCliCompletionProbe.cs +515 -0
- package/unitypkg/Editor/Infrastructure/UnityCliEditorStateSnapshot.cs +84 -0
- package/unitypkg/Editor/Infrastructure/UnityCliInstanceRegistry.cs +558 -0
- package/unitypkg/Editor/Infrastructure/UnityCliJson.cs +155 -0
- package/unitypkg/Editor/Infrastructure/UnityCliLargeOutput.cs +128 -0
- package/unitypkg/Editor/Infrastructure/UnityCliLiveBuildCoordinator.cs +230 -0
- package/unitypkg/Editor/Infrastructure/UnityCliLiveRefreshCoordinator.cs +164 -0
- package/unitypkg/Editor/Infrastructure/UnityCliLog.cs +127 -0
- package/unitypkg/Editor/Infrastructure/UnityCliNavMeshBakeCoordinator.cs +2073 -0
- package/unitypkg/Editor/Infrastructure/UnityCliObjectPatch.cs +193 -0
- package/unitypkg/Editor/Infrastructure/UnityCliObjectRef.cs +278 -0
- package/unitypkg/Editor/Infrastructure/UnityCliObjectSerializer.cs +620 -0
- package/unitypkg/Editor/Infrastructure/UnityCliOcclusionBakeCoordinator.cs +1739 -0
- package/unitypkg/Editor/Infrastructure/UnityCliOperationCoordinator.cs +828 -0
- package/unitypkg/Editor/Infrastructure/UnityCliPackageEmbedCoordinator.cs +147 -0
- package/unitypkg/Editor/Infrastructure/UnityCliPackageResolveCoordinator.cs +454 -0
- package/unitypkg/Editor/Infrastructure/UnityCliPackageResolveState.cs +561 -0
- package/unitypkg/Editor/Infrastructure/UnityCliPipelineHandoff.cs +742 -0
- package/unitypkg/Editor/Infrastructure/UnityCliProjectSettings.cs +92 -0
- package/unitypkg/Editor/Infrastructure/UnityCliProtocolRequest.cs +116 -0
- package/unitypkg/Editor/Infrastructure/UnityCliReflection.cs +477 -0
- package/unitypkg/Editor/Infrastructure/UnityCliReloadOperation.cs +664 -0
- package/unitypkg/Editor/Infrastructure/UnityCliRequestDigest.cs +34 -0
- package/unitypkg/Editor/Infrastructure/UnityCliRuntimeBuildInjection.cs +121 -0
- package/unitypkg/Editor/Infrastructure/UnityCliRuntimeExecutor.cs +391 -0
- package/unitypkg/Editor/Infrastructure/UnityCliSceneMutation.cs +84 -0
- package/unitypkg/Editor/Infrastructure/UnityCliScriptableObjectHelpers.cs +235 -0
- package/unitypkg/Editor/Infrastructure/UnityCliSerializer.cs +580 -0
- package/unitypkg/Editor/Infrastructure/UnityCliSessionMutationLease.cs +568 -0
- package/unitypkg/Editor/Infrastructure/UnityCliStateIO.cs +73 -0
- package/unitypkg/Editor/Infrastructure/UnityCliTestRunCoordinator.cs +598 -0
- package/unitypkg/Editor/Infrastructure/UnityCliTransactionLog.cs +112 -0
- package/unitypkg/Editor/Infrastructure/UnityCliValueConverter.cs +146 -0
- package/unitypkg/Editor/Infrastructure/UnityCliWaiter.cs +716 -0
- package/unitypkg/Editor/ProjectTools/IUnityCliTool.cs +152 -0
- package/unitypkg/Editor/ProjectTools/OfficialAttributeToolRegistry.cs +992 -0
- package/unitypkg/Editor/ProjectTools/ProjectToolRegistry.cs +938 -0
- package/unitypkg/Editor/ProjectTools/ProjectToolSchemaValidator.cs +258 -0
- package/unitypkg/Editor/ProjectTools/RegisteredTool.cs +75 -0
- package/unitypkg/Editor/ProjectTools/UnityCliProjectToolContext.cs +68 -0
- package/unitypkg/Editor/ProjectTools/UnityCliSchemaDeriver.cs +297 -0
- package/unitypkg/Editor/Protocol/ProtocolEnvelopeFactory.cs +92 -0
- package/unitypkg/Editor/Protocol/envelope.cs +50 -0
- package/unitypkg/Editor/Roslyn/LICENSE.txt +23 -0
- package/unitypkg/Editor/Roslyn/Microsoft.CodeAnalysis.CSharp.dll +0 -0
- package/unitypkg/Editor/Roslyn/Microsoft.CodeAnalysis.dll +0 -0
- package/unitypkg/Editor/Roslyn/System.Collections.Immutable.dll +0 -0
- package/unitypkg/Editor/Roslyn/System.Reflection.Metadata.dll +0 -0
- package/unitypkg/Editor/Tools/animation/AnimationToolSupport.cs +335 -0
- package/unitypkg/Editor/Tools/animation/AnimatorRuntimeToolSupport.cs +24 -0
- package/unitypkg/Editor/Tools/animation/animator/crossfade.cs +117 -0
- package/unitypkg/Editor/Tools/animation/animator/get-info.cs +24 -0
- package/unitypkg/Editor/Tools/animation/animator/get-parameter.cs +36 -0
- package/unitypkg/Editor/Tools/animation/animator/set-enabled.cs +33 -0
- package/unitypkg/Editor/Tools/animation/animator/set-parameter.cs +71 -0
- package/unitypkg/Editor/Tools/animation/animator/set-speed.cs +33 -0
- package/unitypkg/Editor/Tools/animation/clip/create.cs +48 -0
- package/unitypkg/Editor/Tools/animation/clip/modify.cs +43 -0
- package/unitypkg/Editor/Tools/animation/clip.cs +23 -0
- package/unitypkg/Editor/Tools/animation/play.cs +41 -0
- package/unitypkg/Editor/Tools/animation/state.cs +25 -0
- package/unitypkg/Editor/Tools/animation/stop.cs +45 -0
- package/unitypkg/Editor/Tools/asset/AssetImportSettingsToolSupport.cs +633 -0
- package/unitypkg/Editor/Tools/asset/AssetToolSupport.cs +253 -0
- package/unitypkg/Editor/Tools/asset/create.cs +84 -0
- package/unitypkg/Editor/Tools/asset/delete.cs +88 -0
- package/unitypkg/Editor/Tools/asset/duplicate.cs +68 -0
- package/unitypkg/Editor/Tools/asset/get-components.cs +177 -0
- package/unitypkg/Editor/Tools/asset/get-data.cs +73 -0
- package/unitypkg/Editor/Tools/asset/import-settings/set.cs +127 -0
- package/unitypkg/Editor/Tools/asset/import-settings.cs +54 -0
- package/unitypkg/Editor/Tools/asset/import.cs +132 -0
- package/unitypkg/Editor/Tools/asset/info.cs +48 -0
- package/unitypkg/Editor/Tools/asset/modify.cs +69 -0
- package/unitypkg/Editor/Tools/asset/move.cs +70 -0
- package/unitypkg/Editor/Tools/asset/preview.cs +86 -0
- package/unitypkg/Editor/Tools/asset/rename.cs +84 -0
- package/unitypkg/Editor/Tools/asset/search-built-in.cs +90 -0
- package/unitypkg/Editor/Tools/asset/search.cs +83 -0
- package/unitypkg/Editor/Tools/build/BuildSceneStateTool.cs +37 -0
- package/unitypkg/Editor/Tools/build/BuildSettingsToolSupport.cs +4 -0
- package/unitypkg/Editor/Tools/build/BuildToolDtos.cs +15 -0
- package/unitypkg/Editor/Tools/build/BuildToolSupport.cs +111 -0
- package/unitypkg/Editor/Tools/build/platform/get.cs +12 -0
- package/unitypkg/Editor/Tools/build/platform/set.cs +45 -0
- package/unitypkg/Editor/Tools/build/profile/create.cs +44 -0
- package/unitypkg/Editor/Tools/build/profile/list.cs +12 -0
- package/unitypkg/Editor/Tools/build/profile/modify.cs +42 -0
- package/unitypkg/Editor/Tools/build/profile/switch.cs +30 -0
- package/unitypkg/Editor/Tools/build/scene/add.cs +45 -0
- package/unitypkg/Editor/Tools/build/scene/disable.cs +3 -0
- package/unitypkg/Editor/Tools/build/scene/enable.cs +4 -0
- package/unitypkg/Editor/Tools/build/scene/list.cs +4 -0
- package/unitypkg/Editor/Tools/build/scene/remove.cs +29 -0
- package/unitypkg/Editor/Tools/build/settings/get.cs +3 -0
- package/unitypkg/Editor/Tools/build/settings/set.cs +74 -0
- package/unitypkg/Editor/Tools/camera/CameraToolSupport.cs +292 -0
- package/unitypkg/Editor/Tools/camera/create.cs +114 -0
- package/unitypkg/Editor/Tools/camera/info.cs +49 -0
- package/unitypkg/Editor/Tools/camera/lens.cs +119 -0
- package/unitypkg/Editor/Tools/camera/list.cs +52 -0
- package/unitypkg/Editor/Tools/camera/multiview.cs +96 -0
- package/unitypkg/Editor/Tools/camera/screenshot.cs +65 -0
- package/unitypkg/Editor/Tools/camera/target.cs +94 -0
- package/unitypkg/Editor/Tools/component/add.cs +125 -0
- package/unitypkg/Editor/Tools/component/get.cs +73 -0
- package/unitypkg/Editor/Tools/component/list-types.cs +90 -0
- package/unitypkg/Editor/Tools/component/modify.cs +103 -0
- package/unitypkg/Editor/Tools/component/remove.cs +147 -0
- package/unitypkg/Editor/Tools/component/set.cs +93 -0
- package/unitypkg/Editor/Tools/console/clear.cs +38 -0
- package/unitypkg/Editor/Tools/console/get.cs +28 -0
- package/unitypkg/Editor/Tools/controller/add-blend-tree-child.cs +88 -0
- package/unitypkg/Editor/Tools/controller/add-layer.cs +43 -0
- package/unitypkg/Editor/Tools/controller/add-parameter.cs +51 -0
- package/unitypkg/Editor/Tools/controller/add-state.cs +44 -0
- package/unitypkg/Editor/Tools/controller/add-transition.cs +71 -0
- package/unitypkg/Editor/Tools/controller/assign.cs +38 -0
- package/unitypkg/Editor/Tools/controller/create-blend-tree-1d.cs +40 -0
- package/unitypkg/Editor/Tools/controller/create-blend-tree-2d.cs +42 -0
- package/unitypkg/Editor/Tools/controller/create.cs +31 -0
- package/unitypkg/Editor/Tools/controller/get-info.cs +27 -0
- package/unitypkg/Editor/Tools/controller/remove-layer.cs +57 -0
- package/unitypkg/Editor/Tools/controller/set-layer-weight.cs +42 -0
- package/unitypkg/Editor/Tools/diagnose/preflight.cs +269 -0
- package/unitypkg/Editor/Tools/editor/EditorActionToolSupport.cs +117 -0
- package/unitypkg/Editor/Tools/editor/EditorSearchToolSupport.cs +146 -0
- package/unitypkg/Editor/Tools/editor/EditorToolSupport.cs +132 -0
- package/unitypkg/Editor/Tools/editor/EditorWindowFocusToolSupport.cs +194 -0
- package/unitypkg/Editor/Tools/editor/active-tool/set.cs +33 -0
- package/unitypkg/Editor/Tools/editor/active-tool.cs +100 -0
- package/unitypkg/Editor/Tools/editor/autotick/set.cs +102 -0
- package/unitypkg/Editor/Tools/editor/console.cs +26 -0
- package/unitypkg/Editor/Tools/editor/focus.cs +80 -0
- package/unitypkg/Editor/Tools/editor/menu-items.cs +50 -0
- package/unitypkg/Editor/Tools/editor/menu.cs +53 -0
- package/unitypkg/Editor/Tools/editor/pause.cs +38 -0
- package/unitypkg/Editor/Tools/editor/play.cs +43 -0
- package/unitypkg/Editor/Tools/editor/redo.cs +56 -0
- package/unitypkg/Editor/Tools/editor/resolution.cs +34 -0
- package/unitypkg/Editor/Tools/editor/search.cs +55 -0
- package/unitypkg/Editor/Tools/editor/selection/set.cs +37 -0
- package/unitypkg/Editor/Tools/editor/selection.cs +153 -0
- package/unitypkg/Editor/Tools/editor/stop.cs +43 -0
- package/unitypkg/Editor/Tools/editor/tool-states.cs +140 -0
- package/unitypkg/Editor/Tools/editor/undo.cs +56 -0
- package/unitypkg/Editor/Tools/editor/windows.cs +87 -0
- package/unitypkg/Editor/Tools/extension/status.cs +87 -0
- package/unitypkg/Editor/Tools/go/GameObjectToolSupport.cs +524 -0
- package/unitypkg/Editor/Tools/go/create.cs +333 -0
- package/unitypkg/Editor/Tools/go/delete.cs +87 -0
- package/unitypkg/Editor/Tools/go/duplicate.cs +76 -0
- package/unitypkg/Editor/Tools/go/find.cs +152 -0
- package/unitypkg/Editor/Tools/go/inspect.cs +49 -0
- package/unitypkg/Editor/Tools/go/look-at.cs +76 -0
- package/unitypkg/Editor/Tools/go/modify.cs +156 -0
- package/unitypkg/Editor/Tools/go/move-relative.cs +74 -0
- package/unitypkg/Editor/Tools/go/set-parent.cs +84 -0
- package/unitypkg/Editor/Tools/graphics/GraphicsToolSupport.cs +396 -0
- package/unitypkg/Editor/Tools/graphics/bake-cancel.cs +27 -0
- package/unitypkg/Editor/Tools/graphics/bake-clear.cs +31 -0
- package/unitypkg/Editor/Tools/graphics/bake-reflection-probe.cs +35 -0
- package/unitypkg/Editor/Tools/graphics/bake-settings.cs +131 -0
- package/unitypkg/Editor/Tools/graphics/bake-start.cs +27 -0
- package/unitypkg/Editor/Tools/graphics/bake-status.cs +31 -0
- package/unitypkg/Editor/Tools/graphics/light-probe-group.cs +56 -0
- package/unitypkg/Editor/Tools/graphics/pipeline-info.cs +19 -0
- package/unitypkg/Editor/Tools/graphics/pipeline-quality.cs +24 -0
- package/unitypkg/Editor/Tools/graphics/pipeline-settings.cs +46 -0
- package/unitypkg/Editor/Tools/graphics/probe-positions.cs +58 -0
- package/unitypkg/Editor/Tools/graphics/quality.cs +85 -0
- package/unitypkg/Editor/Tools/graphics/reflection-probe.cs +73 -0
- package/unitypkg/Editor/Tools/graphics/scene-debug.cs +37 -0
- package/unitypkg/Editor/Tools/graphics/settings.cs +104 -0
- package/unitypkg/Editor/Tools/graphics/skybox-get.cs +33 -0
- package/unitypkg/Editor/Tools/graphics/skybox-set-ambient.cs +24 -0
- package/unitypkg/Editor/Tools/graphics/skybox-set-fog.cs +24 -0
- package/unitypkg/Editor/Tools/graphics/skybox-set-material.cs +33 -0
- package/unitypkg/Editor/Tools/graphics/skybox-set-properties.cs +51 -0
- package/unitypkg/Editor/Tools/graphics/skybox-set-reflection.cs +31 -0
- package/unitypkg/Editor/Tools/graphics/skybox-set-sun.cs +35 -0
- package/unitypkg/Editor/Tools/graphics/stats-counters.cs +28 -0
- package/unitypkg/Editor/Tools/graphics/stats-memory.cs +21 -0
- package/unitypkg/Editor/Tools/graphics/stats.cs +17 -0
- package/unitypkg/Editor/Tools/graphics/volume.cs +59 -0
- package/unitypkg/Editor/Tools/instances/list.cs +71 -0
- package/unitypkg/Editor/Tools/material/MaterialToolSupport.cs +401 -0
- package/unitypkg/Editor/Tools/material/assign.cs +124 -0
- package/unitypkg/Editor/Tools/material/create.cs +82 -0
- package/unitypkg/Editor/Tools/material/info.cs +55 -0
- package/unitypkg/Editor/Tools/material/set-renderer-color.cs +108 -0
- package/unitypkg/Editor/Tools/material/set.cs +114 -0
- package/unitypkg/Editor/Tools/navmesh/NavMeshToolSupport.cs +404 -0
- package/unitypkg/Editor/Tools/navmesh/bake-clear.cs +70 -0
- package/unitypkg/Editor/Tools/navmesh/settings/set.cs +73 -0
- package/unitypkg/Editor/Tools/navmesh/settings.cs +37 -0
- package/unitypkg/Editor/Tools/object/ObjectToolSupport.cs +99 -0
- package/unitypkg/Editor/Tools/object/get-data.cs +69 -0
- package/unitypkg/Editor/Tools/object/modify.cs +126 -0
- package/unitypkg/Editor/Tools/occlusion/OcclusionToolSupport.cs +422 -0
- package/unitypkg/Editor/Tools/occlusion/bake-clear.cs +67 -0
- package/unitypkg/Editor/Tools/physics/PhysicsJointToolSupport.cs +13 -0
- package/unitypkg/Editor/Tools/physics/PhysicsToolSupport.cs +389 -0
- package/unitypkg/Editor/Tools/physics/assign-material.cs +88 -0
- package/unitypkg/Editor/Tools/physics/collision-matrix.cs +90 -0
- package/unitypkg/Editor/Tools/physics/force.cs +127 -0
- package/unitypkg/Editor/Tools/physics/joint/add.cs +99 -0
- package/unitypkg/Editor/Tools/physics/joint/remove.cs +4 -0
- package/unitypkg/Editor/Tools/physics/linecast.cs +59 -0
- package/unitypkg/Editor/Tools/physics/material.cs +73 -0
- package/unitypkg/Editor/Tools/physics/overlap.cs +84 -0
- package/unitypkg/Editor/Tools/physics/raycast-all.cs +67 -0
- package/unitypkg/Editor/Tools/physics/raycast.cs +96 -0
- package/unitypkg/Editor/Tools/physics/rigidbody.cs +116 -0
- package/unitypkg/Editor/Tools/physics/settings.cs +116 -0
- package/unitypkg/Editor/Tools/physics/shapecast.cs +127 -0
- package/unitypkg/Editor/Tools/physics/simulation.cs +89 -0
- package/unitypkg/Editor/Tools/physics/validate.cs +67 -0
- package/unitypkg/Editor/Tools/prefab/PrefabOverrideToolSupport.cs +355 -0
- package/unitypkg/Editor/Tools/prefab/PrefabToolSupport.cs +446 -0
- package/unitypkg/Editor/Tools/prefab/create.cs +125 -0
- package/unitypkg/Editor/Tools/prefab/hierarchy.cs +157 -0
- package/unitypkg/Editor/Tools/prefab/info.cs +44 -0
- package/unitypkg/Editor/Tools/prefab/instantiate.cs +106 -0
- package/unitypkg/Editor/Tools/prefab/modify.cs +112 -0
- package/unitypkg/Editor/Tools/prefab/overrides/apply.cs +51 -0
- package/unitypkg/Editor/Tools/prefab/overrides/revert.cs +51 -0
- package/unitypkg/Editor/Tools/prefab/stage-close.cs +67 -0
- package/unitypkg/Editor/Tools/prefab/stage-open.cs +69 -0
- package/unitypkg/Editor/Tools/prefab/stage-save.cs +64 -0
- package/unitypkg/Editor/Tools/prefab/stage.cs +68 -0
- package/unitypkg/Editor/Tools/prefab/unpack.cs +80 -0
- package/unitypkg/Editor/Tools/prefab/variant/create.cs +53 -0
- package/unitypkg/Editor/Tools/profiler/ProfilerFrameDebuggerSupport.cs +68 -0
- package/unitypkg/Editor/Tools/profiler/ProfilerMemorySnapshotSupport.cs +30 -0
- package/unitypkg/Editor/Tools/profiler/ProfilerToolSupport.cs +515 -0
- package/unitypkg/Editor/Tools/profiler/areas.cs +36 -0
- package/unitypkg/Editor/Tools/profiler/capture.cs +188 -0
- package/unitypkg/Editor/Tools/profiler/clear.cs +57 -0
- package/unitypkg/Editor/Tools/profiler/counter.cs +34 -0
- package/unitypkg/Editor/Tools/profiler/deep.cs +48 -0
- package/unitypkg/Editor/Tools/profiler/export.cs +85 -0
- package/unitypkg/Editor/Tools/profiler/frame-debugger/disable.cs +53 -0
- package/unitypkg/Editor/Tools/profiler/frame-debugger/enable.cs +66 -0
- package/unitypkg/Editor/Tools/profiler/frame-debugger/events.cs +140 -0
- package/unitypkg/Editor/Tools/profiler/frame.cs +38 -0
- package/unitypkg/Editor/Tools/profiler/hierarchy.cs +183 -0
- package/unitypkg/Editor/Tools/profiler/load.cs +85 -0
- package/unitypkg/Editor/Tools/profiler/memory-snapshot/compare.cs +78 -0
- package/unitypkg/Editor/Tools/profiler/memory-snapshot/list.cs +73 -0
- package/unitypkg/Editor/Tools/profiler/memory-snapshot/take.cs +147 -0
- package/unitypkg/Editor/Tools/profiler/memory.cs +34 -0
- package/unitypkg/Editor/Tools/profiler/module-enable.cs +52 -0
- package/unitypkg/Editor/Tools/profiler/modules.cs +33 -0
- package/unitypkg/Editor/Tools/profiler/object-memory.cs +49 -0
- package/unitypkg/Editor/Tools/profiler/pause.cs +49 -0
- package/unitypkg/Editor/Tools/profiler/rendering-stats.cs +109 -0
- package/unitypkg/Editor/Tools/profiler/script-stats.cs +35 -0
- package/unitypkg/Editor/Tools/profiler/start.cs +55 -0
- package/unitypkg/Editor/Tools/profiler/status.cs +36 -0
- package/unitypkg/Editor/Tools/profiler/stop.cs +53 -0
- package/unitypkg/Editor/Tools/project/ProjectSettingsReader.cs +31 -0
- package/unitypkg/Editor/Tools/project/ProjectSettingsToolSupport.cs +757 -0
- package/unitypkg/Editor/Tools/project/ProjectTagLayerToolSupport.cs +23 -0
- package/unitypkg/Editor/Tools/project/audio-settings/set.cs +35 -0
- package/unitypkg/Editor/Tools/project/audio-settings.cs +31 -0
- package/unitypkg/Editor/Tools/project/info.cs +52 -0
- package/unitypkg/Editor/Tools/project/input-settings/set.cs +35 -0
- package/unitypkg/Editor/Tools/project/input-settings.cs +35 -0
- package/unitypkg/Editor/Tools/project/layer/add.cs +3 -0
- package/unitypkg/Editor/Tools/project/layer/remove.cs +3 -0
- package/unitypkg/Editor/Tools/project/layers.cs +61 -0
- package/unitypkg/Editor/Tools/project/player-settings/set.cs +35 -0
- package/unitypkg/Editor/Tools/project/player-settings.cs +31 -0
- package/unitypkg/Editor/Tools/project/tag/add.cs +3 -0
- package/unitypkg/Editor/Tools/project/tag/remove.cs +3 -0
- package/unitypkg/Editor/Tools/project/tags.cs +45 -0
- package/unitypkg/Editor/Tools/project/time-settings/set.cs +35 -0
- package/unitypkg/Editor/Tools/project/time-settings.cs +31 -0
- package/unitypkg/Editor/Tools/reflection/method/call.cs +114 -0
- package/unitypkg/Editor/Tools/reflection/method/find.cs +72 -0
- package/unitypkg/Editor/Tools/reflection/type/schema.cs +56 -0
- package/unitypkg/Editor/Tools/scene/SceneToolSupport.cs +181 -0
- package/unitypkg/Editor/Tools/scene/active.cs +62 -0
- package/unitypkg/Editor/Tools/scene/build-settings.cs +69 -0
- package/unitypkg/Editor/Tools/scene/create.cs +78 -0
- package/unitypkg/Editor/Tools/scene/data.cs +125 -0
- package/unitypkg/Editor/Tools/scene/gameobject/component.cs +63 -0
- package/unitypkg/Editor/Tools/scene/gameobject/components.cs +77 -0
- package/unitypkg/Editor/Tools/scene/gameobject-support.cs +101 -0
- package/unitypkg/Editor/Tools/scene/gameobject.cs +83 -0
- package/unitypkg/Editor/Tools/scene/hierarchy.cs +250 -0
- package/unitypkg/Editor/Tools/scene/list-opened.cs +77 -0
- package/unitypkg/Editor/Tools/scene/load.cs +68 -0
- package/unitypkg/Editor/Tools/scene/move-object.cs +122 -0
- package/unitypkg/Editor/Tools/scene/save.cs +231 -0
- package/unitypkg/Editor/Tools/scene/set-active.cs +76 -0
- package/unitypkg/Editor/Tools/scene/unload.cs +109 -0
- package/unitypkg/Editor/Tools/scene/validate.cs +115 -0
- package/unitypkg/Editor/Tools/scene/view-frame.cs +218 -0
- package/unitypkg/Editor/Tools/screenshot/EditorElementCaptureToolSupport.cs +181 -0
- package/unitypkg/Editor/Tools/screenshot/ScreenshotToolSupport.cs +196 -0
- package/unitypkg/Editor/Tools/screenshot/editor-element.cs +87 -0
- package/unitypkg/Editor/Tools/screenshot/game-view.cs +116 -0
- package/unitypkg/Editor/Tools/screenshot/isolated-object.cs +93 -0
- package/unitypkg/Editor/Tools/screenshot/orbit.cs +103 -0
- package/unitypkg/Editor/Tools/screenshot/scene-view.cs +99 -0
- package/unitypkg/Editor/Tools/screenshot/screen.cs +89 -0
- package/unitypkg/Editor/Tools/screenshot/surround.cs +181 -0
- package/unitypkg/Editor/Tools/scriptable-object/ScriptableObjectToolSupport.cs +196 -0
- package/unitypkg/Editor/Tools/scriptable-object/create.cs +79 -0
- package/unitypkg/Editor/Tools/scriptable-object/info.cs +49 -0
- package/unitypkg/Editor/Tools/scriptable-object/list-types.cs +103 -0
- package/unitypkg/Editor/Tools/scriptable-object/modify.cs +208 -0
- package/unitypkg/Editor/Tools/shader/ShaderToolSupport.cs +326 -0
- package/unitypkg/Editor/Tools/shader/create.cs +82 -0
- package/unitypkg/Editor/Tools/shader/delete.cs +90 -0
- package/unitypkg/Editor/Tools/shader/get-data.cs +125 -0
- package/unitypkg/Editor/Tools/shader/info.cs +48 -0
- package/unitypkg/Editor/Tools/shader/list.cs +82 -0
- package/unitypkg/Editor/Tools/shader/read.cs +84 -0
- package/unitypkg/Editor/Tools/shader/update.cs +71 -0
- package/unitypkg/Editor/Tools/tests/list.cs +98 -0
- package/unitypkg/Editor/Tools/texture/TextureToolSupport.cs +327 -0
- package/unitypkg/Editor/Tools/texture/create.cs +182 -0
- package/unitypkg/Editor/Tools/texture/delete.cs +89 -0
- package/unitypkg/Editor/Tools/texture/generate.cs +189 -0
- package/unitypkg/Editor/Tools/texture/import-settings.cs +104 -0
- package/unitypkg/Editor/Tools/texture/info.cs +50 -0
- package/unitypkg/Editor/Tools/texture/modify.cs +154 -0
- package/unitypkg/Editor/Tools/texture/sprite.cs +132 -0
- package/unitypkg/Editor/Tools/timeline/TimelineMutationToolSupport.cs +696 -0
- package/unitypkg/Editor/Tools/timeline/TimelineReadToolSupport.cs +439 -0
- package/unitypkg/Editor/Tools/timeline/TimelineToolSupport.cs +203 -0
- package/unitypkg/Editor/Tools/timeline/clip/add.cs +93 -0
- package/unitypkg/Editor/Tools/timeline/create.cs +88 -0
- package/unitypkg/Editor/Tools/timeline/info.cs +54 -0
- package/unitypkg/Editor/Tools/timeline/track/add.cs +91 -0
- package/unitypkg/Editor/Tools/ui/UiToolSupport.cs +162 -0
- package/unitypkg/Editor/Tools/ui/UiUguiToolSupport.cs +24 -0
- package/unitypkg/Editor/Tools/ui/attach-document.cs +46 -0
- package/unitypkg/Editor/Tools/ui/button/create.cs +58 -0
- package/unitypkg/Editor/Tools/ui/canvas/create.cs +40 -0
- package/unitypkg/Editor/Tools/ui/create-panel-settings.cs +44 -0
- package/unitypkg/Editor/Tools/ui/detach-document.cs +41 -0
- package/unitypkg/Editor/Tools/ui/document/create.cs +49 -0
- package/unitypkg/Editor/Tools/ui/document/delete.cs +33 -0
- package/unitypkg/Editor/Tools/ui/document/info.cs +33 -0
- package/unitypkg/Editor/Tools/ui/document/update.cs +36 -0
- package/unitypkg/Editor/Tools/ui/get-visual-tree.cs +34 -0
- package/unitypkg/Editor/Tools/ui/hierarchy.cs +27 -0
- package/unitypkg/Editor/Tools/ui/image/create.cs +47 -0
- package/unitypkg/Editor/Tools/ui/link-stylesheet.cs +54 -0
- package/unitypkg/Editor/Tools/ui/list-documents.cs +34 -0
- package/unitypkg/Editor/Tools/ui/modify-visual-element.cs +76 -0
- package/unitypkg/Editor/Tools/ui/render-preview.cs +128 -0
- package/unitypkg/Editor/Tools/ui/text/create.cs +45 -0
- package/unitypkg/Editor/Tools/ui/update-panel-settings.cs +49 -0
- package/unitypkg/Editor/UnityCliBridge.cs +431 -0
- package/unitypkg/Editor/UnityCliBridgeBuildInfo.cs +9 -0
- package/unitypkg/Runtime/Infrastructure/UnityCliRuntimeBridge.cs +580 -0
- package/unitypkg/Runtime/Infrastructure/UnityCliRuntimeJson.cs +232 -0
- package/unitypkg/Runtime/Infrastructure/UnityCliRuntimeRegistry.cs +297 -0
- package/unitypkg/Runtime/Tools/UnityCliRuntimeTools.cs +701 -0
- package/unitypkg/Runtime/UnityCli.Runtime.asmdef +14 -0
- package/unitypkg/Shared/UnityCli.Shared.asmdef +14 -0
- package/unitypkg/Shared/UnityCliAdmissionPool.cs +426 -0
- package/unitypkg/Tests/Editor/UnityCli.Editor.Tests.asmdef +15 -0
- package/unitypkg/Tests/Editor/UnityCliAdmissionPoolTests.cs +262 -0
- package/unitypkg/UnityCli.Editor.asmdef +26 -0
- package/unitypkg/package.json +11 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
#if UNITY_EDITOR
|
|
2
|
+
using System.Linq;
|
|
3
|
+
using UnityEngine;
|
|
4
|
+
using UnityEngine.ProBuilder;
|
|
5
|
+
|
|
6
|
+
namespace UnityCli.ProBuilder
|
|
7
|
+
{
|
|
8
|
+
/// <summary>读取 canonical 快照的 UV0,验证其是否已处于 RefreshUV 可产生的终态。</summary>
|
|
9
|
+
internal static class ProBuilderRefreshUvProof
|
|
10
|
+
{
|
|
11
|
+
/// <summary>只读取 snapshot;要求 local-space、无 texture group 的自动 UV 可被确定性复演。</summary>
|
|
12
|
+
internal static bool RefreshUvsAreTerminal(CanonicalMeshSnapshot snapshot)
|
|
13
|
+
{
|
|
14
|
+
try
|
|
15
|
+
{
|
|
16
|
+
if (snapshot == null || snapshot.RawVertices == null || snapshot.Faces == null || snapshot.RawVertices.Any(raw => !raw.Uvs[0].IsPresent || raw.Uvs[1].IsPresent)) return false;
|
|
17
|
+
var positions = snapshot.RawVertices.Select(raw => raw.LocalPosition).ToArray();
|
|
18
|
+
var expected = snapshot.RawVertices.Select(raw => raw.Uvs[0]).ToArray();
|
|
19
|
+
foreach (var face in snapshot.Faces)
|
|
20
|
+
{
|
|
21
|
+
var settings = new AutoUnwrapSettings(face.Uv);
|
|
22
|
+
if (face.TextureGroup > 0 || settings.useWorldSpace) return false;
|
|
23
|
+
if (face.ManualUv) continue;
|
|
24
|
+
var indexes = face.DirectedRawTriangleStream.Distinct().ToArray(); var stream = face.DirectedRawTriangleStream;
|
|
25
|
+
if (indexes.Length < 3 || stream.Length < 3) return false;
|
|
26
|
+
var normal = UnityEngine.ProBuilder.Math.Normal(positions[stream[0]], positions[stream[1]], positions[stream[2]]);
|
|
27
|
+
if (stream.Length > 6) { var plane = Projection.FindBestPlane(positions, indexes).normal; normal = Vector3.Dot(normal, plane) < 0f ? -plane : plane; }
|
|
28
|
+
var values = Projection.PlanarProject(positions, indexes, normal);
|
|
29
|
+
if (values.Length != indexes.Length || values.Any(value => !Finite(value))) return false;
|
|
30
|
+
ApplySettings(values, settings);
|
|
31
|
+
if (values.Any(value => !Finite(value))) return false;
|
|
32
|
+
for (var index = 0; index < indexes.Length; index++) expected[indexes[index]] = new CanonicalMeshSnapshot.ChannelValue(true, values[index]);
|
|
33
|
+
}
|
|
34
|
+
return expected.Where((value, index) => !CanonicalMeshSnapshot.ChannelValueEquals(value, snapshot.RawVertices[index].Uvs[0])).Count() == 0;
|
|
35
|
+
}
|
|
36
|
+
catch { return false; }
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
private static void ApplySettings(Vector2[] values, AutoUnwrapSettings settings)
|
|
40
|
+
{
|
|
41
|
+
var min = new Vector2(values.Min(value => value.x), values.Min(value => value.y)); var max = new Vector2(values.Max(value => value.x), values.Max(value => value.y)); var center = (min + max) * .5f; var size = max - min;
|
|
42
|
+
if (settings.fill == AutoUnwrapSettings.Fill.Fit) { var scale = Mathf.Max(size.x, size.y); Scale(values, new Vector2(scale, scale), center); center /= scale; }
|
|
43
|
+
else if (settings.fill == AutoUnwrapSettings.Fill.Stretch) { Scale(values, size, center); center = new Vector2(center.x / size.x, center.y / size.y); }
|
|
44
|
+
if (settings.scale.x != 1f || settings.scale.y != 1f || settings.rotation != 0f) { var scaledCenter = Vector2.Scale(center, settings.scale); var delta = center - scaledCenter; for (var index = 0; index < values.Length; index++) { values[index] -= delta; values[index] = Vector2.Scale(values[index] - scaledCenter, settings.scale) + scaledCenter; var px = values[index].x - scaledCenter.x; var py = values[index].y - scaledCenter.y; var sine = Mathf.Sin(settings.rotation * Mathf.Deg2Rad); var cosine = Mathf.Cos(settings.rotation * Mathf.Deg2Rad); values[index] = new Vector2(px * cosine + py * sine + scaledCenter.x, -px * sine + py * cosine + scaledCenter.y); } }
|
|
45
|
+
if (settings.anchor != AutoUnwrapSettings.Anchor.None) Anchor(values, settings.anchor);
|
|
46
|
+
for (var index = 0; index < values.Length; index++) { var u = settings.flipU ? -values[index].x : values[index].x; var v = settings.flipV ? -values[index].y : values[index].y; values[index] = settings.swapUV ? new Vector2(v, u) : new Vector2(u, v); values[index] -= settings.offset; }
|
|
47
|
+
}
|
|
48
|
+
private static void Scale(Vector2[] values, Vector2 scale, Vector2 center) { var scaledCenter = new Vector2(center.x / scale.x, center.y / scale.y); var delta = center - scaledCenter; for (var index = 0; index < values.Length; index++) { var value = values[index] - delta; values[index] = new Vector2((value.x - scaledCenter.x) / scale.x + scaledCenter.x, (value.y - scaledCenter.y) / scale.y + scaledCenter.y); } }
|
|
49
|
+
private static void Anchor(Vector2[] values, AutoUnwrapSettings.Anchor anchor) { var min = new Vector2(values.Min(value => value.x), values.Min(value => value.y)); var max = new Vector2(values.Max(value => value.x), values.Max(value => value.y)); var offset = Vector2.zero; if (anchor == AutoUnwrapSettings.Anchor.UpperLeft || anchor == AutoUnwrapSettings.Anchor.MiddleLeft || anchor == AutoUnwrapSettings.Anchor.LowerLeft) offset.x = min.x; else if (anchor == AutoUnwrapSettings.Anchor.UpperRight || anchor == AutoUnwrapSettings.Anchor.MiddleRight || anchor == AutoUnwrapSettings.Anchor.LowerRight) offset.x = max.x - 1f; else offset.x = min.x + (max.x - min.x) * .5f - .5f; if (anchor == AutoUnwrapSettings.Anchor.UpperLeft || anchor == AutoUnwrapSettings.Anchor.UpperCenter || anchor == AutoUnwrapSettings.Anchor.UpperRight) offset.y = max.y - 1f; else if (anchor == AutoUnwrapSettings.Anchor.MiddleLeft || anchor == AutoUnwrapSettings.Anchor.MiddleCenter || anchor == AutoUnwrapSettings.Anchor.MiddleRight) offset.y = min.y + (max.y - min.y) * .5f - .5f; else offset.y = min.y; for (var index = 0; index < values.Length; index++) values[index] -= offset; }
|
|
50
|
+
private static bool Finite(Vector2 value) => !float.IsNaN(value.x) && !float.IsInfinity(value.x) && !float.IsNaN(value.y) && !float.IsInfinity(value.y);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
#endif
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
#if UNITY_EDITOR
|
|
2
|
+
using System;
|
|
3
|
+
using System.Collections.Generic;
|
|
4
|
+
using UnityEditor;
|
|
5
|
+
using UnityEngine;
|
|
6
|
+
using UnityEngine.SceneManagement;
|
|
7
|
+
|
|
8
|
+
namespace UnityCli.ProBuilder
|
|
9
|
+
{
|
|
10
|
+
/// <summary>
|
|
11
|
+
/// ProBuilder 场景 Context:只读返回场景网格与选择状态。
|
|
12
|
+
/// </summary>
|
|
13
|
+
public class ProBuilderSceneTool : IUnityCliTool<ProBuilderSceneTool.Request, ProBuilderSceneTool.Result>
|
|
14
|
+
{
|
|
15
|
+
public sealed class Request
|
|
16
|
+
{
|
|
17
|
+
public string NamePattern { get; set; }
|
|
18
|
+
public int PageSize { get; set; }
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
public sealed class Result
|
|
22
|
+
{
|
|
23
|
+
public bool Installed { get; set; }
|
|
24
|
+
public int SceneCount { get; set; }
|
|
25
|
+
public int ObjectCount { get; set; }
|
|
26
|
+
public int SelectedObjectCount { get; set; }
|
|
27
|
+
public bool Truncated { get; set; }
|
|
28
|
+
public List<ProBuilderSceneRow> Objects { get; set; }
|
|
29
|
+
public ProBuilderSceneSelection Selection { get; set; }
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public sealed class ProBuilderSceneRow
|
|
33
|
+
{
|
|
34
|
+
public string Name { get; set; }
|
|
35
|
+
public string Path { get; set; }
|
|
36
|
+
public string Scene { get; set; }
|
|
37
|
+
public int InstanceId { get; set; }
|
|
38
|
+
public bool Active { get; set; }
|
|
39
|
+
public bool Selected { get; set; }
|
|
40
|
+
public int FaceCount { get; set; }
|
|
41
|
+
public int VertexCount { get; set; }
|
|
42
|
+
public int EdgeCount { get; set; }
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public sealed class ProBuilderSceneSelection
|
|
46
|
+
{
|
|
47
|
+
public int ObjectCount { get; set; }
|
|
48
|
+
public List<string> ObjectNames { get; set; }
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// ── desc:只声明人工字段,不含 inputSchema/outputSchema ──
|
|
52
|
+
public ToolDescriptor Describe() => new()
|
|
53
|
+
{
|
|
54
|
+
Name = "probuilder.scene", Summary = "Read ProBuilder mesh objects, face/edge/vertex selection context, and editable mesh state in the current scene without modifying Unity state.",
|
|
55
|
+
Description = "Read ProBuilder mesh objects, face/edge/vertex selection context, and editable mesh state in the current scene without modifying Unity state.",
|
|
56
|
+
DestructiveHint = false,
|
|
57
|
+
Group = "probuilder",
|
|
58
|
+
Target = "editor",
|
|
59
|
+
PlayModeSupport = "supported",
|
|
60
|
+
Examples = new[] { new ToolExample { Description = "List ProBuilder scene meshes", Input = new Request { PageSize = 50 } }, new ToolExample { Description = "Filter ProBuilder meshes by name", Input = new Request { NamePattern = "Cube", PageSize = 50 } } },
|
|
61
|
+
RequiresPackages = new[] { "com.unity.probuilder" }
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/// <summary>
|
|
65
|
+
/// 读取当前场景中的 ProBuilderMesh 对象摘要和 Editor 选择状态;不修改场景、对象或资源。
|
|
66
|
+
/// </summary>
|
|
67
|
+
public System.Threading.Tasks.ValueTask<Result> ExecuteAsync(Request request, UnityCliProjectToolContext ctx, System.Threading.CancellationToken ct = default)
|
|
68
|
+
{
|
|
69
|
+
var requestedPageSize = request != null && request.PageSize > 0 ? request.PageSize : 50;
|
|
70
|
+
var pageSize = Clamp(requestedPageSize, 1, 200);
|
|
71
|
+
var namePattern = request != null ? request.NamePattern : null;
|
|
72
|
+
var rows = new List<ProBuilderSceneRow>();
|
|
73
|
+
var selectedIds = SelectedGameObjectIds();
|
|
74
|
+
var selectedProBuilderNames = new List<string>();
|
|
75
|
+
|
|
76
|
+
for (var i = 0; i < SceneManager.sceneCount; i++)
|
|
77
|
+
{
|
|
78
|
+
var scene = SceneManager.GetSceneAt(i);
|
|
79
|
+
if (!scene.isLoaded) continue;
|
|
80
|
+
foreach (var root in scene.GetRootGameObjects())
|
|
81
|
+
{
|
|
82
|
+
CollectRows(root.transform, scene.name, namePattern, selectedIds, rows, selectedProBuilderNames);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
var objectCount = rows.Count;
|
|
87
|
+
var visibleCount = Math.Min(pageSize, objectCount);
|
|
88
|
+
var visibleRows = new List<ProBuilderSceneRow>();
|
|
89
|
+
for (var i = 0; i < visibleCount; i++)
|
|
90
|
+
{
|
|
91
|
+
visibleRows.Add(rows[i]);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
return new System.Threading.Tasks.ValueTask<Result>(new Result
|
|
95
|
+
{
|
|
96
|
+
Installed = ProBuilderReflection.IsAvailable,
|
|
97
|
+
SceneCount = SceneManager.sceneCount,
|
|
98
|
+
ObjectCount = objectCount,
|
|
99
|
+
SelectedObjectCount = selectedProBuilderNames.Count,
|
|
100
|
+
Truncated = objectCount > visibleCount,
|
|
101
|
+
Objects = visibleRows,
|
|
102
|
+
Selection = new ProBuilderSceneSelection
|
|
103
|
+
{
|
|
104
|
+
ObjectCount = selectedProBuilderNames.Count,
|
|
105
|
+
ObjectNames = selectedProBuilderNames
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/// <summary>
|
|
111
|
+
/// 遍历场景层级并收集 ProBuilderMesh 摘要,只读取组件与选择状态。
|
|
112
|
+
/// </summary>
|
|
113
|
+
private static void CollectRows(Transform transform, string sceneName, string namePattern, HashSet<int> selectedIds, List<ProBuilderSceneRow> rows, List<string> selectedNames)
|
|
114
|
+
{
|
|
115
|
+
var go = transform.gameObject;
|
|
116
|
+
var mesh = ProBuilderReflection.GetProBuilderMesh(go);
|
|
117
|
+
if (mesh != null)
|
|
118
|
+
{
|
|
119
|
+
var path = HierarchyPath(transform);
|
|
120
|
+
if (Matches(namePattern, go.name, path))
|
|
121
|
+
{
|
|
122
|
+
var selected = selectedIds.Contains(go.GetInstanceID());
|
|
123
|
+
if (selected) selectedNames.Add(path);
|
|
124
|
+
var faceCount = ProBuilderReflection.GetFaceCountProperty(mesh);
|
|
125
|
+
rows.Add(new ProBuilderSceneRow
|
|
126
|
+
{
|
|
127
|
+
Name = go.name,
|
|
128
|
+
Path = path,
|
|
129
|
+
Scene = sceneName,
|
|
130
|
+
InstanceId = go.GetInstanceID(),
|
|
131
|
+
Active = go.activeInHierarchy,
|
|
132
|
+
Selected = selected,
|
|
133
|
+
FaceCount = faceCount,
|
|
134
|
+
VertexCount = ProBuilderReflection.GetVertexCountProperty(mesh),
|
|
135
|
+
EdgeCount = Math.Max(0, faceCount * 3 / 2)
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
for (var i = 0; i < transform.childCount; i++)
|
|
141
|
+
{
|
|
142
|
+
CollectRows(transform.GetChild(i), sceneName, namePattern, selectedIds, rows, selectedNames);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
private static HashSet<int> SelectedGameObjectIds()
|
|
147
|
+
{
|
|
148
|
+
var ids = new HashSet<int>();
|
|
149
|
+
foreach (var obj in Selection.objects)
|
|
150
|
+
{
|
|
151
|
+
var go = obj as GameObject;
|
|
152
|
+
if (go != null) ids.Add(go.GetInstanceID());
|
|
153
|
+
}
|
|
154
|
+
return ids;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
private static bool Matches(string namePattern, string name, string path)
|
|
158
|
+
{
|
|
159
|
+
if (string.IsNullOrEmpty(namePattern)) return true;
|
|
160
|
+
return (name != null && name.IndexOf(namePattern, StringComparison.OrdinalIgnoreCase) >= 0)
|
|
161
|
+
|| (path != null && path.IndexOf(namePattern, StringComparison.OrdinalIgnoreCase) >= 0);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
private static string HierarchyPath(Transform transform)
|
|
165
|
+
{
|
|
166
|
+
var names = new List<string>();
|
|
167
|
+
var current = transform;
|
|
168
|
+
while (current != null)
|
|
169
|
+
{
|
|
170
|
+
names.Add(current.name);
|
|
171
|
+
current = current.parent;
|
|
172
|
+
}
|
|
173
|
+
names.Reverse();
|
|
174
|
+
return string.Join("/", names.ToArray());
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
private static int Clamp(int value, int min, int max)
|
|
178
|
+
{
|
|
179
|
+
if (value < min) return min;
|
|
180
|
+
return value > max ? max : value;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
#endif
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// <auto-generated />
|
|
2
|
+
#if UNITY_EDITOR
|
|
3
|
+
using System;
|
|
4
|
+
using System.Collections.Generic;
|
|
5
|
+
using System.Linq;
|
|
6
|
+
using UnityEngine;
|
|
7
|
+
using UnityEngine.ProBuilder;
|
|
8
|
+
namespace UnityCli.ProBuilder
|
|
9
|
+
{
|
|
10
|
+
internal static class ProBuilderShapeTopologyRecords
|
|
11
|
+
{
|
|
12
|
+
internal const string PackageVersion = "5.2.4";
|
|
13
|
+
|
|
14
|
+
internal sealed class Record
|
|
15
|
+
{
|
|
16
|
+
internal readonly string Shape;
|
|
17
|
+
internal readonly Bounds DefaultLocalBounds;
|
|
18
|
+
internal readonly int RawVertexCount;
|
|
19
|
+
private readonly int[][] faceIndexes;
|
|
20
|
+
private readonly int[][] sharedVertices;
|
|
21
|
+
|
|
22
|
+
internal Record(string shape, Bounds defaultLocalBounds, int rawVertexCount, IEnumerable<int[]> faces, IEnumerable<int[]> shared)
|
|
23
|
+
{
|
|
24
|
+
Shape = shape;
|
|
25
|
+
DefaultLocalBounds = defaultLocalBounds;
|
|
26
|
+
RawVertexCount = rawVertexCount;
|
|
27
|
+
faceIndexes = Copy(faces);
|
|
28
|
+
sharedVertices = Copy(shared);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
internal string Mismatch(object mesh)
|
|
32
|
+
{
|
|
33
|
+
var pb = mesh as ProBuilderMesh;
|
|
34
|
+
if (pb == null) return "topology.probuilder-component";
|
|
35
|
+
if (pb.positions == null || pb.positions.Count != RawVertexCount) return "topology.raw-vertex-count";
|
|
36
|
+
if (pb.faces == null || pb.faces.Count != faceIndexes.Length) return "topology.face-count";
|
|
37
|
+
for (var i = 0; i < faceIndexes.Length; i++)
|
|
38
|
+
{
|
|
39
|
+
var actual = pb.faces[i] == null ? null : pb.faces[i].indexes;
|
|
40
|
+
if (!Same(actual, faceIndexes[i])) return "topology.face[" + i + "]";
|
|
41
|
+
}
|
|
42
|
+
if (pb.sharedVertices == null || pb.sharedVertices.Count != sharedVertices.Length) return "topology.shared-count";
|
|
43
|
+
for (var i = 0; i < sharedVertices.Length; i++)
|
|
44
|
+
if (!Same(pb.sharedVertices[i].ToArray(), sharedVertices[i])) return "topology.shared[" + i + "]";
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
private static Record CreateCube()=>new Record("Cube",new Bounds(new Vector3(F(0),F(0),F(0)),new Vector3(F(1065353216),F(1065353216),F(1065353216))),24,new int[][]{new int[]{0,1,2,1,3,2},new int[]{4,5,6,5,7,6},new int[]{8,9,10,9,11,10},new int[]{12,13,14,13,15,14},new int[]{16,17,18,17,19,18},new int[]{20,21,22,21,23,22}},new int[][]{new int[]{0,13,22},new int[]{1,4,23},new int[]{2,15,16},new int[]{3,6,17},new int[]{5,8,21},new int[]{7,10,19},new int[]{9,12,20},new int[]{11,14,18},});
|
|
50
|
+
private static Record CreateStair()=>new Record("Stair",new Bounds(new Vector3(F(0),F(0),F(0)),new Vector3(F(1073741824),F(1075838976),F(1082130432))),130,new int[][]{new int[]{0,1,2,1,3,2},new int[]{4,5,6,5,7,6},new int[]{8,9,10,9,11,10},new int[]{12,13,14,13,15,14},new int[]{16,17,18,17,19,18},new int[]{20,21,22,21,23,22},new int[]{24,25,26,25,27,26},new int[]{28,29,30,29,31,30},new int[]{32,33,34,33,35,34},new int[]{36,37,38,37,39,38},new int[]{40,41,42,41,43,42},new int[]{44,45,46,45,47,46},new int[]{48,49,50,49,51,50},new int[]{52,53,54,53,55,54},new int[]{58,57,56},new int[]{59,60,61,60,62,61},new int[]{65,64,63},new int[]{66,67,68,67,69,68},new int[]{72,71,70},new int[]{73,74,75,74,76,75},new int[]{79,78,77},new int[]{80,81,82,81,83,82},new int[]{86,85,84},new int[]{89,88,87,89,90,88},new int[]{93,92,91,93,94,92},new int[]{95,96,97},new int[]{100,99,98,100,101,99},new int[]{102,103,104},new int[]{107,106,105,107,108,106},new int[]{109,110,111},new int[]{114,113,112,114,115,113},new int[]{116,117,118},new int[]{121,120,119,121,122,120},new int[]{123,124,125},new int[]{126,127,128,127,129,128}},new int[][]{new int[]{0,87},new int[]{1,48},new int[]{2,4,89},new int[]{3,5,50},new int[]{6,8,90,93,95},new int[]{7,9,51,54,56},new int[]{10,12,96},new int[]{11,13,57},new int[]{14,16,94,97,100,102},new int[]{15,17,55,58,61,63},new int[]{18,20,103},new int[]{19,21,64},new int[]{22,24,101,104,107,109},new int[]{23,25,62,65,68,70},new int[]{26,28,110},new int[]{27,29,71},new int[]{30,32,108,111,114,116},new int[]{31,33,69,72,75,77},new int[]{34,36,117},new int[]{35,37,78},new int[]{38,40,115,118,121,123},new int[]{39,41,76,79,82,84},new int[]{42,44,124},new int[]{43,45,85},new int[]{46,122,125,129},new int[]{47,83,86,128},new int[]{49,52},new int[]{53,59},new int[]{60,66},new int[]{67,73},new int[]{74,80},new int[]{81,126},new int[]{88,91},new int[]{92,98},new int[]{99,105},new int[]{106,112},new int[]{113,119},new int[]{120,127},});
|
|
51
|
+
private static Record CreateCurvedStair()=>new Record("CurvedStair",new Bounds(new Vector3(F(0),F(0),F(-1275068416)),new Vector3(F(1090519040),F(1075838976),F(1082130432))),174,new int[][]{new int[]{0,1,2,1,3,2},new int[]{4,5,6,4,6,7},new int[]{8,9,10,9,11,10},new int[]{12,13,14,12,14,15},new int[]{16,17,18,17,19,18},new int[]{20,21,22,20,22,23},new int[]{24,25,26,25,27,26},new int[]{28,29,30,28,30,31},new int[]{32,33,34,33,35,34},new int[]{36,37,38,36,38,39},new int[]{40,41,42,41,43,42},new int[]{44,45,46,44,46,47},new int[]{48,49,50,49,51,50},new int[]{52,53,54,52,54,55},new int[]{56,57,58,57,59,58},new int[]{60,61,62,60,62,63},new int[]{66,65,64,66,67,65},new int[]{70,69,68,70,71,69},new int[]{74,73,72},new int[]{77,76,75,77,78,76},new int[]{81,80,79},new int[]{84,83,82,84,85,83},new int[]{88,87,86},new int[]{91,90,89,91,92,90},new int[]{95,94,93},new int[]{98,97,96,98,99,97},new int[]{102,101,100},new int[]{105,104,103,105,106,104},new int[]{109,108,107},new int[]{112,111,110,112,113,111},new int[]{116,115,114},new int[]{117,118,119,118,120,119},new int[]{121,122,123,122,124,123},new int[]{125,126,127},new int[]{128,129,130,129,131,130},new int[]{132,133,134},new int[]{135,136,137,136,138,137},new int[]{139,140,141},new int[]{142,143,144,143,145,144},new int[]{146,147,148},new int[]{149,150,151,150,152,151},new int[]{153,154,155},new int[]{156,157,158,157,159,158},new int[]{160,161,162},new int[]{163,164,165,164,166,165},new int[]{167,168,169},new int[]{172,171,170,172,173,171}},new int[][]{new int[]{0,64},new int[]{1,117},new int[]{2,4,66},new int[]{3,5,119},new int[]{6,9,120,123,125},new int[]{7,8,67,70,72},new int[]{10,12,74},new int[]{11,13,127},new int[]{14,17,124,126,130,132},new int[]{15,16,71,73,77,79},new int[]{18,20,81},new int[]{19,21,134},new int[]{22,25,131,133,137,139},new int[]{23,24,78,80,84,86},new int[]{26,28,88},new int[]{27,29,141},new int[]{30,33,138,140,144,146},new int[]{31,32,85,87,91,93},new int[]{34,36,95},new int[]{35,37,148},new int[]{38,41,145,147,151,153},new int[]{39,40,92,94,98,100},new int[]{42,44,102},new int[]{43,45,155},new int[]{46,49,152,154,158,160},new int[]{47,48,99,101,105,107},new int[]{50,52,109},new int[]{51,53,162},new int[]{54,57,159,161,165,167},new int[]{55,56,106,108,112,114},new int[]{58,60,116},new int[]{59,61,169},new int[]{62,166,168,173},new int[]{63,113,115,172},new int[]{65,68},new int[]{69,75},new int[]{76,82},new int[]{83,89},new int[]{90,96},new int[]{97,103},new int[]{104,110},new int[]{111,170},new int[]{118,121},new int[]{122,128},new int[]{129,135},new int[]{136,142},new int[]{143,149},new int[]{150,156},new int[]{157,163},new int[]{164,171},});
|
|
52
|
+
private static Record CreatePrism()=>new Record("Prism",new Bounds(new Vector3(F(0),F(0),F(0)),new Vector3(F(1065353216),F(1065353216),F(1065353216))),18,new int[][]{new int[]{2,1,0},new int[]{5,4,3,5,6,4},new int[]{9,8,7},new int[]{12,11,10,12,13,11},new int[]{14,15,16,15,17,16}},new int[][]{new int[]{0,11,14},new int[]{1,3,15},new int[]{2,5,13},new int[]{4,7,17},new int[]{6,9,12},new int[]{8,10,16},});
|
|
53
|
+
private static Record CreateCylinder()=>new Record("Cylinder",new Bounds(new Vector3(F(0),F(0),F(0)),new Vector3(F(1073741824),F(1073741824),F(1073741824))),144,new int[][]{new int[]{0,1,2,1,3,2},new int[]{4,5,6,5,7,6},new int[]{8,9,10,9,11,10},new int[]{12,13,14,13,15,14},new int[]{16,17,18,17,19,18},new int[]{20,21,22,21,23,22},new int[]{24,25,26,25,27,26},new int[]{28,29,30,29,31,30},new int[]{32,33,34,33,35,34},new int[]{36,37,38,37,39,38},new int[]{40,41,42,41,43,42},new int[]{44,45,46,45,47,46},new int[]{48,49,50,49,51,50},new int[]{52,53,54,53,55,54},new int[]{56,57,58,57,59,58},new int[]{60,61,62,61,63,62},new int[]{64,65,66,65,67,66},new int[]{68,69,70,69,71,70},new int[]{72,73,74,73,75,74},new int[]{76,77,78,77,79,78},new int[]{80,81,82,81,83,82},new int[]{84,85,86,85,87,86},new int[]{88,89,90,89,91,90},new int[]{92,93,94,93,95,94},new int[]{98,97,96},new int[]{104,103,102},new int[]{110,109,108},new int[]{116,115,114},new int[]{122,121,120},new int[]{128,127,126},new int[]{134,133,132},new int[]{140,139,138},new int[]{99,100,101},new int[]{105,106,107},new int[]{111,112,113},new int[]{117,118,119},new int[]{123,124,125},new int[]{129,130,131},new int[]{135,136,137},new int[]{141,142,143}},new int[][]{new int[]{0,30,96,140},new int[]{1,31,32,62},new int[]{2,4,98,102},new int[]{3,5,34,36},new int[]{6,8,104,108},new int[]{7,9,38,40},new int[]{10,12,110,114},new int[]{11,13,42,44},new int[]{14,16,116,120},new int[]{15,17,46,48},new int[]{18,20,122,126},new int[]{19,21,50,52},new int[]{22,24,128,132},new int[]{23,25,54,56},new int[]{26,28,134,138},new int[]{27,29,58,60},new int[]{33,63,64,94},new int[]{35,37,66,68},new int[]{39,41,70,72},new int[]{43,45,74,76},new int[]{47,49,78,80},new int[]{51,53,82,84},new int[]{55,57,86,88},new int[]{59,61,90,92},new int[]{65,95,99,143},new int[]{67,69,101,105},new int[]{71,73,107,111},new int[]{75,77,113,117},new int[]{79,81,119,123},new int[]{83,85,125,129},new int[]{87,89,131,135},new int[]{91,93,137,141},new int[]{97,103,109,115,121,127,133,139},new int[]{100,106,112,118,124,130,136,142},});
|
|
54
|
+
private static Record CreatePlane()=>new Record("Plane",new Bounds(new Vector3(F(0),F(0),F(0)),new Vector3(F(1084227584),F(0),F(1084227584))),144,new int[][]{new int[]{0,1,2,1,3,2},new int[]{4,5,6,5,7,6},new int[]{8,9,10,9,11,10},new int[]{12,13,14,13,15,14},new int[]{16,17,18,17,19,18},new int[]{20,21,22,21,23,22},new int[]{24,25,26,25,27,26},new int[]{28,29,30,29,31,30},new int[]{32,33,34,33,35,34},new int[]{36,37,38,37,39,38},new int[]{40,41,42,41,43,42},new int[]{44,45,46,45,47,46},new int[]{48,49,50,49,51,50},new int[]{52,53,54,53,55,54},new int[]{56,57,58,57,59,58},new int[]{60,61,62,61,63,62},new int[]{64,65,66,65,67,66},new int[]{68,69,70,69,71,70},new int[]{72,73,74,73,75,74},new int[]{76,77,78,77,79,78},new int[]{80,81,82,81,83,82},new int[]{84,85,86,85,87,86},new int[]{88,89,90,89,91,90},new int[]{92,93,94,93,95,94},new int[]{96,97,98,97,99,98},new int[]{100,101,102,101,103,102},new int[]{104,105,106,105,107,106},new int[]{108,109,110,109,111,110},new int[]{112,113,114,113,115,114},new int[]{116,117,118,117,119,118},new int[]{120,121,122,121,123,122},new int[]{124,125,126,125,127,126},new int[]{128,129,130,129,131,130},new int[]{132,133,134,133,135,134},new int[]{136,137,138,137,139,138},new int[]{140,141,142,141,143,142}},new int[][]{new int[]{0},new int[]{1,4},new int[]{2,24},new int[]{3,6,25,28},new int[]{5,8},new int[]{7,10,29,32},new int[]{9,12},new int[]{11,14,33,36},new int[]{13,16},new int[]{15,18,37,40},new int[]{17,20},new int[]{19,22,41,44},new int[]{21},new int[]{23,45},new int[]{26,48},new int[]{27,30,49,52},new int[]{31,34,53,56},new int[]{35,38,57,60},new int[]{39,42,61,64},new int[]{43,46,65,68},new int[]{47,69},new int[]{50,72},new int[]{51,54,73,76},new int[]{55,58,77,80},new int[]{59,62,81,84},new int[]{63,66,85,88},new int[]{67,70,89,92},new int[]{71,93},new int[]{74,96},new int[]{75,78,97,100},new int[]{79,82,101,104},new int[]{83,86,105,108},new int[]{87,90,109,112},new int[]{91,94,113,116},new int[]{95,117},new int[]{98,120},new int[]{99,102,121,124},new int[]{103,106,125,128},new int[]{107,110,129,132},new int[]{111,114,133,136},new int[]{115,118,137,140},new int[]{119,141},new int[]{122},new int[]{123,126},new int[]{127,130},new int[]{131,134},new int[]{135,138},new int[]{139,142},new int[]{143},});
|
|
55
|
+
private static Record CreateDoor()=>new Record("Door",new Bounds(new Vector3(F(0),F(0),F(0)),new Vector3(F(1077936128),F(1075838976),F(1065353216))),52,new int[][]{new int[]{0,1,2,1,3,2},new int[]{4,5,6,5,7,6},new int[]{8,9,10,9,11,10},new int[]{12,13,14,13,15,14},new int[]{16,17,18,17,19,18},new int[]{20,21,22,21,23,22},new int[]{24,25,26,25,27,26},new int[]{28,29,30,29,31,30},new int[]{32,33,34,33,35,34},new int[]{36,37,38,37,39,38},new int[]{40,41,42,41,43,42},new int[]{44,45,46,45,47,46},new int[]{48,49,50,49,51,50}},new int[][]{new int[]{0},new int[]{1,48},new int[]{2,8},new int[]{3,9,16,41,50},new int[]{4,45},new int[]{5},new int[]{6,12,17,40,47},new int[]{7,13},new int[]{10},new int[]{11,18},new int[]{14,19},new int[]{15},new int[]{20,49},new int[]{21},new int[]{22,28,37,43,51},new int[]{23,29},new int[]{24},new int[]{25,44},new int[]{26,32},new int[]{27,33,36,42,46},new int[]{30,39},new int[]{31},new int[]{34},new int[]{35,38},});
|
|
56
|
+
private static Record CreatePipe()=>new Record("Pipe",new Bounds(new Vector3(F(0),F(0),F(0)),new Vector3(F(1073741824),F(1073741824),F(1073741824))),256,new int[][]{new int[]{0,1,2,1,3,2},new int[]{4,5,6,5,7,6},new int[]{8,9,10,9,11,10},new int[]{12,13,14,13,15,14},new int[]{16,17,18,17,19,18},new int[]{20,21,22,21,23,22},new int[]{24,25,26,25,27,26},new int[]{28,29,30,29,31,30},new int[]{32,33,34,33,35,34},new int[]{36,37,38,37,39,38},new int[]{40,41,42,41,43,42},new int[]{44,45,46,45,47,46},new int[]{48,49,50,49,51,50},new int[]{52,53,54,53,55,54},new int[]{56,57,58,57,59,58},new int[]{60,61,62,61,63,62},new int[]{64,65,66,65,67,66},new int[]{68,69,70,69,71,70},new int[]{72,73,74,73,75,74},new int[]{76,77,78,77,79,78},new int[]{80,81,82,81,83,82},new int[]{84,85,86,85,87,86},new int[]{88,89,90,89,91,90},new int[]{92,93,94,93,95,94},new int[]{96,97,98,97,99,98},new int[]{100,101,102,101,103,102},new int[]{104,105,106,105,107,106},new int[]{108,109,110,109,111,110},new int[]{112,113,114,113,115,114},new int[]{116,117,118,117,119,118},new int[]{120,121,122,121,123,122},new int[]{124,125,126,125,127,126},new int[]{128,129,130,129,131,130},new int[]{132,133,134,133,135,134},new int[]{136,137,138,137,139,138},new int[]{140,141,142,141,143,142},new int[]{144,145,146,145,147,146},new int[]{148,149,150,149,151,150},new int[]{152,153,154,153,155,154},new int[]{156,157,158,157,159,158},new int[]{160,161,162,161,163,162},new int[]{164,165,166,165,167,166},new int[]{168,169,170,169,171,170},new int[]{172,173,174,173,175,174},new int[]{176,177,178,177,179,178},new int[]{180,181,182,181,183,182},new int[]{184,185,186,185,187,186},new int[]{188,189,190,189,191,190},new int[]{192,193,194,193,195,194},new int[]{196,197,198,197,199,198},new int[]{200,201,202,201,203,202},new int[]{204,205,206,205,207,206},new int[]{208,209,210,209,211,210},new int[]{212,213,214,213,215,214},new int[]{216,217,218,217,219,218},new int[]{220,221,222,221,223,222},new int[]{224,225,226,225,227,226},new int[]{228,229,230,229,231,230},new int[]{232,233,234,233,235,234},new int[]{236,237,238,237,239,238},new int[]{240,241,242,241,243,242},new int[]{244,245,246,245,247,246},new int[]{248,249,250,249,251,250},new int[]{252,253,254,253,255,254}},new int[][]{new int[]{0,9,193,200},new int[]{1,56,192,249},new int[]{2,11,64,73},new int[]{3,58,65,120},new int[]{4,61,194,251},new int[]{5,12,195,202},new int[]{6,63,68,125},new int[]{7,14,69,76},new int[]{8,17,201,208},new int[]{10,19,72,81},new int[]{13,20,203,210},new int[]{15,22,77,84},new int[]{16,25,209,216},new int[]{18,27,80,89},new int[]{21,28,211,218},new int[]{23,30,85,92},new int[]{24,33,217,224},new int[]{26,35,88,97},new int[]{29,36,219,226},new int[]{31,38,93,100},new int[]{32,41,225,232},new int[]{34,43,96,105},new int[]{37,44,227,234},new int[]{39,46,101,108},new int[]{40,49,233,240},new int[]{42,51,104,113},new int[]{45,52,235,242},new int[]{47,54,109,116},new int[]{48,57,241,248},new int[]{50,59,112,121},new int[]{53,60,243,250},new int[]{55,62,117,124},new int[]{66,75,128,137},new int[]{67,122,129,184},new int[]{70,127,132,189},new int[]{71,78,133,140},new int[]{74,83,136,145},new int[]{79,86,141,148},new int[]{82,91,144,153},new int[]{87,94,149,156},new int[]{90,99,152,161},new int[]{95,102,157,164},new int[]{98,107,160,169},new int[]{103,110,165,172},new int[]{106,115,168,177},new int[]{111,118,173,180},new int[]{114,123,176,185},new int[]{119,126,181,188},new int[]{130,139,196,205},new int[]{131,186,197,252},new int[]{134,191,199,254},new int[]{135,142,198,207},new int[]{138,147,204,213},new int[]{143,150,206,215},new int[]{146,155,212,221},new int[]{151,158,214,223},new int[]{154,163,220,229},new int[]{159,166,222,231},new int[]{162,171,228,237},new int[]{167,174,230,239},new int[]{170,179,236,245},new int[]{175,182,238,247},new int[]{178,187,244,253},new int[]{183,190,246,255},});
|
|
57
|
+
private static Record CreateCone()=>new Record("Cone",new Bounds(new Vector3(F(0),F(0),F(0)),new Vector3(F(1065353216),F(1065353216),F(1065353216))),48,new int[][]{new int[]{2,1,0},new int[]{3,4,5},new int[]{8,7,6},new int[]{9,10,11},new int[]{14,13,12},new int[]{15,16,17},new int[]{20,19,18},new int[]{21,22,23},new int[]{26,25,24},new int[]{27,28,29},new int[]{32,31,30},new int[]{33,34,35},new int[]{38,37,36},new int[]{39,40,41},new int[]{44,43,42},new int[]{45,46,47}},new int[][]{new int[]{0,3,43,46},new int[]{1,4,6,9},new int[]{2,8,14,20,26,32,38,44},new int[]{5,11,17,23,29,35,41,47},new int[]{7,10,12,15},new int[]{13,16,18,21},new int[]{19,22,24,27},new int[]{25,28,30,33},new int[]{31,34,36,39},new int[]{37,40,42,45},});
|
|
58
|
+
private static Record CreateSprite()=>new Record("Sprite",new Bounds(new Vector3(F(0),F(0),F(0)),new Vector3(F(1065353216),F(0),F(1065353216))),4,new int[][]{new int[]{0,1,2,1,3,2}},new int[][]{new int[]{0},new int[]{1},new int[]{2},new int[]{3},});
|
|
59
|
+
private static Record CreateArch()=>new Record("Arch",new Bounds(new Vector3(F(0),F(-1283457024),F(0)),new Vector3(F(1082130432),F(1073741824),F(1065353216))),136,new int[][]{new int[]{0,1,2,1,3,2},new int[]{4,5,6,5,7,6},new int[]{8,9,10,9,11,10},new int[]{12,13,14,13,15,14},new int[]{16,17,18,17,19,18},new int[]{20,21,22,21,23,22},new int[]{24,25,26,25,27,26},new int[]{28,29,30,29,31,30},new int[]{32,33,34,33,35,34},new int[]{36,37,38,37,39,38},new int[]{40,41,42,41,43,42},new int[]{44,45,46,45,47,46},new int[]{48,49,50,49,51,50},new int[]{52,53,54,53,55,54},new int[]{56,57,58,57,59,58},new int[]{60,61,62,61,63,62},new int[]{64,65,66,65,67,66},new int[]{68,69,70,69,71,70},new int[]{72,73,74,73,75,74},new int[]{76,77,78,77,79,78},new int[]{80,81,82,81,83,82},new int[]{84,85,86,85,87,86},new int[]{88,89,90,89,91,90},new int[]{92,93,94,93,95,94},new int[]{96,97,98,97,99,98},new int[]{100,101,102,101,103,102},new int[]{104,105,106,105,107,106},new int[]{108,109,110,109,111,110},new int[]{112,113,114,113,115,114},new int[]{116,117,118,117,119,118},new int[]{120,121,122,121,123,122},new int[]{124,125,126,125,127,126},new int[]{128,129,130,129,131,130},new int[]{132,133,134,133,135,134}},new int[][]{new int[]{0,10,77},new int[]{1,12,76,85},new int[]{2,8,72},new int[]{3,14,73,80},new int[]{4,17,78,87},new int[]{5,11,79},new int[]{6,19,75,82},new int[]{7,9,74},new int[]{13,20,84,93},new int[]{15,22,81,88},new int[]{16,25,86,95},new int[]{18,27,83,90},new int[]{21,28,92,101},new int[]{23,30,89,96},new int[]{24,33,94,103},new int[]{26,35,91,98},new int[]{29,36,100,109},new int[]{31,38,97,104},new int[]{32,41,102,111},new int[]{34,43,99,106},new int[]{37,44,108,117},new int[]{39,46,105,112},new int[]{40,49,110,119},new int[]{42,51,107,114},new int[]{45,52,116,125},new int[]{47,54,113,120},new int[]{48,57,118,127},new int[]{50,59,115,122},new int[]{53,60,124,133},new int[]{55,62,121,128},new int[]{56,65,126,135},new int[]{58,67,123,130},new int[]{61,71,132},new int[]{63,69,129},new int[]{64,70,134},new int[]{66,68,131},});
|
|
60
|
+
private static Record CreateSphere()=>new Record("Sphere",new Bounds(new Vector3(F(0),F(0),F(0)),new Vector3(F(1065353216),F(1065353216),F(1065353216))),960,new int[][]{new int[]{0,1,2},new int[]{3,4,5},new int[]{6,7,8},new int[]{9,10,11},new int[]{12,13,14},new int[]{15,16,17},new int[]{18,19,20},new int[]{21,22,23},new int[]{24,25,26},new int[]{27,28,29},new int[]{30,31,32},new int[]{33,34,35},new int[]{36,37,38},new int[]{39,40,41},new int[]{42,43,44},new int[]{45,46,47},new int[]{48,49,50},new int[]{51,52,53},new int[]{54,55,56},new int[]{57,58,59},new int[]{60,61,62},new int[]{63,64,65},new int[]{66,67,68},new int[]{69,70,71},new int[]{72,73,74},new int[]{75,76,77},new int[]{78,79,80},new int[]{81,82,83},new int[]{84,85,86},new int[]{87,88,89},new int[]{90,91,92},new int[]{93,94,95},new int[]{96,97,98},new int[]{99,100,101},new int[]{102,103,104},new int[]{105,106,107},new int[]{108,109,110},new int[]{111,112,113},new int[]{114,115,116},new int[]{117,118,119},new int[]{120,121,122},new int[]{123,124,125},new int[]{126,127,128},new int[]{129,130,131},new int[]{132,133,134},new int[]{135,136,137},new int[]{138,139,140},new int[]{141,142,143},new int[]{144,145,146},new int[]{147,148,149},new int[]{150,151,152},new int[]{153,154,155},new int[]{156,157,158},new int[]{159,160,161},new int[]{162,163,164},new int[]{165,166,167},new int[]{168,169,170},new int[]{171,172,173},new int[]{174,175,176},new int[]{177,178,179},new int[]{180,181,182},new int[]{183,184,185},new int[]{186,187,188},new int[]{189,190,191},new int[]{192,193,194},new int[]{195,196,197},new int[]{198,199,200},new int[]{201,202,203},new int[]{204,205,206},new int[]{207,208,209},new int[]{210,211,212},new int[]{213,214,215},new int[]{216,217,218},new int[]{219,220,221},new int[]{222,223,224},new int[]{225,226,227},new int[]{228,229,230},new int[]{231,232,233},new int[]{234,235,236},new int[]{237,238,239},new int[]{240,241,242},new int[]{243,244,245},new int[]{246,247,248},new int[]{249,250,251},new int[]{252,253,254},new int[]{255,256,257},new int[]{258,259,260},new int[]{261,262,263},new int[]{264,265,266},new int[]{267,268,269},new int[]{270,271,272},new int[]{273,274,275},new int[]{276,277,278},new int[]{279,280,281},new int[]{282,283,284},new int[]{285,286,287},new int[]{288,289,290},new int[]{291,292,293},new int[]{294,295,296},new int[]{297,298,299},new int[]{300,301,302},new int[]{303,304,305},new int[]{306,307,308},new int[]{309,310,311},new int[]{312,313,314},new int[]{315,316,317},new int[]{318,319,320},new int[]{321,322,323},new int[]{324,325,326},new int[]{327,328,329},new int[]{330,331,332},new int[]{333,334,335},new int[]{336,337,338},new int[]{339,340,341},new int[]{342,343,344},new int[]{345,346,347},new int[]{348,349,350},new int[]{351,352,353},new int[]{354,355,356},new int[]{357,358,359},new int[]{360,361,362},new int[]{363,364,365},new int[]{366,367,368},new int[]{369,370,371},new int[]{372,373,374},new int[]{375,376,377},new int[]{378,379,380},new int[]{381,382,383},new int[]{384,385,386},new int[]{387,388,389},new int[]{390,391,392},new int[]{393,394,395},new int[]{396,397,398},new int[]{399,400,401},new int[]{402,403,404},new int[]{405,406,407},new int[]{408,409,410},new int[]{411,412,413},new int[]{414,415,416},new int[]{417,418,419},new int[]{420,421,422},new int[]{423,424,425},new int[]{426,427,428},new int[]{429,430,431},new int[]{432,433,434},new int[]{435,436,437},new int[]{438,439,440},new int[]{441,442,443},new int[]{444,445,446},new int[]{447,448,449},new int[]{450,451,452},new int[]{453,454,455},new int[]{456,457,458},new int[]{459,460,461},new int[]{462,463,464},new int[]{465,466,467},new int[]{468,469,470},new int[]{471,472,473},new int[]{474,475,476},new int[]{477,478,479},new int[]{480,481,482},new int[]{483,484,485},new int[]{486,487,488},new int[]{489,490,491},new int[]{492,493,494},new int[]{495,496,497},new int[]{498,499,500},new int[]{501,502,503},new int[]{504,505,506},new int[]{507,508,509},new int[]{510,511,512},new int[]{513,514,515},new int[]{516,517,518},new int[]{519,520,521},new int[]{522,523,524},new int[]{525,526,527},new int[]{528,529,530},new int[]{531,532,533},new int[]{534,535,536},new int[]{537,538,539},new int[]{540,541,542},new int[]{543,544,545},new int[]{546,547,548},new int[]{549,550,551},new int[]{552,553,554},new int[]{555,556,557},new int[]{558,559,560},new int[]{561,562,563},new int[]{564,565,566},new int[]{567,568,569},new int[]{570,571,572},new int[]{573,574,575},new int[]{576,577,578},new int[]{579,580,581},new int[]{582,583,584},new int[]{585,586,587},new int[]{588,589,590},new int[]{591,592,593},new int[]{594,595,596},new int[]{597,598,599},new int[]{600,601,602},new int[]{603,604,605},new int[]{606,607,608},new int[]{609,610,611},new int[]{612,613,614},new int[]{615,616,617},new int[]{618,619,620},new int[]{621,622,623},new int[]{624,625,626},new int[]{627,628,629},new int[]{630,631,632},new int[]{633,634,635},new int[]{636,637,638},new int[]{639,640,641},new int[]{642,643,644},new int[]{645,646,647},new int[]{648,649,650},new int[]{651,652,653},new int[]{654,655,656},new int[]{657,658,659},new int[]{660,661,662},new int[]{663,664,665},new int[]{666,667,668},new int[]{669,670,671},new int[]{672,673,674},new int[]{675,676,677},new int[]{678,679,680},new int[]{681,682,683},new int[]{684,685,686},new int[]{687,688,689},new int[]{690,691,692},new int[]{693,694,695},new int[]{696,697,698},new int[]{699,700,701},new int[]{702,703,704},new int[]{705,706,707},new int[]{708,709,710},new int[]{711,712,713},new int[]{714,715,716},new int[]{717,718,719},new int[]{720,721,722},new int[]{723,724,725},new int[]{726,727,728},new int[]{729,730,731},new int[]{732,733,734},new int[]{735,736,737},new int[]{738,739,740},new int[]{741,742,743},new int[]{744,745,746},new int[]{747,748,749},new int[]{750,751,752},new int[]{753,754,755},new int[]{756,757,758},new int[]{759,760,761},new int[]{762,763,764},new int[]{765,766,767},new int[]{768,769,770},new int[]{771,772,773},new int[]{774,775,776},new int[]{777,778,779},new int[]{780,781,782},new int[]{783,784,785},new int[]{786,787,788},new int[]{789,790,791},new int[]{792,793,794},new int[]{795,796,797},new int[]{798,799,800},new int[]{801,802,803},new int[]{804,805,806},new int[]{807,808,809},new int[]{810,811,812},new int[]{813,814,815},new int[]{816,817,818},new int[]{819,820,821},new int[]{822,823,824},new int[]{825,826,827},new int[]{828,829,830},new int[]{831,832,833},new int[]{834,835,836},new int[]{837,838,839},new int[]{840,841,842},new int[]{843,844,845},new int[]{846,847,848},new int[]{849,850,851},new int[]{852,853,854},new int[]{855,856,857},new int[]{858,859,860},new int[]{861,862,863},new int[]{864,865,866},new int[]{867,868,869},new int[]{870,871,872},new int[]{873,874,875},new int[]{876,877,878},new int[]{879,880,881},new int[]{882,883,884},new int[]{885,886,887},new int[]{888,889,890},new int[]{891,892,893},new int[]{894,895,896},new int[]{897,898,899},new int[]{900,901,902},new int[]{903,904,905},new int[]{906,907,908},new int[]{909,910,911},new int[]{912,913,914},new int[]{915,916,917},new int[]{918,919,920},new int[]{921,922,923},new int[]{924,925,926},new int[]{927,928,929},new int[]{930,931,932},new int[]{933,934,935},new int[]{936,937,938},new int[]{939,940,941},new int[]{942,943,944},new int[]{945,946,947},new int[]{948,949,950},new int[]{951,952,953},new int[]{954,955,956},new int[]{957,958,959}},new int[][]{new int[]{0,48,96,144,192},new int[]{1,3,6,194,200,201},new int[]{2,8,9,49,51,54},new int[]{4,12,24,203,227,228},new int[]{5,7,10,26,32,33},new int[]{11,35,36,52,60,72},new int[]{13,15,18,230,236,237},new int[]{14,20,21,25,27,30},new int[]{16,239,304,336,815},new int[]{17,19,22,301,303,306},new int[]{23,28,40,292,300,312},new int[]{29,31,34,37,39,42},new int[]{38,44,45,61,63,66},new int[]{41,43,46,289,291,294},new int[]{47,64,256,288,767},new int[]{50,56,57,97,99,102},new int[]{53,55,58,74,80,81},new int[]{59,83,84,100,108,120},new int[]{62,68,69,73,75,78},new int[]{65,67,70,253,255,258},new int[]{71,76,88,244,252,264},new int[]{77,79,82,85,87,90},new int[]{86,92,93,109,111,114},new int[]{89,91,94,241,243,246},new int[]{95,112,240,448,959},new int[]{98,104,105,145,147,150},new int[]{101,103,106,122,128,129},new int[]{107,131,132,148,156,168},new int[]{110,116,117,121,123,126},new int[]{113,115,118,445,447,450},new int[]{119,124,136,436,444,456},new int[]{125,127,130,133,135,138},new int[]{134,140,141,157,159,162},new int[]{137,139,142,433,435,438},new int[]{143,160,400,432,911},new int[]{146,152,153,193,195,198},new int[]{149,151,154,170,176,177},new int[]{155,179,180,196,204,216},new int[]{158,164,165,169,171,174},new int[]{161,163,166,397,399,402},new int[]{167,172,184,388,396,408},new int[]{173,175,178,181,183,186},new int[]{182,188,189,205,207,210},new int[]{185,187,190,385,387,390},new int[]{191,208,352,384,863},new int[]{197,199,202,218,224,225},new int[]{206,212,213,217,219,222},new int[]{209,211,214,349,351,354},new int[]{215,220,232,340,348,360},new int[]{221,223,226,229,231,234},new int[]{233,235,238,337,339,342},new int[]{242,248,249,950,956,957},new int[]{245,247,250,266,272,273},new int[]{251,275,276,923,947,948},new int[]{254,260,261,265,267,270},new int[]{257,259,262,761,763,766},new int[]{263,268,280,743,748,760},new int[]{269,271,274,277,279,282},new int[]{278,284,285,914,920,921},new int[]{281,283,286,737,739,742},new int[]{287,496,719,736,912},new int[]{290,296,297,758,764,765},new int[]{293,295,298,314,320,321},new int[]{299,323,324,731,755,756},new int[]{302,308,309,313,315,318},new int[]{305,307,310,809,811,814},new int[]{311,316,328,791,796,808},new int[]{317,319,322,325,327,330},new int[]{326,332,333,722,728,729},new int[]{329,331,334,785,787,790},new int[]{335,527,544,720,784},new int[]{338,344,345,806,812,813},new int[]{341,343,346,362,368,369},new int[]{347,371,372,779,803,804},new int[]{350,356,357,361,363,366},new int[]{353,355,358,857,859,862},new int[]{359,364,376,839,844,856},new int[]{365,367,370,373,375,378},new int[]{374,380,381,770,776,777},new int[]{377,379,382,833,835,838},new int[]{383,575,592,768,832},new int[]{386,392,393,854,860,861},new int[]{389,391,394,410,416,417},new int[]{395,419,420,827,851,852},new int[]{398,404,405,409,411,414},new int[]{401,403,406,905,907,910},new int[]{407,412,424,887,892,904},new int[]{413,415,418,421,423,426},new int[]{422,428,429,818,824,825},new int[]{425,427,430,881,883,886},new int[]{431,623,640,816,880},new int[]{434,440,441,902,908,909},new int[]{437,439,442,458,464,465},new int[]{443,467,468,875,899,900},new int[]{446,452,453,457,459,462},new int[]{449,451,454,953,955,958},new int[]{455,460,472,935,940,952},new int[]{461,463,466,469,471,474},new int[]{470,476,477,866,872,873},new int[]{473,475,478,929,931,934},new int[]{479,671,688,864,928},new int[]{480,528,576,624,672},new int[]{481,483,486,674,680,681},new int[]{482,488,489,529,531,534},new int[]{484,492,504,683,707,708},new int[]{485,487,490,506,512,513},new int[]{491,515,516,532,540,552},new int[]{493,495,498,710,716,717},new int[]{494,500,501,505,507,510},new int[]{497,499,502,733,735,738},new int[]{503,508,520,724,732,744},new int[]{509,511,514,517,519,522},new int[]{518,524,525,541,543,546},new int[]{521,523,526,721,723,726},new int[]{530,536,537,577,579,582},new int[]{533,535,538,554,560,561},new int[]{539,563,564,580,588,600},new int[]{542,548,549,553,555,558},new int[]{545,547,550,781,783,786},new int[]{551,556,568,772,780,792},new int[]{557,559,562,565,567,570},new int[]{566,572,573,589,591,594},new int[]{569,571,574,769,771,774},new int[]{578,584,585,625,627,630},new int[]{581,583,586,602,608,609},new int[]{587,611,612,628,636,648},new int[]{590,596,597,601,603,606},new int[]{593,595,598,829,831,834},new int[]{599,604,616,820,828,840},new int[]{605,607,610,613,615,618},new int[]{614,620,621,637,639,642},new int[]{617,619,622,817,819,822},new int[]{626,632,633,673,675,678},new int[]{629,631,634,650,656,657},new int[]{635,659,660,676,684,696},new int[]{638,644,645,649,651,654},new int[]{641,643,646,877,879,882},new int[]{647,652,664,868,876,888},new int[]{653,655,658,661,663,666},new int[]{662,668,669,685,687,690},new int[]{665,667,670,865,867,870},new int[]{677,679,682,698,704,705},new int[]{686,692,693,697,699,702},new int[]{689,691,694,925,927,930},new int[]{695,700,712,916,924,936},new int[]{701,703,706,709,711,714},new int[]{713,715,718,913,915,918},new int[]{725,727,730,746,752,753},new int[]{734,740,741,745,747,750},new int[]{749,751,754,757,759,762},new int[]{773,775,778,794,800,801},new int[]{782,788,789,793,795,798},new int[]{797,799,802,805,807,810},new int[]{821,823,826,842,848,849},new int[]{830,836,837,841,843,846},new int[]{845,847,850,853,855,858},new int[]{869,871,874,890,896,897},new int[]{878,884,885,889,891,894},new int[]{893,895,898,901,903,906},new int[]{917,919,922,938,944,945},new int[]{926,932,933,937,939,942},new int[]{941,943,946,949,951,954},});
|
|
61
|
+
private static Record CreateTorus()=>new Record("Torus",new Bounds(new Vector3(F(0),F(0),F(0)),new Vector3(F(1073741824),F(1058642330),F(1073741823))),768,new int[][]{new int[]{0,24,1,24,25,1},new int[]{2,26,3,26,27,3},new int[]{4,28,5,28,29,5},new int[]{6,30,7,30,31,7},new int[]{8,32,9,32,33,9},new int[]{10,34,11,34,35,11},new int[]{12,36,13,36,37,13},new int[]{14,38,15,38,39,15},new int[]{16,40,17,40,41,17},new int[]{18,42,19,42,43,19},new int[]{20,44,21,44,45,21},new int[]{22,46,23,46,47,23},new int[]{48,72,49,72,73,49},new int[]{50,74,51,74,75,51},new int[]{52,76,53,76,77,53},new int[]{54,78,55,78,79,55},new int[]{56,80,57,80,81,57},new int[]{58,82,59,82,83,59},new int[]{60,84,61,84,85,61},new int[]{62,86,63,86,87,63},new int[]{64,88,65,88,89,65},new int[]{66,90,67,90,91,67},new int[]{68,92,69,92,93,69},new int[]{70,94,71,94,95,71},new int[]{96,120,97,120,121,97},new int[]{98,122,99,122,123,99},new int[]{100,124,101,124,125,101},new int[]{102,126,103,126,127,103},new int[]{104,128,105,128,129,105},new int[]{106,130,107,130,131,107},new int[]{108,132,109,132,133,109},new int[]{110,134,111,134,135,111},new int[]{112,136,113,136,137,113},new int[]{114,138,115,138,139,115},new int[]{116,140,117,140,141,117},new int[]{118,142,119,142,143,119},new int[]{144,168,145,168,169,145},new int[]{146,170,147,170,171,147},new int[]{148,172,149,172,173,149},new int[]{150,174,151,174,175,151},new int[]{152,176,153,176,177,153},new int[]{154,178,155,178,179,155},new int[]{156,180,157,180,181,157},new int[]{158,182,159,182,183,159},new int[]{160,184,161,184,185,161},new int[]{162,186,163,186,187,163},new int[]{164,188,165,188,189,165},new int[]{166,190,167,190,191,167},new int[]{192,216,193,216,217,193},new int[]{194,218,195,218,219,195},new int[]{196,220,197,220,221,197},new int[]{198,222,199,222,223,199},new int[]{200,224,201,224,225,201},new int[]{202,226,203,226,227,203},new int[]{204,228,205,228,229,205},new int[]{206,230,207,230,231,207},new int[]{208,232,209,232,233,209},new int[]{210,234,211,234,235,211},new int[]{212,236,213,236,237,213},new int[]{214,238,215,238,239,215},new int[]{240,264,241,264,265,241},new int[]{242,266,243,266,267,243},new int[]{244,268,245,268,269,245},new int[]{246,270,247,270,271,247},new int[]{248,272,249,272,273,249},new int[]{250,274,251,274,275,251},new int[]{252,276,253,276,277,253},new int[]{254,278,255,278,279,255},new int[]{256,280,257,280,281,257},new int[]{258,282,259,282,283,259},new int[]{260,284,261,284,285,261},new int[]{262,286,263,286,287,263},new int[]{288,312,289,312,313,289},new int[]{290,314,291,314,315,291},new int[]{292,316,293,316,317,293},new int[]{294,318,295,318,319,295},new int[]{296,320,297,320,321,297},new int[]{298,322,299,322,323,299},new int[]{300,324,301,324,325,301},new int[]{302,326,303,326,327,303},new int[]{304,328,305,328,329,305},new int[]{306,330,307,330,331,307},new int[]{308,332,309,332,333,309},new int[]{310,334,311,334,335,311},new int[]{336,360,337,360,361,337},new int[]{338,362,339,362,363,339},new int[]{340,364,341,364,365,341},new int[]{342,366,343,366,367,343},new int[]{344,368,345,368,369,345},new int[]{346,370,347,370,371,347},new int[]{348,372,349,372,373,349},new int[]{350,374,351,374,375,351},new int[]{352,376,353,376,377,353},new int[]{354,378,355,378,379,355},new int[]{356,380,357,380,381,357},new int[]{358,382,359,382,383,359},new int[]{384,408,385,408,409,385},new int[]{386,410,387,410,411,387},new int[]{388,412,389,412,413,389},new int[]{390,414,391,414,415,391},new int[]{392,416,393,416,417,393},new int[]{394,418,395,418,419,395},new int[]{396,420,397,420,421,397},new int[]{398,422,399,422,423,399},new int[]{400,424,401,424,425,401},new int[]{402,426,403,426,427,403},new int[]{404,428,405,428,429,405},new int[]{406,430,407,430,431,407},new int[]{432,456,433,456,457,433},new int[]{434,458,435,458,459,435},new int[]{436,460,437,460,461,437},new int[]{438,462,439,462,463,439},new int[]{440,464,441,464,465,441},new int[]{442,466,443,466,467,443},new int[]{444,468,445,468,469,445},new int[]{446,470,447,470,471,447},new int[]{448,472,449,472,473,449},new int[]{450,474,451,474,475,451},new int[]{452,476,453,476,477,453},new int[]{454,478,455,478,479,455},new int[]{480,504,481,504,505,481},new int[]{482,506,483,506,507,483},new int[]{484,508,485,508,509,485},new int[]{486,510,487,510,511,487},new int[]{488,512,489,512,513,489},new int[]{490,514,491,514,515,491},new int[]{492,516,493,516,517,493},new int[]{494,518,495,518,519,495},new int[]{496,520,497,520,521,497},new int[]{498,522,499,522,523,499},new int[]{500,524,501,524,525,501},new int[]{502,526,503,526,527,503},new int[]{528,552,529,552,553,529},new int[]{530,554,531,554,555,531},new int[]{532,556,533,556,557,533},new int[]{534,558,535,558,559,535},new int[]{536,560,537,560,561,537},new int[]{538,562,539,562,563,539},new int[]{540,564,541,564,565,541},new int[]{542,566,543,566,567,543},new int[]{544,568,545,568,569,545},new int[]{546,570,547,570,571,547},new int[]{548,572,549,572,573,549},new int[]{550,574,551,574,575,551},new int[]{576,600,577,600,601,577},new int[]{578,602,579,602,603,579},new int[]{580,604,581,604,605,581},new int[]{582,606,583,606,607,583},new int[]{584,608,585,608,609,585},new int[]{586,610,587,610,611,587},new int[]{588,612,589,612,613,589},new int[]{590,614,591,614,615,591},new int[]{592,616,593,616,617,593},new int[]{594,618,595,618,619,595},new int[]{596,620,597,620,621,597},new int[]{598,622,599,622,623,599},new int[]{624,648,625,648,649,625},new int[]{626,650,627,650,651,627},new int[]{628,652,629,652,653,629},new int[]{630,654,631,654,655,631},new int[]{632,656,633,656,657,633},new int[]{634,658,635,658,659,635},new int[]{636,660,637,660,661,637},new int[]{638,662,639,662,663,639},new int[]{640,664,641,664,665,641},new int[]{642,666,643,666,667,643},new int[]{644,668,645,668,669,645},new int[]{646,670,647,670,671,647},new int[]{672,696,673,696,697,673},new int[]{674,698,675,698,699,675},new int[]{676,700,677,700,701,677},new int[]{678,702,679,702,703,679},new int[]{680,704,681,704,705,681},new int[]{682,706,683,706,707,683},new int[]{684,708,685,708,709,685},new int[]{686,710,687,710,711,687},new int[]{688,712,689,712,713,689},new int[]{690,714,691,714,715,691},new int[]{692,716,693,716,717,693},new int[]{694,718,695,718,719,695},new int[]{720,744,721,744,745,721},new int[]{722,746,723,746,747,723},new int[]{724,748,725,748,749,725},new int[]{726,750,727,750,751,727},new int[]{728,752,729,752,753,729},new int[]{730,754,731,754,755,731},new int[]{732,756,733,756,757,733},new int[]{734,758,735,758,759,735},new int[]{736,760,737,760,761,737},new int[]{738,762,739,762,763,739},new int[]{740,764,741,764,765,741},new int[]{742,766,743,766,767,743}},new int[][]{new int[]{0,23,744,767},new int[]{1,2,745,746},new int[]{3,4,747,748},new int[]{5,6,749,750},new int[]{7,8,751,752},new int[]{9,10,753,754},new int[]{11,12,755,756},new int[]{13,14,757,758},new int[]{15,16,759,760},new int[]{17,18,761,762},new int[]{19,20,763,764},new int[]{21,22,765,766},new int[]{24,47,48,71},new int[]{25,26,49,50},new int[]{27,28,51,52},new int[]{29,30,53,54},new int[]{31,32,55,56},new int[]{33,34,57,58},new int[]{35,36,59,60},new int[]{37,38,61,62},new int[]{39,40,63,64},new int[]{41,42,65,66},new int[]{43,44,67,68},new int[]{45,46,69,70},new int[]{72,95,96,119},new int[]{73,74,97,98},new int[]{75,76,99,100},new int[]{77,78,101,102},new int[]{79,80,103,104},new int[]{81,82,105,106},new int[]{83,84,107,108},new int[]{85,86,109,110},new int[]{87,88,111,112},new int[]{89,90,113,114},new int[]{91,92,115,116},new int[]{93,94,117,118},new int[]{120,143,144,167},new int[]{121,122,145,146},new int[]{123,124,147,148},new int[]{125,126,149,150},new int[]{127,128,151,152},new int[]{129,130,153,154},new int[]{131,132,155,156},new int[]{133,134,157,158},new int[]{135,136,159,160},new int[]{137,138,161,162},new int[]{139,140,163,164},new int[]{141,142,165,166},new int[]{168,191,192,215},new int[]{169,170,193,194},new int[]{171,172,195,196},new int[]{173,174,197,198},new int[]{175,176,199,200},new int[]{177,178,201,202},new int[]{179,180,203,204},new int[]{181,182,205,206},new int[]{183,184,207,208},new int[]{185,186,209,210},new int[]{187,188,211,212},new int[]{189,190,213,214},new int[]{216,239,240,263},new int[]{217,218,241,242},new int[]{219,220,243,244},new int[]{221,222,245,246},new int[]{223,224,247,248},new int[]{225,226,249,250},new int[]{227,228,251,252},new int[]{229,230,253,254},new int[]{231,232,255,256},new int[]{233,234,257,258},new int[]{235,236,259,260},new int[]{237,238,261,262},new int[]{264,287,288,311},new int[]{265,266,289,290},new int[]{267,268,291,292},new int[]{269,270,293,294},new int[]{271,272,295,296},new int[]{273,274,297,298},new int[]{275,276,299,300},new int[]{277,278,301,302},new int[]{279,280,303,304},new int[]{281,282,305,306},new int[]{283,284,307,308},new int[]{285,286,309,310},new int[]{312,335,336,359},new int[]{313,314,337,338},new int[]{315,316,339,340},new int[]{317,318,341,342},new int[]{319,320,343,344},new int[]{321,322,345,346},new int[]{323,324,347,348},new int[]{325,326,349,350},new int[]{327,328,351,352},new int[]{329,330,353,354},new int[]{331,332,355,356},new int[]{333,334,357,358},new int[]{360,383,384,407},new int[]{361,362,385,386},new int[]{363,364,387,388},new int[]{365,366,389,390},new int[]{367,368,391,392},new int[]{369,370,393,394},new int[]{371,372,395,396},new int[]{373,374,397,398},new int[]{375,376,399,400},new int[]{377,378,401,402},new int[]{379,380,403,404},new int[]{381,382,405,406},new int[]{408,431,432,455},new int[]{409,410,433,434},new int[]{411,412,435,436},new int[]{413,414,437,438},new int[]{415,416,439,440},new int[]{417,418,441,442},new int[]{419,420,443,444},new int[]{421,422,445,446},new int[]{423,424,447,448},new int[]{425,426,449,450},new int[]{427,428,451,452},new int[]{429,430,453,454},new int[]{456,479,480,503},new int[]{457,458,481,482},new int[]{459,460,483,484},new int[]{461,462,485,486},new int[]{463,464,487,488},new int[]{465,466,489,490},new int[]{467,468,491,492},new int[]{469,470,493,494},new int[]{471,472,495,496},new int[]{473,474,497,498},new int[]{475,476,499,500},new int[]{477,478,501,502},new int[]{504,527,528,551},new int[]{505,506,529,530},new int[]{507,508,531,532},new int[]{509,510,533,534},new int[]{511,512,535,536},new int[]{513,514,537,538},new int[]{515,516,539,540},new int[]{517,518,541,542},new int[]{519,520,543,544},new int[]{521,522,545,546},new int[]{523,524,547,548},new int[]{525,526,549,550},new int[]{552,575,576,599},new int[]{553,554,577,578},new int[]{555,556,579,580},new int[]{557,558,581,582},new int[]{559,560,583,584},new int[]{561,562,585,586},new int[]{563,564,587,588},new int[]{565,566,589,590},new int[]{567,568,591,592},new int[]{569,570,593,594},new int[]{571,572,595,596},new int[]{573,574,597,598},new int[]{600,623,624,647},new int[]{601,602,625,626},new int[]{603,604,627,628},new int[]{605,606,629,630},new int[]{607,608,631,632},new int[]{609,610,633,634},new int[]{611,612,635,636},new int[]{613,614,637,638},new int[]{615,616,639,640},new int[]{617,618,641,642},new int[]{619,620,643,644},new int[]{621,622,645,646},new int[]{648,671,672,695},new int[]{649,650,673,674},new int[]{651,652,675,676},new int[]{653,654,677,678},new int[]{655,656,679,680},new int[]{657,658,681,682},new int[]{659,660,683,684},new int[]{661,662,685,686},new int[]{663,664,687,688},new int[]{665,666,689,690},new int[]{667,668,691,692},new int[]{669,670,693,694},new int[]{696,719,720,743},new int[]{697,698,721,722},new int[]{699,700,723,724},new int[]{701,702,725,726},new int[]{703,704,727,728},new int[]{705,706,729,730},new int[]{707,708,731,732},new int[]{709,710,733,734},new int[]{711,712,735,736},new int[]{713,714,737,738},new int[]{715,716,739,740},new int[]{717,718,741,742},});
|
|
62
|
+
private static readonly Record[] Records = new Record[] { CreateCube(), CreateStair(), CreateCurvedStair(), CreatePrism(), CreateCylinder(), CreatePlane(), CreateDoor(), CreatePipe(), CreateCone(), CreateSprite(), CreateArch(), CreateSphere(), CreateTorus() };
|
|
63
|
+
|
|
64
|
+
internal static bool TryGet(string shape, out Record record)
|
|
65
|
+
{
|
|
66
|
+
for (var i = 0; i < Records.Length; i++)
|
|
67
|
+
if (Records[i].Shape == shape) { record = Records[i]; return true; }
|
|
68
|
+
record = null;
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
private static int[][] Copy(IEnumerable<int[]> values) => values.Select(value => (int[])value.Clone()).ToArray();
|
|
73
|
+
private static bool Same(IList<int> left, IList<int> right)
|
|
74
|
+
{
|
|
75
|
+
if (left == null || right == null || left.Count != right.Count) return false;
|
|
76
|
+
for (var i = 0; i < left.Count; i++) if (left[i] != right[i]) return false;
|
|
77
|
+
return true;
|
|
78
|
+
}
|
|
79
|
+
private static float F(int bits) => BitConverter.Int32BitsToSingle(bits);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
#endif
|