Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.
Contoh dari skema lengkap
Contoh berikut menunjukkan file teksYAML -formatted yang menggambarkan simulasi SimSpace Weaver. Contoh ini mencakup nilai-nilai dummy untuk properti. LihatFormat skema deskripsi lengkap tentang properti dan nilai validnya.
sdk_version: "1.12" simulation_properties: log_destination_resource_name: "MySimulationLogs" log_destination_service: "logs" default_entity_index_key_type: "Vector3<f32>" workers: MyComputeWorkers: type: "sim.c5.24xlarge" desired: 3 clock: tick_rate: 30 partitioning_strategies: MyGridPartitioning: topology: "Grid" aabb_bounds: x: [-1000, 1000] y: [-1000, 1000] grid_placement_groups: x: 3 y: 3 domains: MyCustomDomain: launch_apps_via_start_app_call: {} app_config: package: "s3://example-bucket/BootstrappingApp.zip" launch_command: ["BootstrappingApp"] required_resource_units: compute: 1 endpoint_config: ingress_ports: [9000, 9001] MyServiceDomain: launch_apps_per_worker: count: 1 app_config: package: "s3://example-bucket/PlayerConnectionServiceApp.zip" launch_command: ["PlayerConnectionServiceApp"] required_resource_units: compute: 1 endpoint_config: ingress_ports: - 9000 - 9001 MySpatialDomain: launch_apps_by_partitioning_strategy: partitioning_strategy: "MyGridPartitioning" grid_partition: x: 6 y: 6 app_config: package: "s3://example-bucket/PathfindingSampleApp.zip" launch_command: ["PathfindingSampleApp"] required_resource_units: compute: 1 app_config: package: "s3://example-bucket/OtherSpatialApp.zip" launch_command: ["OtherSpatialApp"] required_resource_units: compute: 1