大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0074 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...ed Externals Only exported Menu Globals "laya/net/HttpRequest" HttpRequest Class HttpRequest HttpRequest 通过封装 HTML XMLHttpRequest 对象提供了对 HTTP 协议的完全的访问,包括做出 POST 和 HEAD 请求以及普通的 GET 请求的能力。 HttpRequest 只提供以异步的形式...
来源: Laya3.0_api 发布时间: 20231115
...与触发检测的问题 import BoxMove from "./BoxMove"; export default class GameUI extends Laya.Scene { constructor() { super(); //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //添加照相机 var camera = (scene...
来源: Laya_社区 发布时间: 20190314
... 200, INFO = 400, WARN = 600, ERROR = 800, FATAL = 1000, OFF = 0xFFFFFFFF }class Logger { public static logLevel: number = LogLevelEnum.ALL; // 获取或设置日志输出的分级 }编译运行会报错。 可行的办法是改成getter去懒初始化, 用三斜线指令(ts推荐的,但是貌...
来源: Laya_社区 发布时间: 20171107
API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationTransform3DProperties | Methods Packagelaya.d3.animationClasspublic class AnimationTransform3DInheritanceAnimationTransform3D EventDispatcher Object AnimationTransform3D 类用于实现3D变换。 Public Propert...
来源: Laya2.0_api 发布时间: 20190513
... package { import flash.display.Sprite; import flash.events.Event; public class Main extends Sprite { public function Main() { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(event:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); IFl...
来源: Laya_社区 发布时间: 20151218
...Globals "laya/d3/RenderObjs/NativeOBJ/NativeRenderState" NativeRenderState Class NativeRenderState Hierarchy NativeRenderState Index Constructors constructor Properties _nativeObj Accessors blend blendEquation blendEquationAlpha blendEquationRGB cull depthTest depthWrite dstBlend dstBlendAlpha dstBl...
来源: Laya3.0_api 发布时间: 20231115
...als Only exported Menu Globals "laya/components/CommonScript" CommonScript Class CommonScript CommonScript 类用于创建公共脚本类。 Hierarchy Component CommonScript Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked destroyed enabled hi...
来源: Laya3.0_api 发布时间: 20231102
...IDE\resources\app\out\vs\layaEditor\renders\editorui2.0这个文件,把__class(HtmlText,'laya.editorUI.HtmlText');这句话改成__class(HtmlText,'laya.editorUI.HtmlText',_super);就没问题了
来源: Laya_社区 发布时间: 20191028
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sound_SimpleDemo { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Loader = Laya.Loader, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser...
来源: Laya2.0_示例 发布时间: 20250223
API DocumentationAll Packages | All Classes | Index | Frames No Frames CameraAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class CameraAnimationsInheritanceCameraAnimations KeyframeAnimations Component3D EventDispatcher Object CameraAnimations 类用...
来源: laya_api 发布时间: 20170603