大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0164 秒)
Laya_社区(5247) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(105) Laya2.0_api(67) laya_api(64)
...被锁定, 无法添加新回复 发起人 june 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 2.0一不小心删了bin目录下的某个场景json文件。。竟然无法自动生成了? 请问LayaAir中如何使图片以圆形的...
来源: Laya_社区 发布时间: 20190225
...返回一个ArrayBuffer */ readFile(id:number):ArrayBuffer; close():void; new ():ZipFile; } declare var ZipFile:ZipFile; ``` * 手动更新dcc缓存的功能。 ```javascript interface AppCache{ ... /** * 更新dcc缓存中的一个文件 * @param nameid 更新的文件的id。 * 路径规则:/,...
来源: Laya2.0_文档 发布时间: 20210714
...)(); function drawSomething() { sp = new Sprite(); Laya.stage.addChild(sp); //画曲线 sp.graphics.drawCurves(10, 58, [0, 0, 19, -100, 39, 0], "#ff0000", 3); } })(); ``` 发布后如下图所示...
来源: Laya2.0_文档 发布时间: 20210715
...hadow renderId renderbitFlag staticMask transform Constructors constructor new NativeBaseRenderNode(): NativeBaseRenderNode Defined in laya/d3/RenderObjs/NativeOBJ/NativeBaseRenderNode.ts:12 Returns NativeBaseRenderNode Properties sortingFudge sortingFudge: number Defined in laya/d3/RenderObjs/Nativ...
来源: Laya3.0_api 发布时间: 20231115
...ms destroy setDrawArrayParams setDrawElemenParams Constructors constructor new SkyDome(stacks?: number, slices?: number): SkyDome Overrides GeometryElement.constructor Defined in laya/d3/resource/models/SkyDome.ts:45 创建一个 SkyDome 实例。 Parameters Default value stacks: number = 48 堆数...
来源: Laya3.0_api 发布时间: 20231115
...。 } private function onLoadComplete():void { var textInput:TextInput = new TextInput("这是一个TextInput实例。");//创建一个 TextInput 类的实例对象 textInput 。 textInput.skin = "resource/ui/input.png";//设置 textInput 的皮肤。 textInput.sizeGrid = "4,4,4,4";//设置 textInpu...
来源: Laya3.0_api 发布时间: 20231115
... clone cloneTo destroy updateLocalTransformations Constructors constructor new CannonBoxColliderShape(sizeX?: number, sizeY?: number, sizeZ?: number): CannonBoxColliderShape Overrides CannonColliderShape.constructor Defined in laya/d3/physicsCannon/shape/CannonBoxColliderShape.ts:44 创建一个新...
来源: Laya3.0_api 发布时间: 20231102
...cene"){ if (url == "scene/Demo_Interiors.ls"){ console.log(data[0]); throw new Error("Scene: the .lh file root type must be Scene,please use other function to load this file."); } } var innerResouMap=data[1]; Utils3D._createNodeByJson(this,json,this,innerResouMap); ...
来源: Laya_社区 发布时间: 20180101
...y 'charAt' of undefined at Object.Laya.init (<anonymous>:23:7239) at new t (<anonymous>:41:2251) at <anonymous>:41:2762 at require (<anonymous>:206:5799) at <anonymous>:206:5548 at <anonymous>:47:323 at require (<anonymous>:206:5799) at <anonymous>:48:...
来源: Laya_社区 发布时间: 20180109
...源。 } private function onLoadComplete():void { var textArea:TextArea = new TextArea("这个一个TextArea实例。");//创建一个 TextArea 类的实例对象 textArea 。 textArea.skin = "resource/ui/input.png";//设置 textArea 的皮肤。 textArea.sizeGrid = "4,4,4,4";//设置 textArea 的...
来源: Laya3.0_api 发布时间: 20231115