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

大约有 142 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0033 秒)

1. laya.utils.Stat_API3.0 [ 100%]

... Static BlitDrawCall BlitDrawCall: object Defined in laya/utils/Stat.ts:50 color color: "white" = "white" Defined in laya/utils/Stat.ts:50 mode mode: "average" = "average" Defined in laya/utils/Stat.ts:50 title title: string = "BlitDrawCall" Defined in laya/utils/Stat.ts:50 units units: "int" = "int...

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

2. laya.utils.Color [ 96%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames ColorProperties | Methods Packagelaya.utilsClasspublic class ColorInheritanceColor Object Color 是一个颜色值处理类。 Public Properties PropertyDefined By  _drawStyle : *Color  numColor : uint uint 型颜色...

来源: laya_api 发布时间: 20170422

3. laya.utils.PerfData [ 91%]

...PerfDataInheritancePerfData ObjectPublic Properties PropertyDefined By  color : intPerfData  datapos : int = 0PerfData  datas : ArrayPerfData  id : intPerfData  name : StringPerfData  scale : Number = 1.0PerfDataPublic Methods  MethodDefined By  PerfData(id:int, color:int, name:Strin...

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

4. laya.utils.Utils [ 86%]

...Angle(radian:Number):Number[static] 弧度转换为角度。 Utils  toHexColor(color:Number):String[static] 将传入的 uint 类型颜色值转换为字符串型颜色值。 Utils  toRadian(angle:Number):Number[static] 角度转弧度。 UtilsProperty DetailparseXMLFromStringpropertypublic stat...

来源: laya_api 发布时间: 20170929

5. laya.utils.Utils [ 86%]

...Angle(radian:Number):Number[static] 弧度转换为角度。 Utils  toHexColor(color:Number):String[static] 将传入的 uint 类型颜色值转换为字符串型颜色值。 Utils  toRadian(angle:Number):Number[static] 角度转弧度。 UtilsProperty DetailparseXMLFromStringpropertypublic stat...

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

6. laya.utils.Utils_API3.0 [ 86%]

... Class Utils Utils 是工具类。 Hierarchy Utils Index Methods fromStringColor getBaseName getFileExtension getGID parseInt replaceFileExtension toAngle toHexColor toRadian Methods Static fromStringColor fromStringColor(value: string): number Defined in laya/utils/Utils.ts:40 Parameters value: str...

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

7. 如何完全删除精灵 并回收内存 [ 83%]

...x() for(let i =0;i<1000;i++){ let t = new Laya.Text() t.text = 'test' t.color = '#ffffff' container.addChild(t) } Laya.stage.addChild(container)新建一个精灵 向其中插入1000个文字 内存快照变为10.5var WebGL = laya.webgl.WebGL; Laya.init(600, 400, WebGL); let container = new Laya....

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

8. UI-Tree [ 79%]

...treeItem", "width": "150", "left": "33", "height": "22", "name": "label", "color": "#ffff00", "right": "0", "x": "33"}}, {"type": "Clip", "props": {"x": "0", "name": "arrow", "y": "5", "skin": "ui/clip_tree_arrow.png", "clipY": "2"}}], "type": "Box", "props": {"name": "render", "right": "0", "left":...

来源: Laya_示例 发布时间: 20240929

9. UI-Tree [ 79%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); let res = [ "res/ui/vscroll.png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png", "res/ui/tree/clip_selectBox.png", "res/ui/tree/clip_tree_folder.png", "res/ui/tre...

来源: Laya2.0_示例 发布时间: 20240929

10. 缓动动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 79%]

...// 初始化舞台 Laya.init(1334,750, WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 createTween(); } //创建缓动文本 private function createTween():void { //"LayaBox"字符串总宽度 var w:int = 800; //文本创建时的起始x位置(>>在此使用右移运算...

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