大约有 1,062 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0051 秒)
Laya3.0_api(409) Laya2.0_api(226) Laya_社区(219) laya_api(168) Laya2.0_文档(20) Laya3.0_文档(10) Laya2.0_示例(7) Laya_示例(3)
...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
...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
...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
...Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton UIComponent Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或...
来源: Laya2.0_api 发布时间: 20190513
...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
...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
...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
...量,新加进去的JS文件里面是否可以引用这个全局变量? public class DataSingleton { public static var dxMerchantID:Number = 20000020;//商户id } 我在AS里面定义一个全局变量dxMerchantID,然后我新插入一个游戏js文件,在js文件我该怎么引用到这个dx...
来源: Laya_社区 发布时间: 20170321
...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
... 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