大约有 6,956 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0176 秒)
Laya_社区(6391) Laya2.0_文档(168) Laya3.0_文档(83) Laya3.0_api(76) Laya2.0_api(72) laya_api(68) Laya_示例(62) Laya2.0_示例(36)
sprite之bug http://www.gamework.cn/blog/post/qykings/sprite%E4%B9%8Bbug public function set scaleX(value:Number):void { var style:Style = getStyle(); if(!style) { trace("----sprite--") return; } if(!style._tf) { trace("----sprite--_tf is null--"); return; } if (sty...
来源: Laya_社区 发布时间: 20170608
...ts Packagelaya.uiClasspublic class RadioInheritanceRadio Button Component Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消选择该组中当...
来源: laya_api 发布时间: 20170929
... 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 active : Boolea...
来源: Laya2.0_api 发布时间: 20190513
...s, onComplete)); function onComplete() { layaMonkey1 = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey2 = Laya.Sprite3D.instantiate(layaMonkey1, scene, false, new Laya.Vector3(0, 0, 0)); layaMonkey3 = scene.addChild(Laya.Sprite3D.instantiate(...
来源: Laya_示例 发布时间: 20260929
Laya集成Matter.js库layaSprite水平翻转无法显示的bug layaair版本:1.7.19.1beta 项目类型:全部(目前测试的有JS和TS) 环境:Win7 x64 问题描述: laya集成matters.js, 1、创建一个sprite,水平翻转sprite(scalex=-1) 2、创建matter.js刚体body,并且设...
来源: Laya_社区 发布时间: 20180621
sprite的rotation设置的位置不一样,子sprite的方向也不一样 var s1 = new Laya.Sprite(); var s2 = new Laya.Sprite(); var s3 = new Laya.Sprite(); s1.width = 64; s1.height = 64; s1.pivot(32, 32); s1.rotation = 90; s2.addChild(s3); s1.addChild(s2); var s1 = new Laya.Sprite(); var s2...
来源: Laya_社区 发布时间: 20201012
LayaAir引擎 克隆sprite 什么克隆一个对象啊? 在下面的“ tempSpr2.graphics.drawTexture(tempSpr.texture, 0, 0, tempSpr.width, tempSpr.height);”中 tempSpr.texture 是空的 if (data && data.items != []) { let tempSpr: Sprite = new Sprite(); ...
来源: Laya_社区 发布时间: 20170508
圆不跟谁 sprite 一起缩放? 在 sprite 上画直线与圆环, 直线能跟随滚轮共同缩放,圆环一直保持大小不变,都是画在同一个 sprite 上,为什么? import WebGL = Laya.WebGL; import Browser = Laya.Browser; import Point = Geometry.Point; // 程序入口 ...
来源: Laya_社区 发布时间: 20190314
...ackagelaya.uiClasspublic class ColorPickerInheritanceColorPicker Component Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Property...
来源: laya_api 发布时间: 20170929
sprite添加texture后,sprite无法触发点击事件? this.item.graphics.drawTexture(Laya.loader.getRes(IMG_RES[this.name])); Laya.stage.addChild(this.item); this.item.on(Laya.Event.CLICK, this, () => { this.item.destroy(); }); 2017-08-26 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170826