default mesh collider are generated by default mesh, add camera info serialization, using error info instead of assert to process missing filepath when deserializing scene, move cullface into internal renderer api, fixed dynamic vertex buffer bug

This commit is contained in:
2026-01-19 13:05:24 +08:00
parent 81b52abf0f
commit 323d646611
32 changed files with 646 additions and 307 deletions

View File

@ -18,13 +18,13 @@ Entities:
StoredFields:
- Name: WalkingSpeed
Type: 1
Data: 20
Data: 4
- Name: RunSpeed
Type: 1
Data: 50
Data: 10
- Name: JumpForce
Type: 1
Data: 50
Data: 1
- Name: MouseSensitivity
Type: 1
Data: 10
@ -147,7 +147,14 @@ Entities:
Rotation: [0, 0, 0]
Scale: [1, 1, 1]
CameraComponent:
Camera: some camera data...
Camera:
ProjectionType: 0
PerspectiveFOV: 65
PerspectiveNear: 0.100000001
PerspectiveFar: 1000
OrthographicSize: 10
OrthographicNear: -1
OrthographicFar: 1
Primary: true
- Entity: 18306113171518048249
TagComponent:
@ -186,7 +193,7 @@ Entities:
Rotation: [0, 0, 0]
Scale: [1, 1, 1]
SkyLightComponent:
EnvironmentAssetPath: assets\env\birchwood_4k.hdr
EnvironmentAssetPath: assets/env/birchwood_4k.hdr
Intensity: 1
Angle: 0
PhysicsLayers: