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

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

241. [LayaAir 2.0] 如何用代码为Spirte添加2d物理特性 [ 58%]

...vate createPanel():void { let panel:Laya.Sprite = new Laya.Sprite(); panel.graphics.drawRect(0,100,100,20,0xffffff); this.addChild(panel); let box:laya.physics.BoxCollider = panel.addComponent(laya.physics.BoxCollider); box.height = 20; box.width = 100; let rigid:Laya.RigidBody = panel.addComponent(...

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

242. laya.ui.TextInput_API3.0 [ 58%]

...Label TextInput TextArea Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _tf _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bold borde...

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

243. laya.ui.ScaleBox_API3.0 [ 58%]

...ierarchy Box ScaleBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY co...

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

244. laya.display.Scene_API3.0 [ 58%]

...chy Sprite Scene View Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blen...

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

245. laya.ui.Box_API3.0 [ 58%]

...aleBox Tree ViewStack Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY co...

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

246. laya.ui.RadioGroup [ 58%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作通过Graphics来实现的。Sprite gray : Boolean 是否变灰。Component height : Number[override] 表示显示...

来源: laya_api 发布时间: 20170929

247. 如何在不destroy Laya.Image对象的前提下,clean掉之前load的image图片/皮肤 [ 58%]

...自: 更换资源之前你将原来显示的图片清理掉就好了 img.graphics.clear(); 2018-03-21 0 0 分享 微博 QZONE 微信 qian 赞同来自: matthew_liu http://ldc.layabox.com/doc/?nav=zh-as-3-2-7 看一下这个 2018-03-20 1 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...

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

248. ide创建的.ani文件中的属性pivotX和pivotY,代码中animation实例中要怎么获取 [ 58%]

...ar ani:Animation = new Animation(); ani.loadAnimation("role.ani"); var gra:Graphics = ani.frames[0]; var texture:Texture = gra._one[0];//取得纹理 //如何取得纹理的pivotX和pivotY 如何取得role.ani配置中的pivotX和pivotY 2018-02-03 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

249. 关于颜色滤镜的问题 [ 58%]

...图集加载问题 关于适配采用showAll后留白部分的颜色问题 graphics alpha 问题 (此问题已经无效) 关于Dialog遮罩层移除解决问题的说明 问题状态 最新活动: 2016-05-27 11:57 浏览: 3198 关注: 2 人 cuixueying • 2016-05-27 13:08 第一个问题,我...

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

250. laya.ui.OpenDataContextView_API3.0 [ 58%]

...t OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components...

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