forked from Lngramos/three
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathgen_object3d_ambient_light.go
More file actions
40 lines (30 loc) · 934 Bytes
/
gen_object3d_ambient_light.go
File metadata and controls
40 lines (30 loc) · 934 Bytes
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
package three
// Code generated by go generate; DO NOT EDIT.
//
// using the following cmd:
// object3d_method_generator -typeName AmbientLight -typeSlug ambient_light
import "github.com/gopherjs/gopherjs/js"
func (obj *AmbientLight) ApplyMatrix(matrix *Matrix4) {
obj.Call("applyMatrix", matrix)
}
func (obj *AmbientLight) Add(m Object3D) {
obj.Object.Call("add", m)
}
func (obj *AmbientLight) Remove(m *js.Object) {
obj.Object.Call("remove", m)
}
func (obj *AmbientLight) GetObjectById(id int) *js.Object {
return obj.Call("getObjectById", id)
}
// func (obj *AmbientLight) Copy() *AmbientLight {
// return &AmbientLight{Object: obj.getInternalObject().Call("copy")}
// }
func (obj *AmbientLight) ToJSON() interface{} {
return obj.Object.Call("toJSON").Interface()
}
func (obj *AmbientLight) getInternalObject() *js.Object {
return obj.Object
}
func (obj *AmbientLight) UpdateMatrix() {
obj.Call("updateMatrix")
}