This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Camera Component to Component Shelf, Camera Prefab to Entity Shelf (
#10741) * renamed the folder for the camera properties created node editor for the camera component added to/from json code in the camera component added camera component to the ui shelf added camera prefab * wrapped this component in a <NodeEditor> element. * forgot to add the props --------- Co-authored-by: Rahul Ghosh <[email protected]>
- Loading branch information
Showing
9 changed files
with
354 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
packages/projects/default-project/assets/prefabs/camera.prefab.gltf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"asset": { | ||
"version": "2.0", | ||
"generator": "THREE.GLTFExporter" | ||
}, | ||
"scenes": [ | ||
{ | ||
"nodes": [ | ||
0 | ||
] | ||
} | ||
], | ||
"scene": 0, | ||
"nodes": [ | ||
{ | ||
"name": "Camera", | ||
"extensions": { | ||
"EE_uuid": "84e2c62f-0b85-4d4f-9c2e-c974dfa9d347", | ||
"EE_visible": true, | ||
"EE_camera": { | ||
"fov": 1000, | ||
"aspect": 1, | ||
"near": 0.1, | ||
"far": 1000 | ||
} | ||
} | ||
} | ||
], | ||
"extensionsUsed": [ | ||
"EE_uuid", | ||
"EE_visible", | ||
"EE_camera", | ||
"EE_ecs" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.