大约有 1,430 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1004) Laya3.0_api(149) Laya2.0_api(103) laya_api(77) Laya2.0_文档(51) Laya3.0_文档(44) Laya_示例(2)
...ene/XunLongShi.ls",Laya.Handler.create(null,function(scene){ //加载完成获取到了Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLigh...
来源: Laya2.0_文档 发布时间: 20210715
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...
来源: laya_api 发布时间: 20170929
... 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
...中 导致在不同屏幕下 位置大小都不一样 (没找到方法去获取UI组件中真实的物理宽度,比如下面那个list UI编辑器上设置宽度为500,但是显示在页面上后获取宽度还是500 但是屏幕的宽度也就414 明显不对 我想得到list相对于屏幕...
来源: Laya_社区 发布时间: 20180722
...("btn的附加类已经开始执行"); } //设置owner函数,可以直接获取到Button组件的实例 public function set owner(v:Sprite):void { _owner = v; //由于时序问题,我们需要在此处添加逻辑代码,确保_owner不为null if(_isScal&&_owner) { _owner.on(Event.MOUSE...
来源: Laya_社区 发布时间: 20161014
...ialog可以点击到外部的元素,如何使其外边不能点击 如何获取图片每个像素点的RGB? 请问layaair2.0-js 怎么用程序在list中添加多元素的item 3d物理不能触发onCollisionEnter事件 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mou...
来源: Laya_社区 发布时间: 20170318
...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
... 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
...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
...导出 Laya3d自定义shader 自定义组件如何实现图片资源拖动获取路径 请教下各位 图示中的扇面Mesh 怎么能自定义出来 问题状态 最新活动: 2017-10-18 20:20 浏览: 981 关注: 2 人
来源: Laya_社区 发布时间: 20171018