大约有 600 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0056 秒)
Laya3.0_api(234) Laya_社区(164) Laya2.0_api(108) laya_api(58) Laya2.0_文档(19) Laya3.0_文档(14) Laya_示例(2) Laya2.0_示例(1)
...,下面new出了一个对象,把他添加到舞台中出错。 public static GameStart:GameStart; GameMain.GameStart=new GameStart(); Laya.stage.addChild(GameMain.GameStart); 报错:file: 'file:///e%3A/LAYABOX/CaiCi/src/GameMain.ts' severity: '错误' message: 'Argument of type 'GameStart' is ...
来源: Laya_社区 发布时间: 20170826
...位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture 设置一个Texture实...
来源: Laya2.0_api 发布时间: 20190513
...定是否有需要添加的版本号,因为在ResourceManager的 public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL; } return origin...
来源: Laya_社区 发布时间: 20180415
...置下 group 名称,用清理资源组的方式,完美解决 private static function clearRole3dRes(groupName:String):void { var arr:Array = Loader.groupMap[groupName]; if(arr != null){ for each (var url:String in arr) { var item:Resource = Laya.loader.getRes(url); if(item != null){ item.destroy...
来源: Laya_社区 发布时间: 20180517
... 2020-07-21 11:57 这个我也碰到了,我觉得你们随便导出一个static物体,然后克隆就可以发现了,这种不是偶发性问题感觉不需要传demo 189*****909 • 2020-08-19 17:00 已经上传了。
来源: Laya_社区 发布时间: 20200612
...oord);}\n";自定义材质class CustomMaterial extends Laya.BaseMaterial { static DIFFUSETEXTURE_ID: number = 1; constructor() { super(); this.setShaderName("CustomShader"); } public getDiffuseTexture(): Laya.BaseTexture { return this._getTexture(CustomMaterial.DIFFUSETEXTURE_ID); } public setDiffus...
来源: Laya_社区 发布时间: 20170815
...nt pivotX pivotY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer co...
来源: Laya3.0_api 发布时间: 20231115
...pivotY playEvent rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache target texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearT...
来源: Laya3.0_api 发布时间: 20231115
...?不对呀连console.log(1)都不输出了 阿琴 • 2018-06-21 11:31 static to(target: any, props: any, duration: number, ease?: Function, complete?: Handler, delay?: number, coverBefore?: boolean, autoRecover?: boolean): Tween; 并没有这个参数
来源: Laya_社区 发布时间: 20180621
...位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动更新缓存,但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : T...
来源: laya_api 发布时间: 20170929