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

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

781. 设置遮罩(ActionScript-LayaAir基础篇(AS3)-位图) [ 60%]

...下: ```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

782. laya.ui.TextInput [ 60%]

...nput textField : Text[read-only] 文本控件实体 Text 实例。 Label texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

783. laya.ani.swf.MovieClip [ 60%]

...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

来源: Laya2.0_api 发布时间: 20190513

784. 3D网格添加刚体后设置欧拉角出现位置错误 [ 60%]

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

785. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 60%]

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

786. 能否提供Laya UnityPlugin的源码 [ 59%]

...了!!!! 关于Laya实现Matter.js官方案例凹多边形的问题 Texture图片能否进行翻转? 成都雨墨游戏 求 laya 程序开发人员 Laya mac版的IDE 是没测试就上线了吗? LayaAir 3D 有提供 3D 物理引擎功能吗? laya开发的3d跑酷 Laya 鼠标Cursor怪异...

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

787. Laya如何调用手机蓝牙进行通信 [ 59%]

...信小程序API 关于Laya实现Matter.js官方案例凹多边形的问题 Texture图片能否进行翻转? Laya mac版的IDE 是没测试就上线了吗? 成都雨墨游戏 求 laya 程序开发人员 laya开发的3d跑酷 我刚开始使用layabox,发布了一个h5,但是手机上应该怎...

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

788. 添加了MouseJoint没有效果 [ 59%]

添加了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

789. laya.loaders.VideoTextureLoader_API3.0 [ 59%]

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

790. laya.loaders.RenderTextureLoader_API3.0 [ 59%]

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