大约有 373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
Laya_社区(173) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya3.0_文档(18) Laya2.0_文档(9) Laya2.0_示例(1) Laya_示例(1)
... 看了其他引擎才发现 LAYA 真的太太太太好用了!!!! sprite旋转以后,但是原来碰撞检测rect没有旋转 请问有没有方法能够获取“鼠标是否处于按下状态”? Laya mac版的IDE 是没测试就上线了吗? 求指点3d射线碰撞和UI点击穿透...
来源: Laya_社区 发布时间: 20170502
...取碰撞位置 onCollisionEnter(obj: Laya.Collision) { let node: Laya.MeshSprite3D = obj.other.owner as Laya.MeshSprite3D; let owner: Laya.MeshSprite3D = this.owner as Laya.MeshSprite3D; let position = obj.contacts[0].positionOnA; // 碰撞位置 } onTriggerEnter(obj) 、、如何获取碰撞...
来源: Laya_社区 发布时间: 20200408
...flash.display.Loader; import flash.display.MovieClip; import flash.display.Sprite; import flash.events.Event; import flash.net.URLRequest; import flash.system.ApplicationDomain; import flash.system.LoaderContext; public class SwfBinary extends Sprite { public function SwfBinary() { super(); if(stage...
来源: Laya_社区 发布时间: 20151224
...用须知-版本更新-问题解答(最新版本:1.7.16) 如何设置Sprite的宽高和点击区域? 动画混合无效(版本2.6) 关于适配采用showAll后留白部分的颜色问题 使用钢体设置防穿后仍有几率会穿透 (此问题已经无效) mask在layaplayer中有...
来源: Laya_社区 发布时间: 20200523
...alpha混合效果出错 透明物体渲染到renderTexture之后,通过sprite渲染到游戏里的效果跟直接渲染到游戏里的效果不一致,感觉是sprite的混合模式用了add,会亮很多。 正常渲染方式 /////////////////////////////////////////////////////// rendertext...
来源: Laya_社区 发布时间: 20241029
...我能不能,因为我已经在做 - 杀意来袭 关于遍历产生的sprite的点击事件,急,大神帮看哈 Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 ui list 里面的元素不能...
来源: Laya_社区 发布时间: 20170324
...s() export class LabelControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.Label } ) public lab: Laya.Label; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { th...
来源: Laya3.0_文档 发布时间: 20251010
... = 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
...移动了是否是我做法有问题 游戏中图片模糊 @官方 运用Sprite的属性blendMode为"destination-out"时得到黑圈,与引擎示例中的效果不同,想知道为什么 morn UI下图片资源显示成一团模糊的彩色像素? 初学者求助,如何通过九宫格设置ima...
来源: Laya_社区 发布时间: 20191213
...vElement=new HTMLDivElement(); div.innerHTML = "adivspanspan2p"; Hierarchy Sprite HTMLDivElement HTMLIframeElement Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha ble...
来源: Laya3.0_api 发布时间: 20231102