大约有 1,500 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0051 秒)
Laya_社区(812) Laya3.0_api(343) Laya2.0_api(142) laya_api(114) Laya2.0_文档(52) Laya3.0_文档(28) Laya2.0_示例(5) Laya_示例(4)
...ya.ui.List; export class ListDataSourceMediator { constructor() { } public setUp():void { var list: List = new List(); // 渲染的item list.itemRender = ListDataSourceItem; // 设置行列显示的item个数 list.repeatX = 1; list.repeatY = 4; // list居中显示 list.x = (Laya.stage.width - ListDa...
来源: Laya_社区 发布时间: 20180410
...public static function get basePath():String public static function set basePath(value:String):voidcustomFormatproperty public static var customFormat:Function 自定义URL格式化的方式。例如: customFormat = function(url:String):String{} exportSceneToJsonproperty public static var...
来源: Laya2.0_api 发布时间: 20190513
...any, showCompleteFun: Function): void { ResUIModuleManager.poolModulResDic.set(bigao.Utils.GlobalUtils.getClassNameClass(className), { resNames: resAltlasName, time: Laya.timer.currTimer }); ResUIModuleManager.loadModuleByName(resAltlasName, className, (cn) => { let sv: any = ui.UIControl.instanc...
来源: Laya_社区 发布时间: 20170905
...的视口 与 `viewport` 屏幕像素坐标的视口 这两个都是 get/set方法。所以在修改摄影机视口参数时不能单纯的知识修改视口参数,还需要对视口重新赋值。 > 动态修改摄影机视口 ```typescript Laya.timer.once(3000,this,function ():void { //获取第...
来源: Laya2.0_文档 发布时间: 20210715
...(如果状态是UNSENT或者OPENED,返回0) 2、If the error flag is set, return 0.(如果错误标签被设置,返回0) 前面提到,服务器在完成请求之后会在 XMLHttpRequest 的 onreadystatechange 属性中查找要调用的方法。这是真的,但还不完整。事...
来源: Laya_社区 发布时间: 20180522
...方法为: writeUTFString 。 Byte writeArrayBuffer(arraybuffer:*, offset:uint = 0, length:uint = 0):void 将指定 arraybuffer 对象中的以 offset 为起始偏移量, length 为长度的字节序列写入字节流。 如果省略 length 参数,则使用默认长度 0,该方法将从 o...
来源: laya_api 发布时间: 20170929
...里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 LayaAir使用AS语言能直接挂断点吗? 问题状态 最新活动: 2017-07-07 17:32 浏览: 2091 关注: 3 人 156*****915 • 2018-12-25 14:57 遇到了同样的问题,我也...
来源: Laya_社区 发布时间: 20170707
Unity2.10.0beta插件报错 NullReferenceException: Object reference not set to an instance of an object o.c (UnityEngine.GameObject A_0) (at <174bbe38e5444724b5b9eeb4600df769>:0) o.k (UnityEngine.GameObject A_0, c A_1) (at <174bbe38e5444724b5b9eeb4600df769>:0) o.a (UnityEngine.GameObje...
来源: Laya_社区 发布时间: 20201230
...as/lucky8.json", "res/atlas/lucky8/lewinlineicons.json", "res/atlas/lucky8/setting.json", "res/atlas/lucky8/setView.json", "res/atlas/lucky8/kj.json", "res/atlas/lucky8/mh.json", "res/atlas/lucky8/light.json", "res/atlas/lucky8/jinbi.json", "res/atlas/lucky8/bonus.json", "res/atlas/lucky8/kuang.json...
来源: Laya_社区 发布时间: 20170803
...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...
来源: Laya2.0_api 发布时间: 20190513