大约有 215 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0058 秒)
Laya_社区(67) Laya3.0_api(60) Laya_示例(29) Laya3.0_文档(15) laya_api(14) Laya2.0_文档(11) Laya2.0_api(10) Laya2.0_示例(9)
...锁定, 无法添加新回复 发起人 海货 相关问题 Failed to load resource: net::ERR_FILE_NOT_FOUND 用 texturepacker .json+.png File file上传图片 获得的base64 怎么 显示在laya舞台上啊 发布OPPO快游戏生成rpk错误(附Demo) Laya2.8.0 File has no manifest.json LayaAir3D W...
来源: Laya_社区 发布时间: 20180715
...oint.EMPTY, color)); else return null; } 代码示例: Laya.loader.load("resources/layaAir.png").then((res: Laya.Texture) => { let sp = new Laya.Sprite(); // 绘制填充纹理 sp.graphics.fillTexture(res, 0, 0, 500, 500, "repeat"); this.owner.addChild(sp); }); 运行效果: (图8-2) 九...
来源: Laya3.0_文档 发布时间: 20251010
...te();//创建一个 Sprite 类的实例对象 sprite 。 sprite.loadImage("resource/ui/bg.png");//加载并显示图片。 sprite.x = 200;//设置 sprite 对象相对于父容器的水平方向坐标值。 sprite.y = 200;//设置 sprite 对象相对于父容器的垂直方向坐标值。 sprite.pivo...
来源: Laya3.0_api 发布时间: 20231115
...建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集并播放 animation.x = 200;//设置 animation 对象的属性 x 的值,用于控制 animation 对象的显示位置。 animation.y = 200;//设置 animation 对象的属性 x 的值...
来源: Laya3.0_api 发布时间: 20231115
...eritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHie...
来源: Laya2.0_api 发布时间: 20190513
...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
...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
...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
...会自动复制到发布目录。 代码里引用的资源,必须放到resources目录里,才会被复制到发布目录里。 1.2 项目源码目录src src里源码目录,如图1-3所示。 (图1-3) 源码目录比较容易理解,通常在安装了代码编辑器后,可以双击源码来...
来源: Laya3.0_文档 发布时间: 20251010
...public class StandardMaterialInheritanceStandardMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By albedo : Vector4 设置反射率。 StandardMaterial alphaTest : Boolean 获取是否透明裁...
来源: laya_api 发布时间: 20170929