大约有 424 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
Laya_社区(244) Laya3.0_api(48) Laya2.0_文档(37) Laya3.0_文档(22) Laya_示例(20) Laya2.0_示例(19) laya_api(17) Laya2.0_api(17)
... "res/monkey2.png"; Laya.stage.addChild(img); //文字 var text = new Laya.Label(); text.text = "游戏的水平方向"; text.color = "gray"; text.fontSize = 100; text.centerX = 0; text.centerY = 50; Laya.stage.addChild(text); } Laya.init(0, 0, Laya.WebGL); Laya.stage.scaleMode = "full"; Laya.stage....
来源: Laya2.0_文档 发布时间: 20210715
...super(); var arr:Array=[]; for(var i:int=0;i<95;i++) { arr.push({icon:i,label:"Index"+i}); } boxList.array=arr; boxList.mouseHandler=new Handler(listRender); } private function listRender(e:MouseEvent,index:int):void { // TODO Auto Generated method stub if(e.type==MouseEvent.CLICK) { if(index==2)...
来源: Laya_社区 发布时间: 20151224
...oBox itemSize : int 下拉列表项标签的字体大小。 ComboBox labelBold : Boolean 表示按钮文本标签是否为粗体字。 ComboBox labelColors : String 获取或设置对 ComboBox 组件所包含的 Button 组件的文本标签颜色。 格式:upColor,overColor,downColor,disa...
来源: laya_api 发布时间: 20170929
...tureSpr.addChild(this.mArmature); this.mArmature.on(Laya.Event.LABEL, this, this.onEvent); this.mArmature.on(Laya.Event.STOPPED, this, this.completeHandler); this.play(); let bound: Laya.Rectangle = this.mArmature.getBounds(); this.mArmatur...
来源: Laya_社区 发布时间: 20161122
...Index Constructors constructor Properties _extra _singleton category group label mask owner runInEditor scriptPath Accessors allowRotation allowSleep angularDamping angularVelocity awaked body bullet destroyed enabled gravityScale hideFlags id linearDamping linearVelocity type Methods _getOriBody _i...
来源: Laya3.0_api 发布时间: 20231115
... Sprite iconOffset : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表...
来源: laya_api 发布时间: 20170929
...设置公用属性var为tab,用于程序调用控制。设置常用属性labels为“雪人,糖罐,绿树”, 选择的按钮索引selectedIndex 为0。再设置其他属性中的字体大小、粗体、字体状态颜色等。 显示效果如图6所示:  ...
来源: Laya2.0_文档 发布时间: 20210715
...onent):* 添加组件实例。 Node addInputChild(node:Node):NodeNode addLabel(label:String, index:int):void 增加一个帧标签到指定索引的帧上。当动画播放到此索引的帧时会派发Event.LABEL事件,派发事件是在完成当前帧画面更新之后。 AnimationBase callLa...
来源: Laya2.0_api 发布时间: 20190513
...ist 组件列表渲染异常 layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 分享,扩展Laya.Text组件实现简单的富文本 编辑器Tree组件树节点渲染回调两次 3d项目-unity添加物理组件 layanative2 打包android...
来源: Laya_社区 发布时间: 20250815
...因? 如何清除sharedCanvas上一次绘制的内容 资源编辑器的label控件的垂直居中有问题 fixed_height时不居中 对齐模式选居中 没效果 Laya2.20bata4版本使用HTMLDivElement报错 drawTexture时,Matrix对象,a=-1,无法实现水平翻转 问题状态 最新活动...
来源: Laya_社区 发布时间: 20190227