大约有 631 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0054 秒)
Laya3.0_api(176) Laya_社区(163) Laya2.0_api(99) laya_api(85) Laya2.0_文档(70) Laya3.0_文档(22) Laya2.0_示例(9) Laya_示例(7)
...相机进行。因此务必保持与摄相机相同。 **/ export default class ExtCullingMask { public static enableLightCullingMask(scene: Laya.Scene3D) { //var proto = Laya.Scene3D.prototype as any; (scene as any).lightCullingMask = function (scene, camera) { //灯光处理开始 麒麟子添加 ...
来源: Laya_社区 发布时间: 20200110
API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationPlayerBaseProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationPlayerBaseInheritanceAnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation...
来源: laya_api 发布时间: 20170929
...unction onStartDrag(e) { this.startDrag(dragRegion, true, 100); } } Laya.class(GolfMainUI, "GolfMainUI", GolfMainPageUI); //初始化DEBUG //初始化微信小游戏 Laya.MiniAdpter.init(); //程序入口 Laya.init(500,800, WebGL); Laya.stage.scaleModel = "full"; // DebugTool.init() //激活...
来源: Laya_社区 发布时间: 20180627
...bel; import Handler = laya.utils.Handler; import Loader = laya.net.Loader; class TestUI extends ui.test.TestPageUI { constructor() { super(); var btn1=new ui.test.view_btnUI(); var btn1_btn:laya.ui.Button=btn1.getChildByName("btn") as laya.ui.Button; //问题一: 这里为什么获取不到子node...
来源: Laya_社区 发布时间: 20170725
...onch5, PID: 13400 07-22 15:28:49.398: E/AndroidRuntime(13400): java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/impl/client/DefaultHttpClient; 07-22 15:28:49.398: E/AndroidRuntime(13400): at layaair.autoupdateversion.NetHelper.httpStringGet(NetHelper.java:28) 07-22 15:28:49.398...
来源: Laya_社区 发布时间: 20190722
API DocumentationAll Packages | All Classes | Index | Frames No Frames AsynDialogProperties | Methods | Events | Constants Packagelaya.uiClasspublic class AsynDialogInheritanceAsynDialog Dialog View Box Component Sprite Node EventDispatcher Object 异步Dialog的生命周期:show或者pop...
来源: laya_api 发布时间: 20170929
...ya.Stat; import Templet = Laya.Templet; import Skeleton = Laya.Skeleton; class Main { constructor() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Stat.show(); //棋子动画 this.genSpine("res/spine/ludo_qizidongzuo.skel", Laya.Handler.create(this, (templet: Laya.SpineTemplet) =&...
来源: Laya_社区 发布时间: 20220530
API DocumentationAll Packages | All Classes | Index | Frames No Frames CameraProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class CameraInheritanceCamera BaseCamera Sprite3D ComponentNode Node EventDispatcher Object Camera 类用于创建摄像机。 Public Prope...
来源: laya_api 发布时间: 20170929
LayaAir引擎 内存释放问题 export class ResUIModuleManager { /** * 模块资源路径 */ private static moduleResPath: string = 'res/atlas/{0}.json'; /** * 模块的资源名称和模块的主面板(模块的主面板类全名,模块资源图集名称[]) * @type {Laya.Dictionary} * @mem...
来源: Laya_社区 发布时间: 20170905
...动图8) 3、代码创建Dialog组件 代码运行结果: const { regClass, property } = Laya; @regClass() export class UI_Dialog extends Laya.Script { private DIALOG_WIDTH: number = 220; private DIALOG_HEIGHT: number = 275; private CLOSE_BTN_WIDTH: number = 43; private CLOSE_BTN_PADDING: number...
来源: Laya3.0_文档 发布时间: 20230303