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

大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0062 秒)

2081. webgl graphics 绘制 层级 显示错误 [ 49%]

...改方法: 打开 WebGLContext2D.as 找到其中的stroke函数 override public function stroke():void { 在最后加上 _renderKey = -1; 如下:   另外你这样做效率太低了,建议用图片,或者用drawRect来做,line是很慢的   2018-04-02 0 1 分享 微博 QZONE 微信 Laya_...

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

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

...清理后,内存没下降。   清理方法            override public function destroy(destroyChild:Boolean = true):void {             if(effect3D != null){                 effect3D.destroy();                 effect3D = null;             }    ...

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

2083. 实体组件系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...ort class NewScript extends Laya.Script { @property({ type : Laya.Sprite}) public spr: Laya.Sprite; onAwake(): void { this.spr.size(512, 313); //设置Sprite大小 this.spr.loadImage("atlas/comp/image.png"); //添加纹理 } } 效果如图4-2所示: (图4-2) 4.1.2 3D节点的基础使用 首...

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

2084. laya.d3.physicscannon.CannonPhysicsTriggerComponent_API3.0 [ 49%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physicsCannon/CannonPhysicsTriggerComponent" CannonPhysicsTriggerComponent Class CannonPhysicsTriggerComponent PhysicsTriggerComponent 类用...

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

2085. laya.ui.VSlider [ 49%]

...rames No Frames VSliderProperties | Methods | Events Packagelaya.uiClasspublic class VSliderInheritanceVSlider Slider Component Sprite Node EventDispatcher Object 使用 VSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 VSlider 控件采用垂直方向...

来源: laya_api 发布时间: 20170929

2086. laya.maths.Matrix_API3.0 [ 49%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Matrix" Matrix Class Matrix Matrix 类表示一个转换矩阵,它确定如何将点从一个坐标空间映射到另一个坐标空间...

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

2087. laya.d3.utils.Utils3D_API3.0 [ 49%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/utils/Utils3D" Utils3D Class Utils3D Utils3D 类用于创建3D工具。 Hierarchy Utils3D Index Properties _tempV0 _tempV1 Methods PointinTri...

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

2088. Laya.Pool.getItemByClass 闪退 [ 49%]

...CatchFish/bin/libs/laya.core.js:18186:8) at loop CFFish的init方法如下 public init(type:string):void{ this.type = type } 2018-04-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Apple 赞同来自: console.lo...

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

2089. laya底层的加载为什么可以new两次 [ 49%]

...要直接使用 <code>new HTMLImage<code> 。 **</p> */ public static var create:Function = function(src:String, def:* = null):HTMLImage { return new HTMLImage(src, def); } tobe • 2018-07-02 17:35 @Laya_Aaron:额,这里第一句话是 创建一个实例,new HTMLImage.create()...

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

2090. laya.ui.HSlider [ 49%]

...rames No Frames HSliderProperties | Methods | Events Packagelaya.uiClasspublic class HSliderInheritanceHSlider Slider Component Sprite Node EventDispatcher Object 使用 HSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 HSlider 控件采用水平方向...

来源: laya_api 发布时间: 20170929