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

大约有 585 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0061 秒)

341. 精灵响应... [ 62%]

...再删除后有时会出问题。 pos会影响精灵缩放效果的问题 Sprite鼠标事件不响应 小游戏开放数据域下使用Laya.List绘制了排行榜,但是触摸没有滚动响应 Laya3D项目,LayaPlayer环境下如何通过精灵创建贴图对象,从而赋给材质? 和创建...

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

342. localToGlobal和AS3不一样? [ 62%]

localToGlobal和AS3不一样? 举个例子:     var sp:Sprite = new Sprite();     var p:Point = new Point();     sp.pos(500,600);     p.setTo(10,10);     p = sp.localToGlobal(p); 结果:p坐标还是10,10。AS3上是510,610。 2017-02-27 添加评论 免费帖 --> 分享 微博 QZ...

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

343. UI界面嵌套对性能影响大吗 [ 62%]

...先登录 发起人 18336093936 相关问题 View嵌套Dialog组件 大量sprite如何优化性能 分享:技术突破:HTML5裸跑性能已可媲美APP LayaAirIDE1.4版本里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 pos会影...

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

344. 咨询在Laya.Sprite3D中,是否含有类似于 Sprite 中的getbounds函数 [ 62%]

咨询在Laya.Sprite3D中,是否含有类似于 Sprite 中的getbounds函数 咨询在Laya.Sprite3D中,是否含有类似于 Sprite 中的getbounds函数,我的应用场景是在2d背景下,显示3D人物。,在做了坐标映射convertScreenCoordToOrthographicCoord 后,发现定位的...

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

345. laya.ui.WXOpenDataViewer_API3.0 [ 62%]

... = false Inherited from AnimationBase._ownGraphics Defined in laya/display/Sprite.ts:245 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:631 _skinBaseUrl _skinBaseUrl: string Inherited from AnimationBase._skinBaseUrl Defined in laya/display/Sprite.ts:269 如果节点...

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

346. UI怎么调取主函数的属性啊 [ 62%]

...帧属性面板不见了 关于shader中opengl函数问题 lh文件内meshSprite添加阴影属性无效 1.7.20beta有bug,帧属性面板打不开 Text类中竟然没有pos函数的api~ 编辑器下HtmlDIVElement属性能否支持style选项设置 属性无法获取 执行回调函数时报is not ...

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

347. laya.display.Scene_API3.0 [ 62%]

...过unDestroyedScenes属性查看还未被销毁的场景列表 Hierarchy Sprite Scene View Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeig...

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

348. laya.ui.ScaleBox_API3.0 [ 62%]

...dren?: boolean): ScaleBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns ScaleBox Properties Optional _extra _extra: INodeExtra Inherited f...

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

349. laya.ui.Box_API3.0 [ 62%]

...eChildren?: boolean): Box Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns Box Properties Optional _extra _extra: INodeExtra Inherited from N...

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

350. sprite做的按钮点击无反应? [ 62%]

sprite做的按钮点击无反应? 代码如下: var dialog_mc:Sprite = new Sprite(); Laya.stage.addChild(dialog_mc); var w:int = 110; var h:int = 40; var btn:Sprite = new Sprite(); btn.size(w, h); btn.graphics.drawRect((stageWd - w) * 0.5, (stageHt - h) * 0.5-50, w, h, "#FF7F50"); btn.graphics...

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