• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,501 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0107 秒)

871. laya.d3.core.render.ScreenTriangle_API3.0 [ 55%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

来源: Laya3.0_api 发布时间: 20231102

872. laya的摇一摇发布到微信小游戏上无效 [ 55%]

...nce.start(5, 500); Shake.instance.on(Event.CHANGE, this, onShake); private function onShake():void { console.log("摇晃了!!!!"); }这段代码发布到微信小游戏上并无效果 请问是什么原因呢 2018-07-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

来源: Laya_社区 发布时间: 20180726

873. laya.components.KeyframeNodeList2D_API3.0 [ 55%]

...eList2D count getNodeByIndex setNodeByIndex Legend Object literal Variable Function Type alias Class Class with type parameter Method Accessor Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115

874. graphics绘制报错 [ 55%]

..."./res/apes/monkey2.png"; Laya.loader.load(path, Laya.Handler.create(this, function() { let tex = Laya.loader.getRes(path); let sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.graphics.drawTriangles( tex, 100, 0, new Float32Array([0,0,1,0,1,1,0,1]), new Float32Array([0,0,1,0,1,1,0,1]), new Uint1...

来源: Laya_社区 发布时间: 20190829

875. laya.d3.shader.pbr.PBRShaderLib_API3.0 [ 55%]

...EFINE_CLEARCOAT_NORMAL DEFINE_EMISSION init Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115

876. 关于webGL下遮罩效率问题 [ 55%]

... new Sprite(); Laya.stage.frameLoop(1, null, drawMask); var index:int = 0; function drawMask():void { index++; if(index > 72) index = index-72; var angle:int = index*5; spr.mask.graphics.drawPie(0,0,100,0,angle, "#ffffff"); } 2018-05-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

来源: Laya_社区 发布时间: 20180502

877. 急急 在线等 加载xml 后直播无法自动播放 附示例项目 [ 55%]

...aderPolicy.setup(URLResolver.solvePath("files.fst?"), Handler.create(this, function xload() : void { //无法播放 Laya.loader.load(URLResolver.solvePath("config.xml"), Handler.create(this, onConfigLoaded), null, Loader.XML); //直接调用可以正常播放 //onConfigLoaded(null); }));   运行...

来源: Laya_社区 发布时间: 20171115

878. 发布时勾选压缩js后,gulp uglify生成的sourcemap在哪里 [ 55%]

... // 压缩js gulp.task("compressJs", ["compressJson"], function () { if (config.compressJs) { return gulp.src(config.compressJsFilter, { base: releaseDir }) .pipe(sourcemaps.init({loadMaps:true})) .pipe(uglify({ mangle: { keep_fnames:true } })) .pipe(sourcemaps.write(releaseDir +...

来源: Laya_社区 发布时间: 20190528

879. laya.display.cmd.DrawPolyCmd_API3.0 [ 55%]

...r lineColor lineWidth points x y ID recover Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface Static property

来源: Laya3.0_api 发布时间: 20231115

880. 技术文档中的,textInput多行输入示例问题---TS [ 55%]

...Laya.WebGL; 导致后续创建Input实例 ,不会有代码提示。JS中 function Text_InputSingleline(){var textInput = new Laya.TextInput("单行输入");//创建一个 TextInput 类的实例对象 textInput 。 inputtext.padding=[2,2,2,2]; TS如果使用textInput ,这里就会报错。 2019-0...

来源: Laya_社区 发布时间: 20190825