大约有 1,204 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(630) Laya3.0_api(207) Laya2.0_文档(119) Laya_示例(59) Laya3.0_文档(58) laya_api(46) Laya2.0_api(44) Laya2.0_示例(41)
...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
... = 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
...生效。但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
...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
...出的,动画里面有控制Particle/Additive shader的属性参数Tint color,我在想是不是不支援。如果是的话,那我该怎么实现这个功能呢? 2017-12-13 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 将animation文件中 的Mesh Renderer.Material._opacity 删除...
来源: Laya_社区 发布时间: 20171213
...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
...字体需要频繁修改,可以勾选此项以提升性能 文本颜色 color 文本的颜色,可以直接输入颜色值,例如:#ffffff,也可以点击输入条右侧的拾色器选取颜色 自适应大小 fit content 否("no"):无操作;高度和宽度("yes"):Label边框...
来源: Laya3.0_文档 发布时间: 20251010
...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
...小数中取常数 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
...小数中取常数 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