Files
onboarding-project/src/configUIParams/globalSettings.ts
T
Oleksandr Vlasiuk ce86f54777 Import map model and frame camera at the road start
Registers ZombiePunk_Map.glb as a mesh resource, loads it into the scene
(hiding physics-only collider proxies), and sets initial camera position/
rotation for portrait and landscape to look at the start of the road.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-07 15:32:40 +03:00

144 lines
2.5 KiB
TypeScript

import { ConfigUiParamsCategories } from "@hitplay/ads_common";
export const globalSettings: ConfigUiParamsCategories[] = [
{
id: "global",
name: "Scene settings",
params: [
{
id: "light_intensity",
name: "Light intensity",
type: "float",
values: [
0,
5,
1
]
},
{
id: "light_color",
name: "Main light color",
type: "color",
values: [
"0xFFFFFF"
]
},
{
id: "camera_fov_p",
name: "Camera FOV (portrait)",
type: "int",
values: [
30,
150,
60
]
},
{
id: "camera_position_p",
name: "Camera position (portrait)",
type: "float",
array: true,
visible: "position",
values: [
[
-20,
30,
-2
],
[
-5,
40,
5
],
[
-20,
70,
42
]
]
},
{
id: "camera_rotation_p",
name: "Camera rotation (portrait)",
type: "int",
array: true,
visible: "position",
values: [
[
-360,
360,
-25
],
[
-360,
360,
0
],
[
-360,
360,
0
]
]
},
{
id: "camera_fov_l",
name: "Camera FOV (landscape)",
type: "int",
values: [
30,
150,
60
]
},
{
id: "camera_position_l",
name: "Camera position (landscape)",
type: "float",
array: true,
visible: "position",
values: [
[
-20,
30,
-2
],
[
-5,
40,
6
],
[
-20,
70,
37
]
]
},
{
id: "camera_rotation_l",
name: "Camera rotation (landscape)",
type: "int",
array: true,
visible: "position",
values: [
[
-360,
360,
-60
],
[
-360,
360,
0
],
[
-360,
360,
0
]
]
}
]
}
]