大约有 1,732 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0066 秒)
Laya_社区(615) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya2.0_api(67) laya_api(64) Laya3.0_文档(62)
...载到自己的项目中或者服务器中。 下面是主类的逻辑: class LayaUISample { constructor() { //初始化引擎 Laya.init(0,0); var Hls:any = Laya.Browser.window.Hls;//获取对Hls的引用。 var plyr:any = Laya.Browser.window.plyr;//获取对plyr的引用 //获取video对象,就...
来源: Laya3.0_文档 发布时间: 20230629
...t TypeError: Cannot read property 'props' of undefined Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constru...
来源: Laya_社区 发布时间: 20190418
...kage ui.test { import laya.display.Sprite; import laya.utils.Tween; public class MyBox extends Sprite { private var _shape:Sprite; public function MyBox() { super(); graphics.drawRect(0,0,200,200,"#00ff00"); _shape=new Sprite(); _shape.graphics.drawCircle(0,0,20,"#ff0000"); addChild(_shape); //加...
来源: Laya_社区 发布时间: 20170124
...als Only exported Menu Globals "laya/d3/component/PostProcess" PostProcess Class PostProcess PostProcess 类用于创建后期处理组件。 Hierarchy PostProcess Index Constructors constructor Accessors cameraDepthTextureMode effects enable Methods addEffect clearEffect getEffect removeEffect Cons...
来源: Laya3.0_api 发布时间: 20231115
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Image)。 **Image 组件的资源示例:** ![图片0.png](img/1.png) (图1) **Image 组件拖放到编辑区后显示效果:** ![图片0.png](img/2.png) (图2) ### 1.2 Image ...
来源: Laya2.0_文档 发布时间: 20210714
...dow,document,Laya){ var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec; })(window,document,Laya); 如果代码中这样写: var module:Module =new modules.LoginModule(); module.run(); 编译后login.js是正常的,里面各个类...
来源: Laya_社区 发布时间: 20170209
...aya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_Interval { private rotateTimeBasedText: Text; private rotateFrameRateBasedText: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.sta...
来源: Laya_示例 发布时间: 20241002
...aya/d3/core/reflectionProbe/ReflectionProbeManager" ReflectionProbeManager Class ReflectionProbeManager ReflectionProbeManager 类用于反射探针管理 miner Hierarchy ReflectionProbeManager Index Constructors constructor Accessors sceneReflectionCubeHDRParam sceneReflectionProbe Methods _updateM...
来源: Laya3.0_api 发布时间: 20231102
... 动画播放基类: [https://layaair.ldc.layabox.com/api/?category=Core&class=laya.display.AnimationPlayerBase](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.AnimationBase) 动画类: [https://layaair.ldc.layabox.com/ap...
来源: Laya2.0_文档 发布时间: 20210715
graphics绘制报错 class Sprite_DisplayImage { constructor() { Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL); const path = "./res/apes/monkey2.png"; Laya.loader.load(path, Laya.Handler.create(this, function() { let tex = Laya.loader.getRes(path); let sp = new Laya.Spr...
来源: Laya_社区 发布时间: 20190829