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

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

211. Tween动画中的Sprite点击事件失效 [ 95%]

Tween动画中的Sprite点击事件失效 Tween动画中的Sprite点击事件失效 Tween动画中的Sprite点击事件失效: 简单代码: var self = this; self.loserPrize.on(Laya.Event.MOUSE_DOWN,self,function(){     self.clickHanlder(); }) Laya.Tween.to(self.loserPrize, {      y: Laya....

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

212. sprite3D下增加一个Laya.SphereCollider,然后sprite移动,就无法检测到碰撞了! [ 95%]

sprite3D下增加一个Laya.SphereCollider,然后sprite移动,就无法检测到碰撞了! 移动后,boundSphere.center的坐标有随sprite3D移动,但是碰撞检测就永远是失败,不移动的时候是可以检测的,碰撞用的是屏幕射线的那个例子。是物体移动后...

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

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

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

215. WebGL模式下,使用fillTexture填充Sprite,在Sprite移动时,会有间隔线显示并闪烁 [ 95%]

WebGL模式下,使用fillTexture填充Sprite,在Sprite移动时,会有间隔线显示并闪烁 使用Sprite作为背景,且用一张小图fillTexture填充显示,当背景移动时,会显示间隔线且会不停闪烁  this.mapBg = new Laya.Sprite(); this.mapBg.name = "map"; this.mapBg...

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

216. 缓动-简单的Tween [ 95%]

...ya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { const Sprite = Laya.Sprite, Tween = Laya.Tween; let terminalX = 200; let characterA = this.createCharacter("res/cartoonCharacters/1.png"); characterA.pivot(46.5, 50); characterA.y = 100; let characterB = this.createCharacter("res/c...

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

217. laya.display.Stage [ 95%]

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

来源: laya_api 发布时间: 20170929

218. Sprite-切换纹理 [ 95%]

...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var texture1 = "../../res/apes/monkey2.png"; var texture2 = "../../res/ap...

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

219. laya.display.EffectAnimation_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

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