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

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

141. 1.7.11 Sprite.loadimage [ 75%]

LayaAir引擎 1.7.11 Sprite.loadimage 以下测试使用的是layaide 1.7.11 类库是也1.7.11  测试谷歌 浏览器版本 62.0.3202.94(正式版本) (64 位)  应该是目前最新的了 一 关于Sprite 的 width height 1. sp.loadImage('xxx.png',0,0,0,0,callback)调用方式 能否...

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

142. laya.ui.Box [ 75%]

...s | Events Packagelaya.uiClasspublic class BoxInheritanceBox UIComponent Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, ScaleBox, Tree, UIGroup, ViewStack Box 类是一个控件容器类。 Public Properties Hide Inherited Public Properties Show Inherited Publi...

来源: Laya2.0_api 发布时间: 20190513

143. [LayaAir3]预制体创建问题。求解 [ 75%]

[LayaAir3]预制体创建问题。求解 我的预制体是sprite,为啥提示我要用node类型接收,关键我用node接收下面pos又有报错。提示node类型没有pos属性。 附件 : --> 2024-05-19 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

144. 关于设置动画轴心点问题 [ 75%]

...复问题请先登录 发起人 东南西北风 相关问题 如何设置Sprite的宽高和点击区域? 使用钢体设置防穿后仍有几率会穿透 Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 骨骼动画播放完后的回调时间 LayaAir3D UnityPlu...

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

145. 鼠标交互-双指缩放(多点触控) [ 75%]

...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; //上次记录的两个触模点之间距离 var lastDistance = 0; var sp; (function() { // 不支持WebG...

来源: Laya_示例 发布时间: 20240930

146. 缓动-时间线 [ 75%]

...; Laya.stage.on(Event.KEY_DOWN, this, this.keyDown); } createApe() { const Sprite = Laya.Sprite; this.target = new Sprite(); Laya.stage.addChild(this.target); this.target.loadImage("res/apes/monkey2.png"); this.target.pivot(55, 72); this.target.pos(100,100); } createTimerLine() { const TimeLine = La...

来源: Laya2.0_示例 发布时间: 20240930

147. 动画-新版骨骼动画 [ 75%]

...t.color = new Laya.Vector3(0.7, 0.6, 0.6); var plane = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zombie/new/Plane.lh")); var zombie = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zombie/new/Zombie.lh")); zombie.once(Laya.Event.HIERARCHY_LOADED, this, func...

来源: Laya_示例 发布时间: 20240930

148. laya.ui.TipManager [ 74%]

...ackagelaya.uiClasspublic class TipManagerInheritanceTipManager UIComponent Sprite Node EventDispatcher Object鼠标提示管理类Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierar...

来源: Laya2.0_api 发布时间: 20190513

149. laya.ui.VBox [ 74%]

...kagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 N...

来源: Laya2.0_api 发布时间: 20190513

150. laya.ui.HBox [ 74%]

...kagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 N...

来源: Laya2.0_api 发布时间: 20190513