Scene prefabs
This commit is contained in:
+1
-38
@@ -1,48 +1,11 @@
|
||||
{
|
||||
"extend": "OVERWORLDSCENE",
|
||||
"entities": [
|
||||
{
|
||||
"name": "camera",
|
||||
"components": [
|
||||
{
|
||||
"type": "POSITION",
|
||||
"x": 10, "y": 10, "z": 10,
|
||||
"lookAt": { "x": 0, "y": 0, "z": 0 }
|
||||
},
|
||||
{
|
||||
"type": "CAMERA",
|
||||
"projType": "PERSPECTIVE",
|
||||
"nearClip": 0.1, "farClip": 1000,
|
||||
"fov": 0.9
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"components": [
|
||||
{ "type": "POSITION", "x": 0, "y": 1, "z": 0, "parent": "camera" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "player",
|
||||
"extend": "PLAYER"
|
||||
},
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"type": "POSITION",
|
||||
"x": 0, "y": 0, "z": 0.85,
|
||||
"parent": "player",
|
||||
"scale": { "x": 0.7, "y": 0.7, "z": 0.7 }
|
||||
},
|
||||
{
|
||||
"type": "RENDERABLE",
|
||||
"renderType": "SHADER_MATERIAL",
|
||||
"priority": 0,
|
||||
"shaderType": "UNLIT",
|
||||
"color": { "r": 80, "g": 160, "b": 255, "a": 255 },
|
||||
"displayState": { "cull": false, "depthTest": true, "blend": false }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "testArea",
|
||||
"components": [
|
||||
|
||||
Reference in New Issue
Block a user