大约有 1,062 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0077 秒)
Laya3.0_api(409) Laya2.0_api(226) Laya_社区(219) laya_api(168) Laya2.0_文档(20) Laya3.0_文档(10) Laya2.0_示例(7) Laya_示例(3)
... export class GameSceneuiUI extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadLi...
来源: Laya_社区 发布时间: 20200228
...xp = new RegExp("^[\u4E00-\u9FA5]$"); private static var fontMap:Array = ; public static var measureText:Function = function(txt:String, font:String):* { var isChinese:Boolean = hanzi.test(txt); if (isChinese && fontMap[font]) { return fontMap[font]; } var ctx:* = Browser.context; ctx.font =...
来源: Laya_社区 发布时间: 20190610
...0, WARN = 600, ERROR = 800, FATAL = 1000, OFF = 0xFFFFFFFF }class Logger { public static logLevel: number = LogLevelEnum.ALL; // 获取或设置日志输出的分级 }编译运行会报错。 可行的办法是改成getter去懒初始化, 用三斜线指令(ts推荐的,但是貌似没用?)...
来源: Laya_社区 发布时间: 20171107
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/map/TiledMap" TiledMap Class TiledMap tiledMap是整个地图的核心 地图以层级来划分地图(例如:地表层,植被层,建筑...
来源: Laya3.0_api 发布时间: 20231115
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/AnimatorControllerLayer" AnimatorControllerLayer Class AnimatorControllerLayer AnimatorControllerLayer 类用于创建动画控制...
来源: Laya3.0_api 发布时间: 20231102
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/Ease" Ease Class Ease Ease 类定义了缓动函数,以便实现 Tween 动画的缓动效果。 Hierarchy Ease Index Methods backIn back...
来源: Laya3.0_api 发布时间: 20231115
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Avatar" Avatar Class Avatar Avatar 类用于创建Avatar。 Hierarchy Resource Avatar Implements IClone Index Constructors constructor P...
来源: Laya3.0_api 发布时间: 20231102
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/shape/HeightfieldTerrainShape" HeightfieldTerrainShape Class HeightfieldTerrainShape BoxColliderShape 类用于创建高度图地形...
来源: Laya3.0_api 发布时间: 20231115
...介绍 1.当前ShaderVariant着色器变种对应的Shader3D ```typescript public get shader(): Shader3D; ``` 2.子着色器索引 ```typescript public get subShaderIndex(): number; ``` 3.通道索引 ```typescript public get passIndex(): number; ``` 4.宏定义集合 ```typescript public get define...
来源: Laya2.0_文档 发布时间: 20210714
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ani/bone/BoneSlot" BoneSlot Class BoneSlot Hierarchy BoneSlot Index Properties attachmentName currDisplayData currSlotData currTexture displayIn...
来源: Laya3.0_api 发布时间: 20231115