大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...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
...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
... Y 轴位置。 DrawPolyCmdPublic Methods MethodDefined By recover():void 回收到对象池 DrawPolyCmdPublic Constants ConstantDefined By ID : String = DrawPoly[static] DrawPolyCmdProperty DetailfillColorpropertypublic var fillColor:* 填充颜色,或者填充绘图的渐变对象。 li...
来源: Laya2.0_api 发布时间: 20190513
...etime clone():* 克隆。 RotationOverLifetime cloneTo(destObject:*):void 克隆。 RotationOverLifetimeProperty DetailangularVelocitypropertyangularVelocity:GradientAngularVelocity [read-only] 取角速度。 Implementation public function get angularVelocity():GradientAngularVeloc...
来源: laya_api 发布时间: 20170929
...etime clone():* 克隆。 RotationOverLifetime cloneTo(destObject:*):void 克隆。 RotationOverLifetimeProperty DetailangularVelocitypropertyangularVelocity:GradientAngularVelocity [read-only] 取角速度。 Implementation public function get angularVelocity():GradientAngularVeloc...
来源: Laya2.0_api 发布时间: 20190513
... } private function LoadComplated(e:*=null):void { Laya.stage.addChild(img); img.on("click",this,OnImgClick); OnImgClick(); var txt:...
来源: Laya_社区 发布时间: 20170918
...节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.img.skin = "resources/layaAir.png";//设置皮肤 this.img.useSourceSize = true;//设置图片大小为源大小 this.img.color = "#0000FF";//设置颜色为蓝色 } } 二、通过代码创建Image组件 有时,...
来源: Laya3.0_文档 发布时间: 20251010
...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
...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
...以参考下:把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