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

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

591. laya.ui.ProgressBar [ 83%]

...s No Frames ProgressBarProperties | Methods | Events Packagelaya.uiClasspublic class ProgressBarInheritanceProgressBar UIComponent Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Propertie...

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

592. 分享:图集资源做位图文本的工具类(知道fontclip组件的可以略过了,之前一直没注意到这个组件) [ 83%]

... width 宽度 * @param align 水平排列方式 * @param padding 间距 */ public constructor(resFix: string, width: number, align: string = "left",padding: number=0) { super(); this.width = width; this.resFix = resFix; this._align = align; this._padding = padding; } /** * 字间距 */ public set pa...

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

593. Image.loadImage 方法加载问题 [ 83%]

Image.loadImage 方法加载问题 调用 setPublicSpacesData 这个方 传入参数 里面有每一个图片的名字 三个不同的图片 只能加载两个 但是三个同样的图片没问题     this.publicSpaceList = new Laya.List(); this.publicSpaceList.itemRender = gamepublicspaceitem.Pu...

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

594. 更新最新版layaNative0.98 返回键问题 [ 83%]

...-08-08 16:51 static class layaGameListener implements ILayaEventListener { public Activity activity; @Override public void ExitGame() { Log.i("=======", "======exit"); activity.finish(); activity = null; //mLayaEngine.onDestroy(); System.exit(0); } @Override public void showAssis...

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

595. Tween.to时添加滤镜 [ 83%]

...度、色相等参数作为getter和setter,以写子类继承为例: public class CustomBitmap extends Sprite { public function CustomBitmap() { } public get luminance():Number { //返回亮度参数值 //... } //亮度,其他一样 public set luminance(value:Number):void { //你自己的处理...

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

596. 文本基础样式(ActionScript-LayaAir基础篇(AS3)-文本) [ 83%]

...img/1.png) ![2.png](img/2.png) ```java package { import laya.display.Text; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var txt:Text = new Text(); txt.text = "hello_world"; txt.color = "#ffffff"; Laya.stage.addChild(txt); } } } ``` 这个时候我...

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

597. laya.ui.Image [ 83%]

...Frames No Frames ImageProperties | Methods | Events Packagelaya.uiClasspublic class ImageInheritanceImage Component Sprite Node EventDispatcher Object Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.ski...

来源: laya_api 发布时间: 20170929

598. laya.d3.core.MeshRender [ 83%]

...Frames No Frames MeshRenderProperties | Methods Packagelaya.d3.coreClasspublic class MeshRenderInheritanceMeshRender BaseRender EventDispatcher ObjectSubclasses SkinnedMeshRender MeshRender 类用于网格渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Propert...

来源: laya_api 发布时间: 20170929

599. laya.d3.core.light.PointLight [ 83%]

...s PointLightProperties | Methods | Events Packagelaya.d3.core.lightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D Node EventDispatcher Object PointLight 类用于创建点光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDe...

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

600. 引擎中的修改意见 [ 82%]

... * @param aniIndex 动画索引 * @param frameIndex 帧索引 * @return */ public function getGrahicsDataWithCache(aniIndex:int, frameIndex:Number):Graphics { if(_graphicsCache[aniIndex] && _graphicsCache[aniIndex][frameIndex]){ return _graphicsCache[aniIndex][frameIndex]; } return null; } 2...

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