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

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

411. laya.d3.core.light.LightSprite_API3.0 [ 65%]

...a _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowR...

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

412. Layabox web 复制一段文字到剪贴板 [ 64%]

...:260px; margin-left:-200px;margin-top:-150px; visibility:hidden;background-color:#fff;z-index:100;border:1px solid grey;overflow: hidden;} .MyContent{position:fixed;left:50%;top:50%;} .MyBtn{width:100%;height:18%;background-color:white;} #confirm{position:fixed;left:49%;top:53%;font-size:30px;color:...

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

413. 缓动 · LayaAir3.4 · 引擎文档 · LAYABOX [ 64%]

...型支持不仅限于number,还新增了对Vector2、Vector3、Vector4、Color、Point以及字符串形式颜色值的支持。新的Tween对象设计得非常轻量,因此默认不重用,以避免因对象重用而引发的问题。此外,新系统不再使用Handler,从而杜绝了Handl...

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

414. QQ玩一玩打包问题 [ 64%]

...,version:'4181',<br> qqPlayCore log user :<br> <span style="color:#FF0000;">Error: 禁止使用关键字:sc.push_new_msg.local</span> <br> <span style="color:#FF0000;">Error: exit error</span> <br> </p> 搜到https://ask.layabox.com/question/14...

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

415. 2D聚光灯 · LayaAir3.4 · 引擎文档 · LAYABOX [ 64%]

...ponent = this.spotLight.getComponent(Laya.SpotLight2D); spotLightComponent.color = new Laya.Color(1, 0.812, 1); spotLightComponent.intensity = 1.0; spotLightComponent.innerRadius = 50; spotLightComponent.outerRadius = 200; spotLightComponent.innerAngle = 50; spotLightComponent.outerAngle = 150; } } ...

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

416. 图像组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 64%]

...边距、右边距、下边距、左边距、是否重复填充。 颜色 color 更改图片颜色。 资源分组 Group 加载分组,设置后可以按组管理资源。 这里详细说明一下九宫格的设置。假设有一张位图,如图1-4所示,它的边框颜色正好符合作为一...

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

417. 【LIST无法拖动】参照官方实例做的 [ 64%]

...hangbang.y -= (paihangbang.fontSize + 20);         paihangbang.color="#ffffff";                   list.addChild(paihangbang);                  // 使用但隐藏滚动条         list.vScrollBarSkin = "";         list.selectEnable = t...

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

418. 实线描边的滤镜如何实现?目前只有发光滤镜 [ 64%]

...-11-04 0 0 分享 微博 QZONE 微信 老牛2020 赞同来自: vec3 outlineColor = vec3(0.0, 1.0, 0.0);\r\nvec2 textureSize = vec2(84, 84);\r\nvec4 myC = texture2D(texture, v_texcoordAlpha.xy);\r\nif (myC.a >= 0.5)\r\n{\r\ngl_FragColor = v_color * myC;\r\nreturn;\r\n}\r\nint strokeCount = 0;\r\ns...

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

419. laya.d3.core.render.BaseRender [ 64%]

...nt, buffer:Float32Array):void 设置Buffer。 BaseRender  _setShaderValueColor(shaderIndex:int, color:*):void 设置颜色。 BaseRender  _setShaderValueInt(shaderIndex:int, i:int):void 设置整型。 BaseRender  _setShaderValueNumber(shaderIndex:int, number:Number):void 设置浮点。 BaseR...

来源: laya_api 发布时间: 20170929

420. 灯光-点光 [ 64%]

...光源 var pointLight = scene.addChild(new Laya.PointLight()); pointLight.color = new Laya.Vector3(0.1189446, 0.5907708, 0.7352941); pointLight.transform.position = new Laya.Vector3(0.4, 0.4, 0.0); pointLight.attenuation = new Laya.Vector3(0.0, 0.0, 3.0); pointLight.range = 3.0; var grid = scene.add...

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