大约有 1,014 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0071 秒)
Laya_社区(488) Laya3.0_api(280) Laya2.0_api(125) laya_api(99) Laya2.0_文档(12) Laya3.0_文档(5) Laya2.0_示例(4) Laya_示例(1)
...加内容了,如果想清空sharedCanvas,就直接在子域remove或者destroy掉stage的所有_childs就可以了; 如果子域里的页面有调整页面尺寸,可能就还需要重新设置矩阵什么的,不然点击、滑动等事件会错位,我不太清楚,也没有遇到这种...
来源: Laya_社区 发布时间: 20180828
...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
....Sprite = new Laya.Sprite();` 3. `//将sp内部引用设置为null` 4. `sp.destroy();` 当对象设置为null,不会立即将其从内存中删除。只有系统认为内存足够低时,垃圾回收器才会运行。内存分配(而不是对象删除)会触发垃圾回收。 垃圾回收期...
来源: Laya2.0_文档 发布时间: 20210715
...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
...用优化 4.1 销毁地图 当Tiled Map不再使用的时候,需要使用destroy()方法进行销毁,回收被占用的内存。 例如: this.tMap.destroy(); 4.2 缓存相关 4.2.1 开启和关闭自动缓存 LayaAir引擎使用TiledMap时,默认会将没有动画的地块自动缓存起来...
来源: Laya3.0_文档 发布时间: 20230303
...有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node filters : Array滤镜集合。可以设置多个滤镜...
来源: laya_api 发布时间: 20170929
...,使用大括号可以指定组件的任意属性进行赋值。 Clip destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node direction : String 布局方向。 默认值为"horizontal"。 取值: "horizontal":表示水平布局。 "vertical":表示...
来源: Laya2.0_api 发布时间: 20190513
...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
...的数量。 Sprite3D cullingMask : int 可视遮罩图层。 BaseCamera destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node farPlane : Number 获取远裁面。 BaseCamera fieldO...
来源: laya_api 发布时间: 20170929
...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