大约有 600 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0048 秒)
Laya3.0_api(234) Laya_社区(164) Laya2.0_api(108) laya_api(58) Laya2.0_文档(19) Laya3.0_文档(14) Laya_示例(2) Laya2.0_示例(1)
...dy放到特定容器(Sprite),並對容器使用ScrollRect捲動時,Static type RigidBody的貼圖會錯位,但 Collider碰撞都正常,只有顯示異常 若改用容器的x, y進行座標偏移,會出現殘影,顯示仍然有問題 若不用容器,直接對 stage做scrollRect顯...
来源: Laya_社区 发布时间: 20181215
...umber; // 位图集合 private chars: Laya.Sprite = ; // 回收池 private static fontPool: Laya.Sprite = ; /** * * @param resFix 资源前缀 * @param width 宽度 * @param align 水平排列方式 * @param padding 间距 */ public constructor(resFix: string, width: number, align: string = "left",p...
来源: Laya_社区 发布时间: 20180302
...下午3:07 * @Desc: 字体样式管理器 **/ class StyleManager { private static _instance: StyleManager; private _styleMap: Object;//字体样式映射 static get instance(): StyleManager { if (!this._instance) { this._instance = new StyleManager(); } return this._instance; } constructor() { } /**...
来源: Laya_社区 发布时间: 20171226
...### **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
...circle之间的constraint组成的,其中绳子一端的circle设为了static,我想把绳子删除掉,调用了world.remove,然后本来晃动的绳子僵硬不动了,但是还是显示在屏幕中,怎么把它从屏幕中删掉? 2018-07-24 添加评论 免费帖 --> 分享 微博 QZO...
来源: Laya_社区 发布时间: 20180724
...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
...场景的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