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

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

211. 屏幕适配-自动竖屏 [ 75%]

...e = "showall"; Laya.stage.screenMode = Stage.SCREEN_VERTICAL; Laya.stage.bgColor = "#232628"; showText(); })(); function showText() { var text = new Text(); text.text = "Orientation-Portrait"; text.color = "gray"; text.font = "Impact"; text.fontSize = 50; text.x = Laya.stage.width - text.width >> 1;...

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

212. 2D精灵光 · LayaAir3.4 · 引擎文档 · LAYABOX [ 75%]

... = this.spriteLight.getComponent(Laya.SpriteLight2D); spritelightComponent.color = new Laya.Color(1, 1, 1); spritelightComponent.intensity = 0.5; let tex = Laya.loader.getRes("resources/spritelight.png"); spritelightComponent.spriteTexture = tex; } // 配置方向光 setDirectLight(): void { let dir...

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

213. 【Native BUG】Native下对根结点设置filter,无法更新到每个子节点,web是ok的 [ 75%]

...生效。但text在添加filter的时候仍然无效。只有手动设置color才能生效。   public static setGray(node: Laya.Node, set: boolean) {             for (var i = 0; i < node.numChildren; i++) {                 let sprite = node.getChildAt(i) as Laya.Sprite;       ...

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

214. laya.d3.graphics.Vertex.VertexShuriKenParticle [ 75%]

...le()VertexShuriKenParticlePublic Constants ConstantDefined By  PARTICLE_COLOR0 : int = 2[static] VertexShuriKenParticle  PARTICLE_CORNERTEXTURECOORDINATE0 : int = 0[static] VertexShuriKenParticle  PARTICLE_DIRECTIONTIME : int = 5[static] VertexShuriKenParticle  PARTICLE_ENDCOLOR0 : int = 7[...

来源: Laya2.0_api 发布时间: 20190513

215. 麻烦帮我看下为什么这个动画为什么不能输出? [ 75%]

...出的,动画里面有控制Particle/Additive shader的属性参数Tint color,我在想是不是不支援。如果是的话,那我该怎么实现这个功能呢? 2017-12-13 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 将animation文件中 的Mesh Renderer.Material._opacity 删除...

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

216. laya.d3.core.material.EffectMaterial_API3.0 [ 75%]

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

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

217. 显示文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 75%]

...字体需要频繁修改,可以勾选此项以提升性能 文本颜色 color 文本的颜色,可以直接输入颜色值,例如:#ffffff,也可以点击输入条右侧的拾色器选取颜色 自适应大小 fit content 否("no"):无操作;高度和宽度("yes"):Label边框...

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

218. laya.d3.core.trail.TrailMaterial_API3.0 [ 75%]

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

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

219. 粒子属性详解(TypeScript-3D基础(TS)-LayaAir3D之粒子系统) [ 75%]

...小数中取常数 10. `RandomizeRotation` 随机旋转的概率 11. `StartColor`开始颜色 1. *Color* 常数颜色 2. *random Between two Color* 随机在两个颜色中取值 12. `GravityModifier` 重力修正 13. `Simulation Space` 模拟空间 1. *local* 模型 2. *Hierarchy* 世界 14. `Scali...

来源: Laya2.0_文档 发布时间: 20210715

220. 粒子属性详解(JavaScript-3D基础(JS)-LayaAir3D之粒子系统) [ 75%]

...小数中取常数 10. `RandomizeRotation` 随机旋转的概率 11. `StartColor`开始颜色 1. *Color* 常数颜色 2. *random Between two Color* 随机在两个颜色中取值 12. `GravityModifier` 重力修正 13. `Simulation Space` 模拟空间 1. *local* 模型 2. *Hierarchy* 世界 14. `Scali...

来源: Laya2.0_文档 发布时间: 20210714