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

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

1251. laya.resource.WebGLRTMgr_API3.0 [ 73%]

...r Returns RenderTexture2D Static releaseRT releaseRT(rt: RenderTexture2D): void Defined in laya/resource/WebGLRTMgr.ts:48 回收一个renderTarget Parameters rt: RenderTexture2D Returns void Globals "laya/resource/WebGLRTMgr" WebGLRTMgr getRT releaseRT Legend Object literal Variable Function Type al...

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

1252. laya.utils.FontInfo_API3.0 [ 73%]

...nt: string | null Returns FontInfo Methods setFont setFont(value: string): void Defined in laya/utils/FontInfo.ts:41 设置字体格式 Parameters value: string Returns void Static parse parse(font: string): FontInfo Defined in laya/utils/FontInfo.ts:9 解析字体模型 Parameters font: string Retu...

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

1253. laya.display.cmd.DrawPolyCmd [ 73%]

... Y 轴位置。 DrawPolyCmdPublic Methods  MethodDefined By  recover():void 回收到对象池 DrawPolyCmdPublic Constants ConstantDefined By  ID : String = DrawPoly[static] DrawPolyCmdProperty DetailfillColorpropertypublic var fillColor:* 填充颜色,或者填充绘图的渐变对象。 li...

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

1254. laya.d3.core.particleShuriKen.module.RotationOverLifetime [ 73%]

...etime  clone():* 克隆。 RotationOverLifetime  cloneTo(destObject:*):void 克隆。 RotationOverLifetimeProperty DetailangularVelocitypropertyangularVelocity:GradientAngularVelocity  [read-only] 取角速度。 Implementation     public function get angularVelocity():GradientAngularVeloc...

来源: laya_api 发布时间: 20170929

1255. laya.d3.core.particleShuriKen.module.RotationOverLifetime [ 73%]

...etime  clone():* 克隆。 RotationOverLifetime  cloneTo(destObject:*):void 克隆。 RotationOverLifetimeProperty DetailangularVelocitypropertyangularVelocity:GradientAngularVelocity  [read-only] 取角速度。 Implementation     public function get angularVelocity():GradientAngularVeloc...

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

1256. Laya.loader.load 教程代码出错 [ 73%]

...        }         private function LoadComplated(e:*=null):void         {             Laya.stage.addChild(img);             img.on("click",this,OnImgClick);             OnImgClick();                          var txt:...

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

1257. 图像组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 73%]

...节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.img.skin = "resources/layaAir.png";//设置皮肤 this.img.useSourceSize = true;//设置图片大小为源大小 this.img.color = "#0000FF";//设置颜色为蓝色 } } 二、通过代码创建Image组件 有时,...

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

1258. laya.particle.ParticleTemplateBase_API3.0 [ 73%]

...cleArray addParticleArray(position: Float32Array, velocity: Float32Array): void Defined in laya/particle/ParticleTemplateBase.ts:32 添加一个粒子 Parameters position: Float32Array 粒子位置 velocity: Float32Array 粒子速度 Returns void Globals "laya/particle/ParticleTemplateBase" Particle...

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

1259. laya.filters.webgl.FilterActionGL [ 73%]

...t:RenderContext, x:Number, y:Number):*FilterActionGL  setValue(shader:*):voidFilterActionGL  setValueMix(shader:Value2D):voidFilterActionGLProperty DetailtypeMixpropertytypeMix:int  [read-only] Implementation     public function get typeMix():intConstructor DetailFilterActionGL()Constructo...

来源: laya_api 发布时间: 20170929

1260. 请问laya的List除了用selectBox,还有什么方式可以自定义列表项选中状态下的表现吗 [ 73%]

...以参考下:把img换成你的字体即可!private function setUp():void { for(var i:int=0;i<10;i++) { data.push({img:"res/ui/"+i+".png",isSelect:false}); } my_list.array=data; my_list.selectEnable=true; my_list.selectHandler=new Handler(this,onSlectHandler); my_list.renderHandler=new Handle...

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