大约有 415 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0048 秒)
...mber, width: number, height: number): void { if (!canvas) return; var src: Context = canvas.context as Context; var submit: ISubmit; if (src._targets) { //生成渲染结果到src._targets上 /* this._submits[this._submits._length++] = SubmitCanvas.create(src, 0, null); _curSubmit = SubmitBase.RENDE...
来源: Laya_社区 发布时间: 20210527
...) => { this.showDialog("注册功能暂未开放") }); } showDialog(context: string) { // if (this.normalDialog) { // this.normalDialog.close(); // } this.normalDialog = new NormalDialog(context); this.normalDialog.popup(true, true); Laya.stage.addChild(this.normalDialog); } } // ...
来源: Laya_社区 发布时间: 20181216
...rns ColorFilter Static _filter _filter(this: RenderSprite, sprite: Sprite, context: Context, x: number, y: number): void Inherited from BlurFilter._filter Defined in laya/filters/Filter.ts:38 Parameters this: RenderSprite sprite: Sprite context: Context x: number y: number Returns void Globals "laya...
来源: Laya3.0_api 发布时间: 20231115
... }else { var measureResult=Browser.context.measureText(Text._testWord); this._charSize.width=measureResult.width; this._charSize.height=(measureResult.height || this.fontSize); }; v...
来源: Laya_社区 发布时间: 20180526
...果出错 FrustumCulling._traversalCulling=function(camera,scene,context,renderList){ var validCount=renderList.length; var renders=renderList.elements; var boundFrustum=camera.boundFrustum; var camPos=camera._transform.position...
来源: Laya_社区 发布时间: 20190711
...derer(owner:PixelLineSprite3D)PixelLineRenderer _renderUpdateWithCamera(context:RenderContext3D, transform:Transform3D):void[override] PixelLineRenderer event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否...
来源: Laya2.0_api 发布时间: 20190513
... BloomEffect() 创建一个 BloomEffect 实例。 BloomEffect render(context:PostProcessRenderContext):void[override] BloomEffectProperty DetailanamorphicRatiopropertyanamorphicRatio:Number 获取形变比,通过扭曲泛光产生视觉上形变,负值为垂直扭曲,正值为水平扭曲。 I...
来源: Laya2.0_api 发布时间: 20190513
...板功能,在安卓下,直接这样写: function copyToClip(){ var Context = plus.android.importClass("android.content.Context"); var main = plus.android.runtimeMainActivity(); var clip = main.getSystemService(Context.CLIPBOARD_SERVICE); plus.android.invoke(clip,"setText","I'm copy from Native...
来源: Laya_社区 发布时间: 20170531
...mber, width: number, height: number): void { if (!canvas) return; var src: Context = canvas.context as Context; var submit: ISubmit; if (src._targets) { //生成渲染结果到src._targets上 /* this._submits[this._submits._length++] = SubmitCanvas.create(src, 0, null); _curSubmit = SubmitBase.RENDE...
来源: Laya_社区 发布时间: 20210527
...eFilter Methods Static _filter _filter(this: RenderSprite, sprite: Sprite, context: any, x: number, y: number): void Defined in laya/filters/NativeFilter.ts:36 Parameters this: RenderSprite sprite: Sprite context: any x: number y: number Returns void Globals "laya/filters/NativeFilter" NativeFilter ...
来源: Laya3.0_api 发布时间: 20231115