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

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

941. 计时器-延迟执行 [ 52%]

...nt = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_DelayExcute { private button1: Sprite; private button2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Sta...

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

942. laya.components.AnimatorController2D_API3.0 [ 52%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/AnimatorController2D" AnimatorController2D Class AnimatorController2D 2D动画控制器 Hierarchy Resource AnimatorController2D Index Constructors constructor Properties _id destroyedImm...

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

943. laya.physics.PolygonCollider_API3.0 [ 51%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/PolygonCollider" PolygonCollider Class PolygonCollider 2D多边形碰撞体,暂时不支持凹多边形,如果是凹多边形,先手动拆分为多个凸多边形 节点个数最多...

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

944. laya接入fairyGUI的时候资源加载方式? [ 51%]

... 赞同来自: /** * FUI资源加载类 * jhj * QQ:8510001 * 2019-11-25 */ export default class FguiResMgr { private static _instance: FguiResMgr; public static get instance(): FguiResMgr { if (!this._instance) this._instance = new FguiResMgr(); return this._instance; } /**加载优先级,越小...

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

945. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 51%]

...ort HttpRequest = Laya.HttpRequest; const { regClass } = Laya; @regClass() export class Network_GET extends Laya.Script { private hr: HttpRequest; private logger: Laya.TextArea; private text: Laya.Label = new Laya.Label(); onAwake(): void { this.initUI(); this.connect(); } /** * 初始化UI */ priva...

来源: Laya3.0_文档 发布时间: 20250214

946. laya.resource.AtlasResource_API3.0 [ 51%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/AtlasResource" AtlasResource Class AtlasResource 大图合集资源 Hierarchy Resource AtlasResource Index Constructors constructor Properties _id destroyedImmediately dir frames lock name...

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

947. laya.d3.physics.PhysicsComponent_API3.0 [ 51%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/PhysicsComponent" PhysicsComponent Class PhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Component PhysicsComponent PhysicsTriggerComponent CharacterC...

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

948. 如何自定义Shader(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 51%]

...2.4.0之后材质基类由BaseMaterial变更为Material。 ```typescript export class CustomMaterial extends Laya.Material { constructor() { super(); //设置本材质使用的shader名字 this.setShaderName("CustomShader"); } } ``` #### 4.使用自定义材质 ​ 在使用自定义材质之前,...

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

949. 导入FBX报错 [ 51%]

...o] Mesh vertex count: 224 [2023-06-20 18:19:19.051] [resource_tool] [info] Export dir: library\temp\zZQHoe\ [2023-06-20 18:19:19.051] [resource_tool] [info] Material Count: 3 ' 附件 : --> 2023-06-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

950. LayaBox HelloWorld实战 [ 51%]

...helloworld按钮弹出一个对话框,对话框里面展示 Hello World!export default class HelloWorld extends Laya.Scene { constructor() { super(); HelloWorld.instance = this; } onBtnShowClick(){ var dialog = new Laya.Dialog(); dialog.width=300; dialog.height=600; //var bg = new Laya.Image('comp...

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