大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0280 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...ate("prefab/预设名字.json",Handler.create(this,onComplete)); } private function onComplete(obj:Object):Void{ 一个预设变量.json = ojb 一个sprite = Pool.getItemByCreateFun("自己起一个名字", this.一个预设变量.create, this.一个预设变量); } ```
来源: Laya2.0_文档 发布时间: 20210714
...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...,导致Alpha混合效果出错 FrustumCulling._traversalCulling=function(camera,scene,context,renderList){ var validCount=renderList.length; var renders=renderList.elements; var boundFrustum=camera.boundFrustum; var camPos=cam...
来源: Laya_社区 发布时间: 20190711
..._work.drawToCanvas(575, 1023, 0, 0); htmlCanvas.toBase64("image/png", 0.9, function(base64){ //trace(base64); if (!testTf){ __JS__('setWork(base64)'); } }); 2018-10-29 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ohkei as3、as2、h5 ...
来源: Laya_社区 发布时间: 20180730
...tils.Stat; import laya.webgl.WebGL; public class ShaderPrecompile { public function ShaderPrecompile() { Laya3D.init(0, 0, true); //开启Shader编译调试模式,可在输出宏定义编译值。 ShaderCompile3D.debugMode = true; var sc:ShaderCompile3D = ShaderCompile3D.get("SIMPLE"); //部分低...
来源: Laya_示例 发布时间: 20260303
...rite clearAll removeAniSprite showDebugInfo Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...js 问题日志:"TypeError: Cannot read property 'call' of undefined at Function.<anonymous> (file:///Users/moos/Company/EmersonGame/bin/libs/laya.core.js:130:41) at new GameInfo (file:///Users/moos/Company/EmersonGame/src/GameInfo.js:4:18) at onLoaded (file:///Users/moos/Company/EmersonGame...
来源: Laya_社区 发布时间: 20180707
...1, code=-1, info1=Execute JS Error![TypeError: this.ctx.transform is not a function. (In 'this.ctx.transform(a,b,c,d,tx,ty)', 'this.ctx.transform' is an instance of RectTransform)]: line = 6253, column = 21, sourceURL = /var/containers/Bundle/Application/2DE21169-C5AF-439A-9F39-D30D42DC9162/PublicBr...
来源: Laya_社区 发布时间: 20181009
...e.lh")) as Sprite3D; layaScene.once(Event.HIERARCHY_LOADED, this, function():void{ var meshSprite:Sprite3D=layaScene.getChildAt(0) as Sprite3D; var animator:Animator = meshSprite.addComponent(Animator) as Animator; var clip:AnimationClip=AnimationClip.load("res/La...
来源: Laya_社区 发布时间: 20180208
...但是看定义arr上面定义的是局部变量。__proto._createItems = function (startY, numX, numY) { var box = this._content; var cell = this._getOneCell(); var cellWidth = cell.width + this._spaceX; var cellHeight = cell.height + this._spaceY; if (this.cacheContent) { var cacheBox = new Box();...
来源: Laya_社区 发布时间: 20180418