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

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

241. laya.ui.FontClip [ 68%]

...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...

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

242. 重写X Y在android studio里运行会变成00 [ 68%]

...0; xSprite.y = 200; 5 然后再XSprite这个类里将XY复写比如 public set x(val: number) { this._x = val; } public get x(): number { return this._x; } public set y(val: number) { this._y = val; } public get y(): number { return this.__y; } 然后运行 会发现坐标显示正常 但是打包...

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

243. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 68%]

...ddChild(a); a.size(100, 100); a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThro...

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

244. laya.ui.ProgressBar [ 68%]

...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...

来源: laya_api 发布时间: 20170929

245. LayaDictionary的使用问题 [ 68%]

...代码中Dictionary的用法?比如Dic[obj]=1;需要全部修改为Dic.set(obj,1);?还是只要设置了编译参数后laya就自己搞定了? 2015-12-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 layabo...

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

246. 射线形状检测shapeCastAll返回的检测结果只第一次有效 [ 68%]

...pTransform1; var sweepShape = shape._btShape; out.length = 0; bt.btVector3_setValue(convexPosFrom, -fromPosition.x, fromPosition.y, fromPosition.z); bt.btVector3_setValue(convexPosTo, -toPosition.x, toPosition.y, toPosition.z); bt.ConvexResultCallback_set_m_collisionFilterGroup(convexResultCall, col...

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

247. laya.effect.EffectBase_API3.0 [ 68%]

...arget Accessors awaked destroyed enabled hideFlags id Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new EffectBase(): EffectBase Inherited from Component.construct...

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

248. 图片宽高的bug [ 68%]

...ic图才有的。 Laya_Aaron • 2018-07-02 20:30 你用的get方法 需要set 才能获取,那个宽高是需要指定的,是用来检测 鼠标的碰撞的。 Laya_Aaron • 2018-07-02 20:31 用 width() 可以获取宽

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

249. laya.d3.core.particleShuriKen.ShurikenParticleRender [ 67%]

...tmapIndex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照贴图的缩放偏移。 BaseRender material : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 BaseRender materials : Vector.<BaseMaterial> 获取潜拷贝...

来源: laya_api 发布时间: 20170929

250. laya.physics.joint.PulleyJoint_API3.0 [ 67%]

...Accessors awaked destroyed enabled hideFlags id joint Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new PulleyJoint(): PulleyJoint Inherited from JointBase.constru...

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