大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
... laya/components/Component.ts:36 Optional _singleton _singleton: boolean = true Inherited from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/compon...
来源: Laya3.0_api 发布时间: 20231115
...刚体设置为运动刚体类型后,即将`isKinematic`的值设置为`true`。 那么运动刚体可以触发第三方的物理反馈,自己却不受物理影响。例如,运动刚体与动力学刚体发生撞击,动力学刚体会受力反弹,但运动刚体却不会受力的影响,...
来源: Laya2.0_文档 发布时间: 20210715
...t;compile_temp.js echo let fork1 = childprocess.fork(gulpDir, cmd,{silent: true})>>compile_temp.js echo fork1.stdout.on("data", (data) =^> {>>compile_temp.js echo let str = String(data)>>compile_temp.js echo console.log(str)>>compile_temp.js echo if(str.match(/^\s*Error\:/...
来源: Laya_社区 发布时间: 20200325
...er.pivotX=25; flower.pivotY=80; flower.zOrder = budai.y; flower.autoSize = true; flower.height = 100; flower.width = 100; flower.size(100,100); flower.on(Laya.Event.CLICK,this,function() { alert("My Name is Bear"); }); mallLayer.addChild(flower); mallLayer._showGridList.push(flower); 附件 : ...
来源: Laya_社区 发布时间: 20180722
... laya/components/Component.ts:36 Optional _singleton _singleton: boolean = true Inherited from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/compon...
来源: Laya3.0_api 发布时间: 20231115
... laya/components/Component.ts:36 Optional _singleton _singleton: boolean = true Inherited from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/compon...
来源: Laya3.0_api 发布时间: 20231115
...","width":150,"height":66,"sizeGrid":"4,4,4,4","labelSize":30,"labelBold":true,"var":"btn2"},"type":"Button"},{"props":{"x":220,"y":188,"skin":"comp/checkbox.png","label":"checkBox1","var":"check"},"type":"CheckBox"},{"props":{"x":220,"y":61,"skin":"comp/radiogroup.png","labels":"radio1,radio2,radio...
来源: Laya_社区 发布时间: 20170330
...hader3D.PERIOD_MATERIAL, } var shader:Shader3D = Shader3D.add("Test1",true); var subShader:SubShader = new SubShader(attributeMap,uniformMap); shader.addSubShader(subShader); subShader.addShaderPass(vs,ps); this.setShaderName("Test1"); } set mainTex(value:BaseTexture) { this._shaderValues.s...
来源: Laya_社区 发布时间: 20190923
... context: string extraName: string Default value recoverHandler: boolean = true Returns void Static _createMesh _createMesh(glTFMesh: glTFMesh, glTFSkin?: glTFSkin): Mesh Defined in laya/gltf/glTFUtils.ts:1253 创建 Mesh Parameters glTFMesh: glTFMesh Optional glTFSkin: glTFSkin Returns Mesh Static ...
来源: Laya3.0_api 发布时间: 20231102
...a.Shader3D.propertyNameToID("u_MainCol"); CMat.initShader(); this.inited = true; } this.setShaderName("CMatShader"); } public SetMainTex(value) { this._shaderValues.setTexture(CMat._mainTex, value); } public SetMainCol(value) { this._shaderValues.setVector3(CMat._mainCol, value); } /** * 设置渲...
来源: Laya_社区 发布时间: 20190814