大约有 2,264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0095 秒)
Laya_社区(1811) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(31) Laya2.0_示例(15)
...下: ```java package { import laya.display.Sprite; import laya.resource.Texture; import laya.utils.Handler; public class MaskDemo { private var Res:String; private var img:Sprite; public function MaskDemo() { Laya.init(1136,640); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" //资源路...
来源: Laya2.0_文档 发布时间: 20210714
...nput textField : Text[read-only] 文本控件实体 Text 实例。 Label texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170929
...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
...a.BlinnPhongMaterial; //添加漫反射贴图 Laya.Texture2D.load("res/threeDimen/Physics/rocks.jpg", Laya.Handler.create(this, function (tex) { this.mat1.albedoTexture = tex; })); //平面加载 let plane = this.scene.add...
来源: Laya_社区 发布时间: 20201127
...eBox(1,1,1)); var material: BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(this, function(tex:Texture2D):void { material.albedoTexture = tex; })); box.meshRenderer.material = material; var monkey:Sprite3D = res.getChildByName("LayaMonkey") as Sprite3D...
来源: Laya2.0_文档 发布时间: 20210714
...了!!!! 关于Laya实现Matter.js官方案例凹多边形的问题 Texture图片能否进行翻转? 成都雨墨游戏 求 laya 程序开发人员 Laya mac版的IDE 是没测试就上线了吗? LayaAir 3D 有提供 3D 物理引擎功能吗? laya开发的3d跑酷 Laya 鼠标Cursor怪异...
来源: Laya_社区 发布时间: 20190910
...信小程序API 关于Laya实现Matter.js官方案例凹多边形的问题 Texture图片能否进行翻转? Laya mac版的IDE 是没测试就上线了吗? 成都雨墨游戏 求 laya 程序开发人员 laya开发的3d跑酷 我刚开始使用layabox,发布了一个h5,但是手机上应该怎...
来源: Laya_社区 发布时间: 20191008
添加了MouseJoint没有效果 代码: let ropePartTexture = Laya.loader.getRes("test/b1.png"); let ropePart : Sprite = new Sprite(); ropePart.texture = ropePartTexture; ropePart.pos(48*vw,10*vh); ropePart.width = 4*vw; ropePart.height = 10*vh; let boxCollider = new laya.physics.BoxCollider()...
来源: Laya_社区 发布时间: 20190424
...Protected All Inherited Externals Only exported Menu Globals "laya/loaders/TextureLoader" VideoTextureLoader Class VideoTextureLoader Hierarchy VideoTextureLoader Implements IResourceLoader Index Methods load Methods load load(task: ILoadTask): Promise<VideoTexture> Implementation of IResource...
来源: Laya3.0_api 发布时间: 20231115
...Protected All Inherited Externals Only exported Menu Globals "laya/loaders/TextureLoader" RenderTextureLoader Class RenderTextureLoader Hierarchy RenderTextureLoader Implements IResourceLoader Index Methods load Methods load load(task: ILoadTask): Promise<RenderTexture> Implementation of IReso...
来源: Laya3.0_api 发布时间: 20231115