大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0067 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...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
... 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
Image.loadImage 方法加载问题 调用 setPublicSpacesData 这个方 传入参数 里面有每一个图片的名字 三个不同的图片 只能加载两个 但是三个同样的图片没问题 this.publicSpaceList = new Laya.List(); this.publicSpaceList.itemRender = gamepublicspaceitem.Pu...
来源: Laya_社区 发布时间: 20170923
...-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
...度、色相等参数作为getter和setter,以写子类继承为例: public class CustomBitmap extends Sprite { public function CustomBitmap() { } public get luminance():Number { //返回亮度参数值 //... } //亮度,其他一样 public set luminance(value:Number):void { //你自己的处理...
来源: Laya_社区 发布时间: 20180511
...img/1.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
...Frames No Frames ImageProperties | Methods | Events Packagelaya.uiClasspublic class ImageInheritanceImage Component Sprite Node EventDispatcher Object Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.ski...
来源: laya_api 发布时间: 20170929
...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
...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
... * @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