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

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

741. 自定义shader-地形shader [ 42%]

...; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.Texture2D; import laya.d3.resource.models.CapsuleMesh; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SphereMesh; import laya.d3.resource.models.SubMesh; import laya.d3.shader.Shader3D; import la...

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

742. Mesh网格-网格加载 [ 42%]

...; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGLContext; import common.Cam...

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

743. laya.d3.core.material.GlitterMaterial [ 42%]

...sspublic class GlitterMaterialInheritanceGlitterMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  albedo : Vector4 获取反射率。 GlitterMaterial alphaTest : Boolean 获取是否透明裁...

来源: laya_api 发布时间: 20170929

744. laya.d3.core.material.ParticleMaterial [ 42%]

...public class ParticleMaterialInheritanceParticleMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明...

来源: laya_api 发布时间: 20170603

745. Sprite-切换纹理 [ 42%]

...ckage { import laya.display.Sprite; import laya.display.Stage; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Sprite_SwitchTexture { private var texture1:String = "../../res/apes/monkey2.png"; private var texture2:String = "....

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

746. TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext' [ 41%]

...ttp://127.0.0.1:55942/game/code.js:89560:6) at TextureCube.__proto.recreateResource (http://127.0.0.1:55942/game/code.js:89603:8) at TextureCube.__proto.activeResource (http://127.0.0.1:55942/game/code.js:13972:9) at TextureCube.<anonymous> (http://127.0.0.1:55942/game/code.js:75718:8) at Shad...

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

747. 垂直滑动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 41%]

...): void { this.vslider.pos(300,300);//滑动条位置 this.vslider.skin = "resources/vslider.png";//滑动条底图皮肤 this.vslider.value = 0.5; this.vslider.max = 50; this.vslider.min = 0; this.vslider.tick = 1; this.vslider.showProgress = true;//必须存在vslider$progress.png资源,否则...

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

748. 水平滑动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 41%]

...: void { this.hslider.pos(300, 300);//滑动条位置 this.hslider.skin = "resources/hslider.png";//滑动条底图皮肤 this.hslider.value = 0.5; this.hslider.max = 50; this.hslider.min = 0; this.hslider.tick = 1; this.hslider.showProgress = true;//必须存在hslider$progress.png资源,否则...

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

749. laya.d3.core.particleShuriKen.ShurikenParticleMaterial [ 41%]

...rikenParticleMaterialInheritanceShurikenParticleMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明...

来源: laya_api 发布时间: 20170929

750. Laya.Loader.getRes("xxx.png")取出来的资源为什么是Texture2D,不是Texture [ 41%]

...器的硬件加速关闭    后就会有问题   在控制台用 Laya.Resource._urlResourcesMap  查出来的都是Texture2D  单独用Laya.Loader.getRes(xx)取出来的也是 Texture2D     2020-04-21 0 0 分享 微博 QZONE 微信 Nevermore 赞同来自: 顶顶顶··· 2020-04-24 0 0 分...

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