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

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

971. 微信小游戏在开放数据域绘制排行榜无法显示图片 [ 40%]

...加内容了,如果想清空sharedCanvas,就直接在子域remove或者destroy掉stage的所有_childs就可以了; 如果子域里的页面有调整页面尺寸,可能就还需要重新设置矩阵什么的,不然点击、滑动等事件会错位,我不太清楚,也没有遇到这种...

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

972. laya.ui.List_API3.0 [ 40%]

...eAs cells centerX centerY components content customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize elasticEnabled filters globalRotation globalScaleX globalScaleY graphics gray hScrollBarSkin height hideFlags hitArea is3D itemRender left length...

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

973. 内存优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 40%]

....Sprite = new Laya.Sprite();` 3. `//将sp内部引用设置为null` 4. `sp.destroy();` 当对象设置为null,不会立即将其从内存中删除。只有系统认为内存足够低时,垃圾回收器才会运行。内存分配(而不是对象删除)会触发垃圾回收。 垃圾回收期...

来源: Laya2.0_文档 发布时间: 20210715

974. laya.ui.UIGroup_API3.0 [ 40%]

...de bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items labelBold labelColors labelFont labe...

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

975. TiledMap地图 · LayaAir3.0文档 · LAYABOX [ 40%]

...用优化 4.1 销毁地图 当Tiled Map不再使用的时候,需要使用destroy()方法进行销毁,回收被占用的内存。 例如: this.tMap.destroy(); 4.2 缓存相关 4.2.1 开启和关闭自动缓存 LayaAir引擎使用TiledMap时,默认会将没有动画的地块自动缓存起来...

来源: Laya3.0_文档 发布时间: 20230303

976. laya.ani.bone.Skeleton [ 40%]

...有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node filters : Array滤镜集合。可以设置多个滤镜...

来源: laya_api 发布时间: 20170929

977. laya.ui.FontClip [ 40%]

...,使用大括号可以指定组件的任意属性进行赋值。 Clip destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node  direction : String 布局方向。 默认值为"horizontal"。 取值: "horizontal":表示水平布局。 "vertical":表示...

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

978. laya.ui.TextArea_API3.0 [ 39%]

...tom cacheAs centerX centerY color components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize editable filters fitContent focus font fontSize globalRotation globalScaleX globalScaleY graphics gray hScrollBar hScrollBarSkin height hideFlags...

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

979. laya.d3.core.VRCamera [ 39%]

...的数量。 Sprite3D cullingMask : int 可视遮罩图层。 BaseCamera destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node farPlane : Number 获取远裁面。 BaseCamera fieldO...

来源: laya_api 发布时间: 20170929

980. laya.d3.core.scene.Scene3D_API3.0 [ 39%]

...rY blendMode cacheAs components cullInfoCamera cullPass customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize enableFog filters fogColor fogDensity fogEnd fogMode fogRange fogStart globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea iblTex i...

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