• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 392 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0075 秒)

221. Laya3D开启透明通道和舞台背景透明后资源的表现问题 [ 79%]

...的背景色混合时舞台清除颜色的不同导致的,使用默认的stage.bgColor或者设置stage.bgColor = "black"时,framebuffer的clearColor(0,0,0,1);设置stage.bgColor = null时,framebuffer的clearColor(0,0,0,0)。您可以使用默认的stage.bgColor或者设置stage.bgColo...

来源: Laya_社区 发布时间: 20220530

222. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 79%]

...检测本节点。当值false时,会优先检测子节点,一直到stage上的全部节点都递归检测完毕。 1. Mouse Enabled: 默认false,如果在脚本代码中监听鼠标事件,则会自动设置本对象及父节点的MouseEnabled属性值都 true。但若将父节点...

来源: Laya3.0_文档 发布时间: 20251010

223. laya.ui.Slider_API3.0 [ 79%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask max min mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY sc...

来源: Laya3.0_api 发布时间: 20231115

224. TypeError: this._childs is null [ 79%]

TypeError: this._childs is null 用了Laya.stage.destroyChildren();之后出错 TypeError: this._childs is null 看不懂啊! 救命啊!!!!!!   还有火狐提示 HTTP "Content-Type" 中的 "text/html" 不支持。媒体资源加载失败。 无法播放媒体。没有相应格式的...

来源: Laya_社区 发布时间: 20171206

225. 位图切片组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 78%]

...建完毕,此方法只执行一次 onAwake(): void { this.clip.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); // 位置 this.clip.skin = "atlas/comp/clip_num.png"; // 皮肤 this.clip.interval = 1000; // 切片动画的播放时间间隔1000毫秒 this.clip.clipX = 10; // 切片x...

来源: Laya3.0_文档 发布时间: 20251010

226. laya.ui.Tree_API3.0 [ 78%]

... Tree_Example { public function Tree_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox....

来源: Laya3.0_api 发布时间: 20231115

227. laya.display.Input_API3.0 [ 78%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize editable filters focus font fontSize globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea html htmlParseOptions is3D italic leading lines mask maxChars maxScrollX maxScrollY maxWid...

来源: Laya3.0_api 发布时间: 20231115

228. laya.d3.core.scene.Scene3D_API3.0 [ 78%]

...ullPass customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize enableFog filters fogColor fogDensity fogEnd fogMode fogRange fogStart globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea iblTex iblTexRGBD is3D lightmaps mask mouseEnabled mouse...

来源: Laya3.0_api 发布时间: 20231115

229. 正交相机要怎么控制啊,坐标什么的全部懵!看了这个官方示例表示不懂,什么还要转化2D坐标? [ 78%]

...享 微博 QZONE 微信 sfsmmc 赞同来自: Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var dialog = Laya.stage.addChild(new Laya.Image("../../res/threeDimen/texture/earth.png")); var scene = Laya.stage.addChild(new Laya.Sce...

来源: Laya_社区 发布时间: 20170807

230. unity 导出模型 [ 78%]

...现附件1中错误1. 以下是加载代码  Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.t...

来源: Laya_社区 发布时间: 20170515