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

大约有 598 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)

491. 怎么清理掉 Sprite3D 相关的缓存资源, 资源destroy后内存还下降、。 [ 49%]

...置下 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

492. 发现静态物件使用Laya.Sprite3D.instantiate方法复制出来的渲染批处理反复增加不会合批,这个怎么办? [ 48%]

... 2020-07-21 11:57 这个我也碰到了,我觉得你们随便导出一个static物体,然后克隆就可以发现了,这种不是偶发性问题感觉不需要传demo 189*****909 • 2020-08-19 17:00 已经上传了。

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

493. 角色模型的材质列表切换后,不播放动作了 [ 48%]

...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

494. laya.display.FrameAnimation_API3.0 [ 48%]

...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

495. laya.display.EffectAnimation_API3.0 [ 48%]

...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

496. Laya.Tween.to 有没有监听值的变化的方法? [ 47%]

...?不对呀连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

497. laya.display.FrameAnimation [ 47%]

...位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动更新缓存,但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : T...

来源: laya_api 发布时间: 20170929

498. laya.filters.ColorFilter [ 47%]

...s Show Inherited Public Properties PropertyDefined By _filter : Function[static] FilterPublic Methods  MethodDefined By  ColorFilter(mat:Array = null) 创建一个 ColorFilter 实例。 ColorFilter  adjustBrightness(brightness:Number):ColorFilter 调整亮度 ColorFilter  adjustColor(bright...

来源: Laya2.0_api 发布时间: 20190513

499. scaleMode bug [ 47%]

...人 smallsow • 2018-03-16 14:53 SCALE_FIXED_WIDTH : String = fixedwidth [static] 应用保持设计宽度不变,高度根据屏幕比缩放,stage的宽度等于设计高度,高度根据屏幕比率大小而变化 1、设计宽高: ​ 在项目代码中项目代码中初始化舞台Laya.in...

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

500. laya.d3.renderobjs.nativeobj.NativeTransform3D_API3.0 [ 47%]

...veObj: any Defined in laya/d3/RenderObjs/NativeOBJ/NativeTransform3D.ts:22 Static MemoryBlock_size MemoryBlock_size: number = 16 * 4 Defined in laya/d3/RenderObjs/NativeOBJ/NativeTransform3D.ts:14 Static tmpVec3 tmpVec3: Vector3 = new Vector3() Inherited from Transform3D.tmpVec3 Defined in laya/d3/c...

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