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

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

261. laya.ui.Slider_API3.0 [ 94%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

262. 用Sprite创建的图片,添加旋转动画后,点击事件触发问题 [ 94%]

用Sprite创建的图片,添加旋转动画后,点击事件触发问题 用Sprite创建的图片,添加旋转动画后,点击的时候,一会执行,一会不执行的!注销动画后,又是正常的,这怎么解决呢? 附件 : --> 2017-03-24 添加评论 免费帖 --> 分享 ...

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

263. Sprite3D的克隆(JavaScript-3D基础(JS)-LayaAir3D之精灵) [ 94%]

# Sprite3D的克隆 ###### *version :2.7.0beta Update:2020-6-12* 关于克隆,LayaAir3D中提供了几种接口。比较常用的`clone`和`cloneto`这两种通用的方法就不多做介绍了。这里详细讲解下Sprite3D中特有的克隆接口`instantiate`。 ```typescript static instantiate...

来源: Laya2.0_文档 发布时间: 20210714

264. LayaAirIDE1.7.17 版本,LayaNative下面 Stat统计的sprite数量不准,误将sprite.visible=false的对像也统计进去了,网页端就没有问题 [ 94%]

LayaAirIDE1.7.17 版本,LayaNative下面 Stat统计的sprite数量不准,误将sprite.visible=false的对像也统计进去了,网页端就没有问题 2018-05-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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

265. Tween.to 执行失败 [ 94%]

...en.to 执行失败  //使精灵走到鼠标位置 function walkToMousePos(sprite){ console.log(Laya.stage.mouseX) ; console.log(Laya.stage.mouseY) ; console.log(sprite.x) ; console.log(sprite.y) ; var hDir = Laya.stage.mouseX>sprite.x? "right" : "left" ; var vDir = Laya.stage.mouseY>sprite.y?...

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

266. hitArea怎么用 [ 94%]

hitArea怎么用 var container = new Sprite();         container.graphics.drawRect(0,0,640,1136,'#ff0000');         container.size(640,1136)         Laya.stage.addChild(container);                       var bg2Sprite =  new Sprite();         bg2Sprite.graphics.drawRect(...

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

267. laya.ui.Image_API3.0 [ 94%]

...fined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/Image.ts:98 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/...

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

268. laya.device.media.Video_API3.0 [ 94%]

... https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite Video Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name videoElement CAMERA MP4 OGG SUPPORT_MAYBY SUPPORT_NO SUPPORT_PROBABLY WEBM drawtocanv...

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

269. 设置滤镜(TypeScript-LayaAir基础篇(TS)-位图) [ 94%]

...lter:Laya.ColorFilter = new Laya.ColorFilter(colorMatrix); ``` 最后通过Spriter的filters属性将颜色滤镜效果叠加到位图中。下面我们创建一个Main.ts类,编写代码如下: ```typescript module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import ColorFilte...

来源: Laya2.0_文档 发布时间: 20210715

270. 3d场景下面有张2d的图片,当鼠标焦点不在该网页时,2d图片为啥会闪动 [ 94%]

...如下     /////////////左右两张背景图             var sprite0:Sprite = new Sprite();             sprite0.loadImage("creatRoom/background_bk.png");             sprite0.pos(0,0 );             sprite0.cacheAsBitmap = true;             Laya.stage.ad...

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