-
Notifications
You must be signed in to change notification settings - Fork 44
/
spotlight-scene.mojo3d
122 lines (122 loc) · 2.57 KB
/
spotlight-scene.mojo3d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"assetsDir":"modules/mojo3d/tests/assets/",
"instances":[{
"ctor":{
"args":[true],
"decl":"mojo3d.Scene.New",
"type":"Void(Bool)"
},
"id":"#0",
"state":{
"ShadowAlpha":0.75
},
"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,
"Color":[8,8,8,8],
"LocalMatrix":[1,0,0,0,-4.3711388286737929e-08,1,0,-1,-4.3711388286737929e-08,0,10,0],
"OuterAngle":45,
"Range":15,
"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"
}]
}