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

大约有 8,107 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0120 秒)

8031. 设置滤镜(ActionScript-LayaAir基础篇(AS3)-位图) [ 34%]

...//创建发光滤镜 var glowFilter:GlowFilter = new GlowFilter("#ff0000", 15, 0, 0) //在坐标280,50创建位图 var img:Sprite = createImg(280,50); //添加发光滤镜 img.filters = [glowFilter]; } /**创建阴影滤镜位图**/ private function createShadeFilter():void { //创建阴影滤镜 va...

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

8032. 有关Laya3D碰撞检测疑问 [ 33%]

...new Laya.Vector3(0, 2, 5)); this.camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); this.camera.clearColor = null;  //方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0....

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

8033. 【简单跑酷--JS版】---Lv.4 添加玩家 [ 33%]

...on.createFrames(['player/chara_13.png','player/chara_14.png','player/chara_15.png','player/chara_16.png'], Player.JUMP); } if(this.body == null){ this.body = new laya.display.Animation(); this.body.x = -48; this.body.y = -90; this.body.interval = 100; this.addChild(this.body); } //播放动作对应...

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

8034. [闪退!!!][崩溃!!Crash]LayaNative 2.8.0 js 调用 oc 同步方法,有返回值的时候崩溃 [ 33%]

...-10 19:03:43.642443+0800 layabox[1694:38272] xhr.get url=http://192.168.31.159:8900/bin/prefab/DropBox.json 2020-12-10 19:03:43.649089+0800 layabox[1694:38272] found the file in the package:b2c6176d   2020-12-10 19:03:47.362020+0800 layabox[1694:38272] -------------开始测试js call oc ----------...

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

8035. laya.d3.core.particleShuriKen.ShuriKenParticle3D [ 33%]

...XMAX : int = 18[static] ShuriKenParticle3D  VOLVELOCITYGRADIENTY : int = 15[static] ShuriKenParticle3D  VOLVELOCITYGRADIENTYMAX : int = 19[static] ShuriKenParticle3D  VOLVELOCITYGRADIENTZ : int = 16[static] ShuriKenParticle3D  VOLVELOCITYGRADIENTZMAX : int = 20[static] ShuriKenParticle3D  ...

来源: laya_api 发布时间: 20170929

8036. laya.ui.TipManager [ 33%]

...数量。 Node  offsetX : int = 10[static] TipManager  offsetY : int = 15[static] TipManager optimizeScrollRect : Boolean 指定是否对使用了 scrollRect 的显示对象进行优化处理。默认为false(不优化)。 当值为ture时:将对此对象使用了scrollRect 设定的显示区...

来源: laya_api 发布时间: 20170929

8037. laya.d3.core.particleshuriken.module.GradientAngularVelocity_API3.0 [ 33%]

...Defined in laya/d3/core/particleShuriKen/module/GradientAngularVelocity.ts:15 通过固定角速度创建一个 GradientAngularVelocity 实例。 Parameters constant: number 固定角速度。 Returns GradientAngularVelocity 渐变角速度。 Static createByConstantSeparate createByConstantSeparate...

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

8038. laya.ui.TipManager [ 33%]

...数量。 Node  offsetX : int = 10[static] TipManager  offsetY : int = 15[static] TipManager parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite pivotY : NumberY...

来源: Laya2.0_api 发布时间: 20190513

8039. 使用IDE发布小游戏时,启用了版本管理会导致使用 Laya.MiniAdpter.nativefiles 定义的本地资源文件无法加载 [ 32%]

...Image.onCreateImage(real_url,thisLoader,!isTransformUrl); }  4、第1138-1157行,将 if (MiniFileMgr.isLocalNativeFile(url)){ if (MiniAdpter.subNativeFiles && MiniAdpter.subNativeheads.length==0){ for (var key in MiniAdpter.subNativeFiles){ var tempArr=MiniAdpter.subNativeFiles[key]; Mini...

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

8040. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 32%]

...... after 896 ms > hvigor Finished :entry:default@SignHap... after 5 s 615 ms > hvigor Finished :entry:assembleHap... after 1 ms > hvigor BUILD SUCCESSFUL in 17 s 169 ms Process finished with exit code 0 Build Analyzer results available 以上构建过程成功。出现的提示信息,与...

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