|
@@ -0,0 +1,118 @@
|
|
|
+{
|
|
|
+ "assetsDir":"modules/mojo3d/tests/assets/",
|
|
|
+ "instances":[{
|
|
|
+ "ctor":{
|
|
|
+ "args":[true],
|
|
|
+ "decl":"mojo3d.Scene.New",
|
|
|
+ "type":"Void(Bool)"
|
|
|
+ },
|
|
|
+ "id":0,
|
|
|
+ "type":"mojo3d.Scene"
|
|
|
+ },{
|
|
|
+ "ctor":{
|
|
|
+ "args":[null],
|
|
|
+ "decl":"mojo3d.Camera.New",
|
|
|
+ "type":"Void(mojo3d.Entity)"
|
|
|
+ },
|
|
|
+ "id":1,
|
|
|
+ "state":{
|
|
|
+ "LocalMatrix":[1,0,0,0,1,0,0,0,1,0,2.5,-10]
|
|
|
+ },
|
|
|
+ "type":"mojo3d.Camera"
|
|
|
+ },{
|
|
|
+ "ctor":{
|
|
|
+ "args":["@1"],
|
|
|
+ "decl":"mojo3d.FlyBehaviour.New",
|
|
|
+ "type":"Void(mojo3d.Entity)"
|
|
|
+ },
|
|
|
+ "id":2,
|
|
|
+ "type":"mojo3d.FlyBehaviour"
|
|
|
+ },{
|
|
|
+ "ctor":{
|
|
|
+ "args":[null],
|
|
|
+ "decl":"mojo3d.Light.New",
|
|
|
+ "type":"Void(mojo3d.Entity)"
|
|
|
+ },
|
|
|
+ "id":3,
|
|
|
+ "state":{
|
|
|
+ "CastsShadow":true,
|
|
|
+ "LocalMatrix":[1,0,0,0,-4.3711388286737929e-08,1,0,-1,-4.3711388286737929e-08,0,10,0],
|
|
|
+ "OuterAngle":45,
|
|
|
+ "Range":25,
|
|
|
+ "Texture":"@4",
|
|
|
+ "Type":3
|
|
|
+ },
|
|
|
+ "type":"mojo3d.Light"
|
|
|
+ },{
|
|
|
+ "ctor":{
|
|
|
+ "args":["asset::monkey2-logo.png",12,false],
|
|
|
+ "decl":"mojo3d.Scene.LoadTexture",
|
|
|
+ "inst":"@0",
|
|
|
+ "type":"mojo.graphics.Texture(String,mojo.graphics.TextureFlags,Bool)"
|
|
|
+ },
|
|
|
+ "id":4,
|
|
|
+ "type":"mojo.graphics.Texture"
|
|
|
+ },{
|
|
|
+ "ctor":{
|
|
|
+ "args":[[0.69999998807907104,0.40000000596046448,0.10000000149011612,1],0,1],
|
|
|
+ "decl":"mojo3d.PbrMaterial.New",
|
|
|
+ "type":"Void(std.graphics.Color,Float,Float)"
|
|
|
+ },
|
|
|
+ "id":5,
|
|
|
+ "type":"mojo3d.PbrMaterial"
|
|
|
+ },{
|
|
|
+ "ctor":{
|
|
|
+ "args":[[-100,-1,-100,100,0,100],1,1,1],
|
|
|
+ "decl":"mojo3d.Mesh.CreateBox",
|
|
|
+ "type":"mojo3d.Mesh(std.geom.Box<monkey.types.Float>,Int,Int,Int)"
|
|
|
+ },
|
|
|
+ "id":6,
|
|
|
+ "type":"mojo3d.Mesh"
|
|
|
+ },{
|
|
|
+ "ctor":{
|
|
|
+ "args":["@6","@5",null],
|
|
|
+ "decl":"mojo3d.Model.New",
|
|
|
+ "type":"Void(mojo3d.Mesh,mojo3d.Material,mojo3d.Entity)"
|
|
|
+ },
|
|
|
+ "id":7,
|
|
|
+ "type":"mojo3d.Model"
|
|
|
+ },{
|
|
|
+ "ctor":{
|
|
|
+ "args":[[1,1,1,1],0,1],
|
|
|
+ "decl":"mojo3d.PbrMaterial.New",
|
|
|
+ "type":"Void(std.graphics.Color,Float,Float)"
|
|
|
+ },
|
|
|
+ "id":8,
|
|
|
+ "type":"mojo3d.PbrMaterial"
|
|
|
+ },{
|
|
|
+ "ctor":{
|
|
|
+ "args":[2,0.5,48,24],
|
|
|
+ "decl":"mojo3d.Mesh.CreateTorus",
|
|
|
+ "type":"mojo3d.Mesh(Float,Float,Int,Int)"
|
|
|
+ },
|
|
|
+ "id":9,
|
|
|
+ "type":"mojo3d.Mesh"
|
|
|
+ },{
|
|
|
+ "ctor":{
|
|
|
+ "args":["@9","@8",null],
|
|
|
+ "decl":"mojo3d.Model.New",
|
|
|
+ "type":"Void(mojo3d.Mesh,mojo3d.Material,mojo3d.Entity)"
|
|
|
+ },
|
|
|
+ "id":10,
|
|
|
+ "state":{
|
|
|
+ "LocalMatrix":[1,0,0,0,1,0,0,0,1,0,2.5,0]
|
|
|
+ },
|
|
|
+ "type":"mojo3d.Model"
|
|
|
+ },{
|
|
|
+ "ctor":{
|
|
|
+ "args":["@10"],
|
|
|
+ "decl":"mojo3d.RotateBehaviour.New",
|
|
|
+ "type":"Void(mojo3d.Entity)"
|
|
|
+ },
|
|
|
+ "id":11,
|
|
|
+ "state":{
|
|
|
+ "Speed":[0.20000000298023224,0.40000000596046448,0.60000002384185791]
|
|
|
+ },
|
|
|
+ "type":"mojo3d.RotateBehaviour"
|
|
|
+ }]
|
|
|
+}
|