大约有 541 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0056 秒)
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...ir中如何使图片以圆形的方式显示? 请问有没有方法能够获取“鼠标是否处于按下状态”? 请问laya有没有地图编辑器工具? 请问在layaIDE里,怎么调用微信小程序API 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得...
来源: Laya_社区 发布时间: 20170215
...: 1264 关注: 3 人 呵呵了 • 2018-11-23 16:55 通过哪个方法来获取场景中的组件了
来源: Laya_社区 发布时间: 20181122
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...eyBox: Laya.Sprite; constructor() { } /** *设置owner函数,可以直接获取到添加附加脚本的组件实例 **/ public set owner(value: any) { this.monkeyBox = value; //自定义的脚本会有时序问题,所以在此添加一个延时 this.monkeyBox.frameOnce(2, this, this.onLoaded); }...
来源: Laya_社区 发布时间: 20180622
...// 返回值e代表的是item项 private function onTreeRender(e):void { //获取每条Item的alpha属性并赋值给Item对象 if(e._dataSource.isAlpha) { var alphaNum:Number=e._dataSource.isAlpha; e.alpha=alphaNum; }//如果未设置alpha的项,则默认透明度为1 else { e.alpha=1; } }附件...
来源: Laya_社区 发布时间: 20170717
...请先登录 发起人 笑嘻嘻 相关问题 请问有没有方法能够获取“鼠标是否处于按下状态”? SpineSkeleton 创建的骨骼动画,采用WebGL渲染模式,在置灰状态,不能完全灰化 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_Ind...
来源: Laya_社区 发布时间: 20250923
...lisionObject' of undefined Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大小或原位置,应该用什么缓动模式 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not...
来源: Laya_社区 发布时间: 20180920
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
UI相关问题 想通过节点1获取子节点2,为啥getChildByName获取不到,并且,节点1的node._children的属性打印出来是空数组 想问个问题,我想通过节点1获取子节点2,为啥getChildByName获取不到,并且,节点1的node._children的属性打印出来...
来源: Laya_社区 发布时间: 20190907