大约有 5 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0032 秒)
...rt class PatchManager{} (function(){ let _proto:any; _proto = Laya.Scene.prototype; _proto.createView = function(view:Object){ if (view && !this._viewCreated) { this._viewCreated = true; Laya.SceneUtils.createByData(this, view); } this.onInit(); this.onShow(); Laya.timer.frameLoop(1, t...
来源: Laya_社区 发布时间: 20190222
...ingContext2D = function () { }; MiniAdpter.window.CanvasRenderingContext2D.prototype = MiniAdpter.window.wx.createCanvas().getContext('2d').__proto__; MiniAdpter.window.document.body.appendChild = function () { }; MiniAdpter.EnvConfig.pixelRatioInt = 0; Laya.Browser["_pixelRatio"] = MiniAd...
来源: Laya_社区 发布时间: 20200103
...c enableLightCullingMask(scene: Laya.Scene3D) { //var proto = Laya.Scene3D.prototype as any; (scene as any).lightCullingMask = function (scene, camera) { //灯光处理开始 麒麟子添加 var allLights = []; allLights = allLights.concat(scene._directionLights._elements); allLights = allLights.con...
来源: Laya_社区 发布时间: 20200110
...: ```typescript var Demo1 = (function () { function Client() { } Client.prototype.start = function () { // body... console.log("调用方法"); }; return Client; })(); console.log("我被加载进来了"); ``` 下面我们简单的讲解下这两段代码。 `var script:any = Laya.Browser.document...
来源: Laya2.0_文档 发布时间: 20210715
...下: ```javascript var Demo1=(function(){ function Client() { } Client.prototype.start = function() { // body... console.log("调用方法"); }; return Client; })(); console.log("我被加载进来了"); ``` 下面我们简单的讲解下这两段代码。 ` var script:Object = Browser.document.cr...
来源: Laya2.0_文档 发布时间: 20210715