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

大约有 1,062 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0077 秒)

591. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 66%]

...   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

592. laya 1.0 源码中 RunDriver.as里measureText的问题 [ 66%]

...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

593. Laya如何处理类与类之间的依赖关系 [ 66%]

...0, WARN = 600, ERROR = 800, FATAL = 1000, OFF = 0xFFFFFFFF }class Logger { public static logLevel: number = LogLevelEnum.ALL; // 获取或设置日志输出的分级 }编译运行会报错。 可行的办法是改成getter去懒初始化, 用三斜线指令(ts推荐的,但是貌似没用?)...

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

594. laya.map.TiledMap_API3.0 [ 66%]

...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

595. laya.d3.component.AnimatorControllerLayer_API3.0 [ 66%]

...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

596. laya.utils.Ease_API3.0 [ 65%]

...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

597. laya.d3.core.Avatar_API3.0 [ 65%]

...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

598. laya.d3.physics.shape.HeightfieldTerrainShape_API3.0 [ 65%]

...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

599. Shader预编译(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 65%]

...介绍 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

600. laya.ani.bone.BoneSlot_API3.0 [ 65%]

...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