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

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

191. 2D节点使用3D · LayaAir3.3 · 引擎文档 · LAYABOX [ 76%]

...h:渲染纹理的像素宽度。 Height:渲染纹理的像素高度。 Color Format:渲染纹理的颜色格式。 Depth Format:渲染纹理的深度格式。 Generate Mipmap:如果勾选了,则自动生成多级渐进纹理级别。 Multi Samples:多重采样。 sRGB:此渲染纹理...

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

192. laya.d3.core.material.BlinnPhongMaterial_API3.0 [ 76%]

...faultMaterial Accessors MaterialDefine MaterialProperty _defineDatas albedoColor albedoIntensity albedoTexture alphaTest alphaTestValue backDiffuse backScale blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory cull d...

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

193. 2D拖尾渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 76%]

... 一个归一化的值,决定了拖尾不同位置的宽度 拖尾颜色(color) 设置拖尾的颜色,会与拖尾的渐变色混合叠加形成最终颜色 拖尾渐变色(colorGradient) 设置拖尾的渐变色,会与拖尾的颜色混合叠加形成最终颜色 纹理模式(textureMode) 控...

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

194. 屏幕适配-自动横屏 [ 76%]

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

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

195. 屏幕适配-自动竖屏 [ 76%]

...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_示例 发布时间: 20260106

196. 2D精灵光 · LayaAir3.3 · 引擎文档 · LAYABOX [ 76%]

... = 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

197. 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

198. 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

199. 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

200. 文本-字数限制 [ 75%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createInput(); })(); function createInput() { var inputText = new Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.stage.height - inputText.height...

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