大约有 1,464 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1170) Laya3.0_api(82) Laya2.0_api(76) laya_api(70) Laya2.0_文档(47) Laya3.0_文档(13) Laya2.0_示例(3) Laya_示例(3)
... Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number...
来源: laya_api 发布时间: 20170929
为什么动态给sprite添加dynamic刚体后背景图像会向上位移? 我给一个带有矢量背景的sprite动态添加dynamic刚体后整个矢量背景都会向上移动,如果将刚体的type换成static就不会有这种情况,请问这是为什么呢?代码如下: 下图二...
来源: Laya_社区 发布时间: 20210325
...,使得新添加的元素始终保持在最底部显示? 如何设置Sprite的宽高和点击区域? 求问shader中的attribute变量怎么动态修改 使用钢体设置防穿后仍有几率会穿透 微信小游戏利用开放域好友关系链做排行榜 在List渲染的时候,在滚动...
来源: Laya_社区 发布时间: 20161228
...ogManager怎么添加遮罩层 var dialogManager =new DialogManager(); var sprite1=new Laya.Sprite(); sprite1.loadImage("scdlb/首充大礼包通用素材/通用素材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.manager=dia...
来源: Laya_社区 发布时间: 20191031
...anager怎么添加遮罩层 var dialogManager =new DialogManager(); var sprite1=new Laya.Sprite(); sprite1.loadImage("scdlb/首充大礼包通用素材/通用素材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.manager=dia...
来源: Laya_社区 发布时间: 20191031
...und() { BackGround.__super.call(this); //创建背景1 this.bg1 = new Laya.Sprite(); //加载并显示背景图 this.bg1.loadImage("war/background.png"); //把背景1放到容器内 this.addChild(this.bg1); //创建背景2 this.bg2 = new Laya.Sprite(); //加载并显示背景图 this.bg2.loadImage("...
来源: Laya_社区 发布时间: 20170222
...ass EffectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用于为指定目标对象添加动画效果。每个动效有唯一的目标对象,而同一个对象可以添加多个动效。 当一个动效开始播放时,其他动...
来源: Laya2.0_api 发布时间: 20190513
...Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取...
来源: Laya2.0_api 发布时间: 20190513
...1.3 资源卸载1.4 关于滤镜、遮罩二、渲染优化方式2.1 优化Sprite2.2 优化DrawCall2.3 优化Canvas2.4 CacheAs2.5 文字描边2.6 跳过文本排版,直接渲染三、减少CPU使用量3.1 减少动态属性查找3.2 性能消耗的回收3.3 获取显示对象边界的做法3.4 根...
来源: Laya3.0_文档 发布时间: 20251010
如何在sprite添加不同的图片子节点,我用的loadImage的方法好像添加的是一个集体不是子节点 如何在sprite中添加不同的图片子节点,我用的loadImage的方法好像添加的是一个集体不是子节点 2018-01-20 添加评论 免费帖 --> 分享 微博 QZ...
来源: Laya_社区 发布时间: 20180120