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

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

191. laya.display.Stage [ 95%]

...s | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不...

来源: laya_api 发布时间: 20170929

192. 关于遍历产生的sprite的点击事件,急,大神帮看哈 [ 95%]

关于遍历产生的sprite的点击事件,急,大神帮看哈 var sp; for(var i=0;i<5;i++){    sp=new Laya.Sprite();    sp.index=i;    Laya.stage.addChild(sp); } 类似这样遍历出来的sprite 我怎么给每个sprite添加一个点击事件获得对应的sp.index值呢! 2017-02-21...

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

193. sprite绕轴心点旋转问题 [ 95%]

sprite绕轴心点旋转问题 要实现功能:小车绕一个点旋转,然后画出旋转轨迹,还有就是小车在旋转时实时的画出小车和旋转点的连线。 思路:小车sprite,用来划线的sprite,设置小车的轴心点pivot,然后rotation改变旋转小车,根据...

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

194. laya.spine.SpineSkeleton_API3.0 [ 95%]

...eTemplet,SpineSkeletonRender,SpineSkeleton三部分组成。 Hierarchy Sprite SpineSkeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag PAUSED PLAYING STOPPED drawtocanvCtx Accessors _isHeightSet _isWidthSet a...

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

195. 移动Sprite时,边缘闪烁 [ 95%]

移动Sprite时,边缘闪烁 var lastTimestamp = 0; var count = 0; var totale = 0; Laya.timer.frameLoop(1, this, function test() { var deltaTime = new Date().getTime() - lastTimestamp; lastTimestamp = new Date().getTime(); count++; totale += deltaTime; this.x += this.speed_x*deltaTime; this.y += ...

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

196. LayaBox 中的sprite 或 MovieClip没有rotaionX,rotaionY,rotaionZ? [ 95%]

LayaBox 中的sprite 或 MovieClip没有rotaionX,rotaionY,rotaionZ? LayaBox 中的sprite 或 MovieClip没有rotaionX,rotaionY,rotaionZ?如果想用rotaionY绕Y轴旋转,怎样才能搞出来? 2017-02-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...

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

197. laya.display.FrameAnimation_API3.0 [ 95%]

...: 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

198. laya.ani.bone.Skeleton_API3.0 [ 95%]

...动画由Templet,AnimationPlayer,Skeleton三部分组成。 Hierarchy Sprite Skeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha...

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

199. laya.media.VideoNode_API3.0 [ 95%]

... https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite VideoNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alp...

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

200. laya.html.dom.HTMLIframeElement_API3.0 [ 95%]

... = 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