大约有 598 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0063 秒)
Laya3.0_api(234) Laya_社区(164) Laya2.0_api(108) laya_api(58) Laya2.0_文档(19) Laya3.0_文档(12) Laya_示例(2) Laya2.0_示例(1)
...### **Text 类中相关接口:** **registerBitmapFont () 方法** public static function registerBitmapFont(name:String, bitmapFont:BitmapFont):void 注册位图字体。 参数 name:String — 位图字体的名称。 bitmapFont:BitmapFont — 位图字体文件。 **unregisterBitmapFont () 方...
来源: Laya2.0_文档 发布时间: 20201114
...rotation scaleX scaleY scene scrollRect seekable seeking skewX skewY stage staticCache texture timer transform url videoHeight videoWidth viewport visible volume width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLa...
来源: Laya3.0_api 发布时间: 20231102
...库:找到laya.wxmini.js文件,修改_onStageResize方法,改成: static _onStageResize() { var ts = Laya.Laya.stage._canvasTransform.identity(); ts.scale((Laya.Browser.width / Laya.Render.canvas.width / Laya.Browser.pixelRatio), Laya.Browser.height / Laya.Render.canvas.height / Laya.Browser...
来源: Laya_社区 发布时间: 20210924
...r._passes.indexOf(shaderPass) : number defineNames :宏定义名称 static compileShaderByDefineNames(shaderName, subShaderIndex, passIndex, defineNames) { var shader = Shader3D.find(shaderName); if (shader) { var subShader = shader.getSubShaderAt(...
来源: Laya_社区 发布时间: 20200606
...circle之间的constraint组成的,其中绳子一端的circle设为了static,我想把绳子删除掉,调用了world.remove,然后本来晃动的绳子僵硬不动了,但是还是显示在屏幕中,怎么把它从屏幕中删掉? 2018-07-24 添加评论 免费帖 --> 分享 微博 QZO...
来源: Laya_社区 发布时间: 20180724
...场景的drawCall都没有降低。查源码laya.d3.js 的Config3D.enableStaticBatch 无论true与false 走的都代码流程都一样。 总之都是elements.add(element); 2 我使用staticBatchVolume 勾选Enable Static Instance Batch Render 就会报错! 3 性能问题 2.x性能测试的demo ...
来源: Laya_社区 发布时间: 20231214
... // protected _getTextureByUrl(url: string): string; // static parseAnimationData(aniData: any): any; // } } T15_UITest.zip 2017-08-17 0 0 分享 微博 QZONE 微信 asdf131 赞同来自: import Button = laya.editorUI.Button; 还发现这个有时引不进来!! 2017-...
来源: Laya_社区 发布时间: 20170817
...tY right rotation scaleX scaleY scene scene3D scrollRect skewX skewY stage staticCache texture timer top transform url viewport visible width x y zOrder manager root Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer ...
来源: Laya3.0_api 发布时间: 20231115
...scaleY scene scrollRect scrollX scrollY singleCharRender skewX skewY stage staticCache stroke strokeColor templateVars text textHeight textWidth texture timer transform ubb underline underlineColor url valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _s...
来源: Laya3.0_api 发布时间: 20231115
...S from "../customShader/outline02.vs"; ``` > 初始化Shader ```typescript static initShader() { //所有的attributeMap属性 var attributeMap = { 'a_Position': Laya.VertexMesh.MESH_POSITION0, 'a_Normal': Laya.VertexMesh.MESH_NORMAL0, 'a_Texcoord0': Laya.VertexMesh.MESH_TEXTURECOORDINATE0 }; //所...
来源: Laya2.0_文档 发布时间: 20210715