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

大约有 320 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0075 秒)

301. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 32%]

...r'); if (Hls.isSupported()) { var hls = new Hls(); //加载m3u8源 hls.loadSource('http://content.jwplatform.com/manifests/vM7nH0Kl.m3u8'); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED, function () { video.play(); }); } plyr.setup(video); ``` 编译运行代码,发现网页已经可...

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

302. laya.spine.SpineSkeleton_API3.0 [ 32%]

...otY playState rotation scaleX scaleY scene scrollRect skewX skewY skinName source stage staticCache templet texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addAnimation addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent call...

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

303. laya.ani.bone.Skeleton_API3.0 [ 31%]

...pivotY player rotation scaleX scaleY scene scrollRect skewX skewY skinName source stage staticCache templet texture timer total transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater c...

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

304. laya.media.VideoNode_API3.0 [ 31%]

...State rotation scaleX scaleY scene scrollRect seekable seeking skewX skewY source stage staticCache texture timer transform url videoHeight videoTexture videoWidth viewport visible volume width x y zOrder Methods _initialize _processActive _setX _setY addChild addChildAt addChildren addComponent add...

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

305. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 31%]

...); if(Hls.isSupported()){ var hls:any = new Hls(); //加载m3u8源 hls.loadSource('http://content.jwplatform.com/manifests/vM7nH0Kl.m3u8'); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } new LayaUISample; ``` 编译运行代码...

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

306. 关于截屏的问题 [ 29%]

...:48:58.704 1040-1467/? E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=40.97 rxSuccessRate=42.44 targetRoamBSSID=any RSSI=-63 06-09 11:48:58.704 1040-1467/? E/WifiStateMachine: startDelayedScan send -> 868 milli 20000 06-09 11:48:58.704 1040-1467/? E/WifiStateMachine: ...

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

307. 项目设置详解 · LayaAir3.0文档 · LAYABOX [ 29%]

...,IDE会自动进行重新烘焙。 (图2-4) 只有Reflection Probe的Source为Skybox时,才会自动烘焙。Custom无法自动烘焙。 2.4 预览服务器 预览服务器可以设置在浏览器中预览的地址和端口号。设置好后刷新IDE,即可应用,效果如图2-5所示。...

来源: Laya3.0_文档 发布时间: 20230808

308. laya.ui.Clip_API3.0 [ 26%]

...颜色。 onInit(); } private function onInit():void { clip = new Clip("resource/ui/clip_num.png", 10, 1);//创建一个 Clip 类的实例对象 clip ,传入它的皮肤skin和横向分割数量、竖向分割数量。 clip.autoPlay = true;//设置 clip 动画自动播放。 clip.interval = 100;//...

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

309. laya.ui.Image_API3.0 [ 25%]

... onInit(); } private function onInit():void { var bg:Image = new Image("resource/ui/bg.png");//创建一个 Image 类的实例对象 bg ,并传入它的皮肤。 bg.x = 100;//设置 bg 对象的属性 x 的值,用于控制 bg 对象的显示位置。 bg.y = 100;//设置 bg 对象的属性 y 的值...

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

310. laya.ui.List_API3.0 [ 25%]

....bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png"], Handler.create(this, onLoadComplete)); } private function onLoadComplete():void { var arr:Array = [];//创...

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