|
@@ -6,7 +6,10 @@
|
|
"decl":"mojo3d.Scene.New",
|
|
"decl":"mojo3d.Scene.New",
|
|
"type":"Void(Bool)"
|
|
"type":"Void(Bool)"
|
|
},
|
|
},
|
|
- "id":0,
|
|
|
|
|
|
+ "id":"#0",
|
|
|
|
+ "state":{
|
|
|
|
+ "ShadowAlpha":0.75
|
|
|
|
+ },
|
|
"type":"mojo3d.Scene"
|
|
"type":"mojo3d.Scene"
|
|
},{
|
|
},{
|
|
"ctor":{
|
|
"ctor":{
|
|
@@ -14,18 +17,18 @@
|
|
"decl":"mojo3d.Camera.New",
|
|
"decl":"mojo3d.Camera.New",
|
|
"type":"Void(mojo3d.Entity)"
|
|
"type":"Void(mojo3d.Entity)"
|
|
},
|
|
},
|
|
- "id":1,
|
|
|
|
|
|
+ "id":"#1",
|
|
"state":{
|
|
"state":{
|
|
"LocalMatrix":[1,0,0,0,1,0,0,0,1,0,2.5,-10]
|
|
"LocalMatrix":[1,0,0,0,1,0,0,0,1,0,2.5,-10]
|
|
},
|
|
},
|
|
"type":"mojo3d.Camera"
|
|
"type":"mojo3d.Camera"
|
|
},{
|
|
},{
|
|
"ctor":{
|
|
"ctor":{
|
|
- "args":["@1"],
|
|
|
|
|
|
+ "args":["#1"],
|
|
"decl":"mojo3d.FlyBehaviour.New",
|
|
"decl":"mojo3d.FlyBehaviour.New",
|
|
"type":"Void(mojo3d.Entity)"
|
|
"type":"Void(mojo3d.Entity)"
|
|
},
|
|
},
|
|
- "id":2,
|
|
|
|
|
|
+ "id":"#2",
|
|
"type":"mojo3d.FlyBehaviour"
|
|
"type":"mojo3d.FlyBehaviour"
|
|
},{
|
|
},{
|
|
"ctor":{
|
|
"ctor":{
|
|
@@ -33,13 +36,14 @@
|
|
"decl":"mojo3d.Light.New",
|
|
"decl":"mojo3d.Light.New",
|
|
"type":"Void(mojo3d.Entity)"
|
|
"type":"Void(mojo3d.Entity)"
|
|
},
|
|
},
|
|
- "id":3,
|
|
|
|
|
|
+ "id":"#3",
|
|
"state":{
|
|
"state":{
|
|
"CastsShadow":true,
|
|
"CastsShadow":true,
|
|
|
|
+ "Color":[8,8,8,8],
|
|
"LocalMatrix":[1,0,0,0,-4.3711388286737929e-08,1,0,-1,-4.3711388286737929e-08,0,10,0],
|
|
"LocalMatrix":[1,0,0,0,-4.3711388286737929e-08,1,0,-1,-4.3711388286737929e-08,0,10,0],
|
|
"OuterAngle":45,
|
|
"OuterAngle":45,
|
|
- "Range":25,
|
|
|
|
- "Texture":"@4",
|
|
|
|
|
|
+ "Range":15,
|
|
|
|
+ "Texture":"#4",
|
|
"Type":3
|
|
"Type":3
|
|
},
|
|
},
|
|
"type":"mojo3d.Light"
|
|
"type":"mojo3d.Light"
|
|
@@ -47,10 +51,10 @@
|
|
"ctor":{
|
|
"ctor":{
|
|
"args":["asset::monkey2-logo.png",12,false],
|
|
"args":["asset::monkey2-logo.png",12,false],
|
|
"decl":"mojo3d.Scene.LoadTexture",
|
|
"decl":"mojo3d.Scene.LoadTexture",
|
|
- "inst":"@0",
|
|
|
|
|
|
+ "inst":"#0",
|
|
"type":"mojo.graphics.Texture(String,mojo.graphics.TextureFlags,Bool)"
|
|
"type":"mojo.graphics.Texture(String,mojo.graphics.TextureFlags,Bool)"
|
|
},
|
|
},
|
|
- "id":4,
|
|
|
|
|
|
+ "id":"#4",
|
|
"type":"mojo.graphics.Texture"
|
|
"type":"mojo.graphics.Texture"
|
|
},{
|
|
},{
|
|
"ctor":{
|
|
"ctor":{
|
|
@@ -58,7 +62,7 @@
|
|
"decl":"mojo3d.PbrMaterial.New",
|
|
"decl":"mojo3d.PbrMaterial.New",
|
|
"type":"Void(std.graphics.Color,Float,Float)"
|
|
"type":"Void(std.graphics.Color,Float,Float)"
|
|
},
|
|
},
|
|
- "id":5,
|
|
|
|
|
|
+ "id":"#5",
|
|
"type":"mojo3d.PbrMaterial"
|
|
"type":"mojo3d.PbrMaterial"
|
|
},{
|
|
},{
|
|
"ctor":{
|
|
"ctor":{
|
|
@@ -66,15 +70,15 @@
|
|
"decl":"mojo3d.Mesh.CreateBox",
|
|
"decl":"mojo3d.Mesh.CreateBox",
|
|
"type":"mojo3d.Mesh(std.geom.Box<monkey.types.Float>,Int,Int,Int)"
|
|
"type":"mojo3d.Mesh(std.geom.Box<monkey.types.Float>,Int,Int,Int)"
|
|
},
|
|
},
|
|
- "id":6,
|
|
|
|
|
|
+ "id":"#6",
|
|
"type":"mojo3d.Mesh"
|
|
"type":"mojo3d.Mesh"
|
|
},{
|
|
},{
|
|
"ctor":{
|
|
"ctor":{
|
|
- "args":["@6","@5",null],
|
|
|
|
|
|
+ "args":["#6","#5",null],
|
|
"decl":"mojo3d.Model.New",
|
|
"decl":"mojo3d.Model.New",
|
|
"type":"Void(mojo3d.Mesh,mojo3d.Material,mojo3d.Entity)"
|
|
"type":"Void(mojo3d.Mesh,mojo3d.Material,mojo3d.Entity)"
|
|
},
|
|
},
|
|
- "id":7,
|
|
|
|
|
|
+ "id":"#7",
|
|
"type":"mojo3d.Model"
|
|
"type":"mojo3d.Model"
|
|
},{
|
|
},{
|
|
"ctor":{
|
|
"ctor":{
|
|
@@ -82,7 +86,7 @@
|
|
"decl":"mojo3d.PbrMaterial.New",
|
|
"decl":"mojo3d.PbrMaterial.New",
|
|
"type":"Void(std.graphics.Color,Float,Float)"
|
|
"type":"Void(std.graphics.Color,Float,Float)"
|
|
},
|
|
},
|
|
- "id":8,
|
|
|
|
|
|
+ "id":"#8",
|
|
"type":"mojo3d.PbrMaterial"
|
|
"type":"mojo3d.PbrMaterial"
|
|
},{
|
|
},{
|
|
"ctor":{
|
|
"ctor":{
|
|
@@ -90,26 +94,26 @@
|
|
"decl":"mojo3d.Mesh.CreateTorus",
|
|
"decl":"mojo3d.Mesh.CreateTorus",
|
|
"type":"mojo3d.Mesh(Float,Float,Int,Int)"
|
|
"type":"mojo3d.Mesh(Float,Float,Int,Int)"
|
|
},
|
|
},
|
|
- "id":9,
|
|
|
|
|
|
+ "id":"#9",
|
|
"type":"mojo3d.Mesh"
|
|
"type":"mojo3d.Mesh"
|
|
},{
|
|
},{
|
|
"ctor":{
|
|
"ctor":{
|
|
- "args":["@9","@8",null],
|
|
|
|
|
|
+ "args":["#9","#8",null],
|
|
"decl":"mojo3d.Model.New",
|
|
"decl":"mojo3d.Model.New",
|
|
"type":"Void(mojo3d.Mesh,mojo3d.Material,mojo3d.Entity)"
|
|
"type":"Void(mojo3d.Mesh,mojo3d.Material,mojo3d.Entity)"
|
|
},
|
|
},
|
|
- "id":10,
|
|
|
|
|
|
+ "id":"#10",
|
|
"state":{
|
|
"state":{
|
|
"LocalMatrix":[1,0,0,0,1,0,0,0,1,0,2.5,0]
|
|
"LocalMatrix":[1,0,0,0,1,0,0,0,1,0,2.5,0]
|
|
},
|
|
},
|
|
"type":"mojo3d.Model"
|
|
"type":"mojo3d.Model"
|
|
},{
|
|
},{
|
|
"ctor":{
|
|
"ctor":{
|
|
- "args":["@10"],
|
|
|
|
|
|
+ "args":["#10"],
|
|
"decl":"mojo3d.RotateBehaviour.New",
|
|
"decl":"mojo3d.RotateBehaviour.New",
|
|
"type":"Void(mojo3d.Entity)"
|
|
"type":"Void(mojo3d.Entity)"
|
|
},
|
|
},
|
|
- "id":11,
|
|
|
|
|
|
+ "id":"#11",
|
|
"state":{
|
|
"state":{
|
|
"Speed":[0.20000000298023224,0.40000000596046448,0.60000002384185791]
|
|
"Speed":[0.20000000298023224,0.40000000596046448,0.60000002384185791]
|
|
},
|
|
},
|