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

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

231. 滤镜效果 · LayaAir3.3 · 引擎文档 · LAYABOX [ 74%]

...用滤镜。 (动图1-1) 如图1-2所示,可以创建颜色滤镜(ColorFilter)、模糊滤镜(BlurFilter)、发光滤镜(GlowFilter)。 (图1-2) 1.2 同时生效 如图1-3所示,不同滤镜效果可以叠加使用并同时生效,开发者可以根据需要进行设置。 ...

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

232. Sprite optimizeScrollRect = true 似乎有问题 [ 74%]

...s, this.onMousewheel); } this.createText = function (_content, _fontSize, _color, _width, _autoSize, _wordWrap, _ID) { var txt = new Text(); txt.text = _content; txt.cacheAs = 'bitmap'; txt.fontSize = _fontSize; txt.bold = true; txt.font = 'wordFont'; txt.color = _color; txt.strokeColor = '#000000';...

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

233. 文本-禁止编辑 [ 74%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createInput(); } createInput() { const Input = Laya.Input; let inputText = new Input(); Laya.stage.addChild(inputText); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; ...

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

234. HTMLDivElement中image标签多次赋值报错 [ 74%]

...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createParagraph(); // 代码创建 } function createParagraph() { var p = new HTMLDivElement(); Laya.stage.addChild(p); p.style.font = "Impact"; p.style.fontSize = 30; var ...

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

235. 文本-多行输入 [ 74%]

...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; createInput(); })(); function createInput() { var inputText = new Input(); // 移动端输入提示符 inputText.prompt = "Type some word..."; //多行输入 inputText.multiline = true; inputText.wordWrap =...

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

236. fatal error: 'string' file not found [ 74%]

...供解决方案 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; color: #a31515; background-color: #ffffff} span.s1 {color: #0000ff} 附件 : --> 2019-07-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复...

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

237. 文本-多行输入 [ 74%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createInput(); } createInput() { const Input = Laya.Input; let inputText = new Input(); Laya.stage.addChild(inputText); //多行输入 inputText.multiline = true; inputText.wordWrap = true; inputText.s...

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

238. laya.d3.core.particleshuriken.ShurikenParticleMaterial_API3.0 [ 74%]

...ion blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB color colorA colorB colorG colorR cpuMemory cull depthTest depthWrite destroyed gpuMemory id materialRenderMode obsolute referenceCount renderMode shaderData stencilOp stencilRef stencilTest stencilWrite texture tilingOffset ...

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

239. HTMLDivElement传参数 [ 74%]

HTMLDivElement传参数 <span href="#" style="color:#FCD809;">内容</span>,这是我写的一个超链接,我想在加一些数据在里面,实现点击该链接的时候获取这些参数应该怎么做? 2018-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

240. BloomEffect 没有效果啊 [ 74%]

...PostProcess; let bloom:Laya.BloomEffect = new Laya.BloomEffect(); // bloom.color = Laya.Color.RED; bloom.intensity = 0.5; bloom.clamp = 0.5; bloom.fastMode = false; bloom.diffusion = 10 bloom.anamorphicRatio = 10 bloom.dirtIntensity = 10   postProcess.addEffect(bloom); camera.enableRender = true; c...

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