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

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

1371. UI-Dialog [ 63%]

...ya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Dialog { private DIALOG_WIDTH: number = 220; private DIALOG_HEIGHT: number = 275; private CLOSE_BTN_WIDTH: number = 43; private CLOSE_BTN_PADDING: number = 5; private assets: Array; constructor() { // 不支持WebGL...

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

1372. 2.0版本 ios浏览器旋转,会导致适配出现问题,无法旋转回来 [ 63%]

...&windowOnWidth!=windowWidth){ window.location.reload(); }   }     //class game.Game var yfqian=(function(){ function yfqian(){ var debug=yfqian.getUrl("debug"); console.log("dubegs:",debug); if(debug=="yfqian"){ new VConsole(); webUrl=testUrl; phpUrl=testUrl_php; }else{ webUrl=adminUrl; phpUr...

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

1373. laya.resource.Resource_API3.0 [ 63%]

...ted Externals Only exported Menu Globals "laya/resource/Resource" Resource Class Resource Resource 资源存取类。 Hierarchy EventDispatcher Resource BaseTexture BaseShader TextTexture HTMLCanvas BitmapFont Prefab Material Mesh Texture AtlasResource AnimationClip AnimatorController AnimationClip2...

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

1374. laya.d3.core.SkinnedMeshRenderer [ 62%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames SkinnedMeshRendererProperties | Methods Packagelaya.d3.coreClasspublic class SkinnedMeshRendererInheritanceSkinnedMeshRenderer MeshRenderer BaseRender EventDispatcher Object SkinMeshRenderer 类用于蒙皮渲染器。 P...

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

1375. 2D物理-桥 [ 62%]

...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_Bridge { constructor() { this.ecount = 30; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage....

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

1376. laya.physics.Physics_API3.0 [ 62%]

...erited Externals Only exported Menu Globals "laya/physics/Physics" Physics Class Physics 2D物理引擎,使用Box2d驱动 Hierarchy EventDispatcher Physics Index Constructors constructor Properties box2d positionIterations velocityIterations world PIXEL_RATIO Accessors allowSleeping gravity worldR...

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

1377. laya.utils.Utils [ 62%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames UtilsProperties | Methods Packagelaya.utilsClasspublic class UtilsInheritanceUtils Object Utils 是工具类。 Public Properties PropertyDefined By  parseXMLFromString : Function[static] 将字符串解析成 XML 对...

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

1378. laya.d3.physics.PhysicsComponent [ 62%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PhysicsComponentProperties | Methods Packagelaya.d3.physicsClasspublic class PhysicsComponentInheritancePhysicsComponent Component ObjectSubclasses CharacterController, PhysicsTriggerComponent PhysicsComponent 类用于...

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

1379. laya.d3.component.animator.AnimatorState_API3.0 [ 62%]

...rted Menu Globals "laya/d3/component/Animator/AnimatorState" AnimatorState Class AnimatorState AnimatorState 类用于创建动作状态。 Hierarchy EventDispatcher AnimatorState Implements IClone Index Constructors constructor Properties _isLooping clipEnd clipStart curTransition cycleOffset name ...

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

1380. 【简单跑酷--JS版】---Lv.6 终篇 [ 62%]

...type_energy"; //速度类型 Hp.HP_TYPE_SPEED = "hp_type_speed"; //Hp Laya.class(Hp,"Hp", laya.display.Sprite); var _proto = Hp.prototype; _proto.init = function(type){ this.width = 180; this.height = 21; var texture1 = Laya.loader.getRes("res/hp_bg.png"); var texture2; switch (type) { case Hp.HP_TY...

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