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

大约有 511 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0052 秒)

111. 材质-BlinnPhong-法线贴图 [ 73%]

...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); Laya.loader.create("../../res/threeDimen/staticModel/lizardCal/lizardCaclute.lh", Laya.Handler.create(this, onComplete)); function onComplete() { var monster1 = this.scene.addChild(Laya.Spri...

来源: Laya_示例 发布时间: 20250222

112. 请问HTMLDivElement怎么加垂直滚动条 [ 73%]

...bsolute;width:495px;height:329px;overflow-y:scroll;border-width:1px;border-color:Red;border-style:solid;font-size:16px;color:#fff;'><p style='color:#999;right:20px'>2021-01-21 10:25:10</p>bbb>>bbb 加入了聊天室<br/>bbb>>啊实打实的鬼斧神工风神股份时...

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

113. 材质-BlinnPhong-高光贴图 [ 73%]

...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var completeHandler = Laya.Handler.create(this, onComplete); Laya.loader.create("../../res/threeDimen/skinModel/dude/dude.lh", completeHandler); function onComplete() { var dude1 = this.scen...

来源: Laya_示例 发布时间: 20250222

114. 富文本排版问题 [ 73%]

...ing = "";   htmlStr += "<span style='font-weight:bold;font:24px Arial' color='#fafbf9'>累计进行关卡</span>"; htmlStr += "<span style='font-weight:bold;font:48px Arial;valign:top' color='#84ED4A'>3</span>"; htmlStr += "<span style='font-weight:bold;font:24px Arial' c...

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

115. flag的问题 [ 73%]

...36, 640, WebGL);                       Laya.stage.bgColor = "#ffffff";                   //以500毫秒的时间间隔播放颜色切换的矩形         Laya.timer.loop(500, this, createRect);               })();       function ...

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

116. laya.d3.core.render.posteffect.BloomEffect_API3.0 [ 73%]

...fect Index Constructors constructor Accessors active anamorphicRatio clamp color diffusion dirtIntensity dirtTexture fastMode intensity softKnee threshold Methods effectInit getCameraDepthTextureModeFlag release CompositeInit __initDefine__ init Constructors constructor new BloomEffect(): BloomEffec...

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

117. 鼠标交互-修正交互区域 [ 72%]

...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { buildWorld(); createLogger(); } function buildWorld() { createCoralRect(); createDeepSkyblueRect(); createDarkOrchidRect(); // 设置舞台 Laya.stage.name = "暗灰色舞...

来源: Laya_示例 发布时间: 20250222

118. 鼠标交互-键盘交互 [ 72%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.listenKeyboard(); this.createLogger(); Laya.timer.frameLoop(1, this, this.keyboardInspector); } listenKeyboard() { const Event = Laya.Event; // 用Set实现更好...

来源: Laya2.0_示例 发布时间: 20250222

119. 使用Bloom后处理后微信ios部分机型闪退 [ 72%]

...       bloom.anamorphicRatio = 0.0;             bloom.color = new Laya.Color(1, 1, 1, 1);             bloom.fastMode = true; 附件 : --> 2021-07-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

120. 鼠标交互-修正交互区域 [ 72%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.buildWorld(); this.createLogger(); } buildWorld() { const Event = Laya.Event; this.createCoralRect(); this.createDeepSkyblueRect(); this.createDarkOrchidRect(); /...

来源: Laya2.0_示例 发布时间: 20250222