大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...r layaMonkey_clone2 = scene.addChild(Laya.Sprite3D.instantiate(layaMonkey, null, false, new Laya.Vector3(-0.6, 0, 0))); }class Sprite3DClone { private scene: Laya.Scene; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_N...
来源: Laya_示例 发布时间: 20251219
... this._ctx && this._ctx.destroy(); this._ctx=null; } 在这里,this.ctx并没有destroy方法,native上直接崩溃 2018-12-19 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起...
来源: Laya_社区 发布时间: 20181219
...意这里的加载 Laya.loader.load("res/layabox.ktx", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTexture = tex; })); } else { //注意这里的加载 Laya.Texture2D.load("res/layabox.jpg", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTextu...
来源: Laya2.0_文档 发布时间: 20210714
...s:31 动画播放的总时间 durationTimeArray durationTimeArray: any[] = null Defined in laya/map/TileTexSet.ts:29 当前动画每帧的时间间隔 gid gid: number = -1 Defined in laya/map/TileTexSet.ts:17 唯一标识 isAnimation isAnimation: boolean = false Defined in laya/map/TileTexSet.ts:33 ...
来源: Laya3.0_api 发布时间: 20231115
...的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.ti...
来源: Laya3.0_api 发布时间: 20231115
...var vibrateObj = { x: 0, y: 0, rotation: 0, view: null }; /** * 调用该方法前,请将view的描点设置为中心点 * 震屏效果 * 三个变量:x水平方向 5,y垂直方向 5,rotation旋转角度 10 * @param view * @param time 持续时间 以毫秒...
来源: Laya_社区 发布时间: 20190401
...hAccuracy = true; Laya.Geolocation.getCurrentPosition( Laya.Handler.create(null, cb_onGeoPositionSuccess), Laya.Handler.create(null, cb_onGeoPositionFail)); } else { alert("您的浏览器不支持使用HTML5来获取地理位置服务"); } } // 回调函数:获取GPS坐标成功后 function cb_onGe...
来源: Laya_社区 发布时间: 20161102
...t = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial _removeReference(count:int = 1):void[override] BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url...
来源: Laya2.0_api 发布时间: 20190513
...scene = Laya.loader.getRes(模型url); Laya.stage.addChild(this.scene); }),null, null, 1, true, "scene1"); 执行后,浏览器报 : laya.core.js:13290 Uncaught TypeError: node._setParent is not a function at Stage.__proto.addChild (laya.core.js:13290) at Main.<anonymous> (Main.ts:148) at E...
来源: Laya_社区 发布时间: 20181208
...代替默认的关闭效果,如果不想有任何效果,可以赋值为null 全局默认关闭效果可以通过manager.closeEffect修改 closeHandler closeHandler: Handler Defined in laya/ui/Dialog.ts:176 对话框被关闭时会触发的回调函数处理器。 回调函数参数为用户点...
来源: Laya3.0_api 发布时间: 20231115