mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-02-01 16:08:17 +00:00
修改
This commit is contained in:
parent
bab6e2a84f
commit
b2dec1887f
@ -175,6 +175,32 @@ AddMenu.prototype.render = function () {
|
||||
container.render();
|
||||
}
|
||||
|
||||
// ------------------------- 组 ---------------------------------
|
||||
|
||||
// ------------------------- 平板 -------------------------------
|
||||
|
||||
// ------------------------ 正方体 -----------------------------
|
||||
|
||||
// ------------------------ 圆 ----------------------------------
|
||||
|
||||
// ------------------------圆柱体 -------------------------------
|
||||
|
||||
// ------------------------ 球体 -------------------------------
|
||||
|
||||
// ----------------------- 二十面体 -----------------------------
|
||||
|
||||
// ----------------------- 轮胎 ---------------------------------
|
||||
|
||||
// ----------------------- 纽结 ---------------------------------
|
||||
|
||||
// ---------------------- 茶壶 ----------------------------------
|
||||
|
||||
// ---------------------- 酒杯 ----------------------------------
|
||||
|
||||
// ---------------------- 精灵 -----------------------------------
|
||||
|
||||
// ---------------------- 文本 ----------------------------------
|
||||
|
||||
// ------------------------- 环境光 ------------------------------
|
||||
|
||||
AddMenu.prototype.addAmbientLight = function () {
|
||||
@ -246,8 +272,8 @@ AddMenu.prototype.addSpotLight = function () {
|
||||
// ------------------------- 半球光 ------------------------------
|
||||
|
||||
AddMenu.prototype.addHemisphereLight = function () {
|
||||
var editor = this.app.editor;
|
||||
|
||||
var editor = this.app.editor;
|
||||
var skyColor = 0x00aaff;
|
||||
var groundColor = 0xffaa00;
|
||||
var intensity = 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user