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

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

681. laya.d3.resource.models.SkyDome_API3.0 [ 59%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/models/SkyDome" SkyDome Class SkyDome SkyDome 类用于创建天空盒。 Hierarchy GeometryElement SkyDome Index Constructors const...

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

682. Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug [ 59%]

...ader.clearRes后,并不能真正释放资源的bug demo: class NewTest { public static url: string = "333.json"; private loadedMap; constructor() { this.loadedMap = Laya.Loader["loadedMap"];  Laya.init(720, 1280, Laya.WebGL); Laya.Stat.show(0,0); Laya.stage.alignH = "center"; Laya.stage.alignV = ...

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

683. laya.d3.webxr.core.AxiGamepad_API3.0 [ 59%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/WebXR/core/WebXRGamepad" AxiGamepad Class AxiGamepad 类用来描述gamepad Axis Hierarchy EventDispatcher AxiGamepad Index Properties axisLe...

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

684. laya.ui.Button [ 59%]

...Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton UIComponent Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或...

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

685. laya.d3.physics.PhysicsSimulation_API3.0 [ 59%]

...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/PhysicsSimulation" PhysicsSimulation Class PhysicsSimulation Simulation 类用于创建物理模拟器。 Hierarchy PhysicsSimulation...

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

686. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 59%]

...import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Image(); this.addChild(this.img); } public setImg(src: string): void {...

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

687. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 59%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/SimpleSkinnedMeshSprite3D" SimpleSkinnedMeshSprite3D Class SimpleSkinnedMeshSprite3D SkinnedMeshSprite3D 类用于创建网格。 Hierar...

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

688. 在as里面定义个全局变量,新加进去的JS文件里面是否可以引用这个全局变量? [ 59%]

...量,新加进去的JS文件里面是否可以引用这个全局变量? public class DataSingleton { public static var dxMerchantID:Number = 20000020;//商户id } 我在AS里面定义一个全局变量dxMerchantID,然后我新插入一个游戏js文件,在js文件我该怎么引用到这个dx...

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

689. laya.display.BitmapFont_API3.0 [ 59%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/BitmapFont" BitmapFont Class BitmapFont BitmapFont 是位图字体类,用于定义位图字体信息。 字体制作及使用方法,...

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

690. 请问Laya如何使用第三方物理库 [ 59%]

... this.world.allowSleep = true; Laya.timer.frameLoop(1, this, this.Step); } public Step() { this.world.step(1 / 60); }   再把CANNON.Body包装成组件 export class CannonRigidbody extends Laya.Script3D { static map: { [key: number]: Laya.Sprite3D } = {}; body: CANNON.Body; t: Laya.Transform3D; pu...

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