mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-02-01 16:08:17 +00:00
点光源帮助器起名字。
This commit is contained in:
parent
8e6d6902da
commit
e475b6be13
@ -8,6 +8,7 @@ function PointLight(color, intensity, distance, decay) {
|
||||
var material = new THREE.MeshBasicMaterial({ color: color });
|
||||
var mesh = new THREE.Mesh(geometry, material);
|
||||
|
||||
mesh.name = '小球';
|
||||
mesh.userData.type = 'helper';
|
||||
|
||||
this.add(mesh);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user