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

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

41. laya.d3.renderobjs.nativeobj.NativeBounds_API3.0 [ 80%]

...d Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeBounds" NativeBounds Class NativeBounds Hierarchy NativeBounds Implements IClone Index Constructors constructor Properties MemoryBlock_size Accessors max min Methods _getBoundBox calculateBoundsintersection clone cloneTo getC...

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

42. 动画无法添加到舞台问题 [ 80%]

...= new Laya.Animation(); this.LeadBody.play("hero_fly");//播放动画 this.bound = this.LeadBody.getBounds(); this.LeadBody.pos(-this.bound.width/2,-this.bound.height/2);//设置动画位置 Laya.stage.addChild(this.LeadBody);   上面是代码 2018-03-03 添加评论 免费帖 --> 分享 微博 QZ...

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

43. laya.d3.component.LODGroup_API3.0 [ 80%]

...potLight 类用于构建LOD组件 Hierarchy Component LODGroup Implements IBoundsCell Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked bounds destroyed enabled hideFlags id lods nowRate Methods _initialize _setOwner destroy hasHideFlag onAdded...

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

44. 如何获得特效的宽高 [ 79%]

如何获得特效的宽高 var bounds = ani.getGraphicBounds(); ani.scale(80/bounds.width ,80/bounds.height) 我想把特效设置为宽高都为80 80的 但是getGraphicBounds(); 有的特效获取出来的width和height 都为0 2017-06-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

45. laya.d3.core.SkinnedMeshRenderer_API3.0 [ 79%]

...chy MeshRenderer SkinnedMeshRenderer SimpleSkinnedMeshRenderer Implements IBoundsCell Index Constructors constructor Properties _bones _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors awaked bones bounds boundsChange castShadow destroyed distanceForSort enabled hi...

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

46. laya.d3.core.SimpleSkinnedMeshRenderer_API3.0 [ 79%]

...nderer Hierarchy SkinnedMeshRenderer SimpleSkinnedMeshRenderer Implements IBoundsCell Index Constructors constructor Properties _bones _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors awaked bones bounds boundsChange castShadow destroyed distanceForSort enabled hi...

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

47. 关于intersects碰撞的疑问 [ 79%]

...碰撞的疑问 以前用starling-as3.0,碰撞可以这么写,里面的bounds即为图片最大矩形框,直接获取其属性: if(imageA.bounds.intersects(imageB.bounds)) {  trace("撞到了"); } 在layaAir中也找到了intersects方法,不过用法好像不太一样,public function...

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

48. 反射探针 · LayaAir3.0文档 · LAYABOX [ 78%]

...Ambient Mode2.2 Importance2.3 Intensity2.4 Box Projection(盒式投影)2.5 Bounds2.6 环境光强度与反射强度2.7 采样大小与采样质量2.8 Clear信息2.9 IBL选项Reflection Probe:反射探针 1. 反射探针概述 传统形式的反射是通过反射贴图的形式来模拟来自对象...

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

49. 官方的API为什么找不到pivot和pos? [ 78%]

官方的API为什么找不到pivot和pos? var bounds = ani.getGraphicBounds(); ani.pivot(bounds.width / 2, bounds.height / 2); ani.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.stage.addChild(ani);   上面pivot和pos都是什么意思?官方API为什么找到说明? 2018-05-09 添...

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

50. 发现一个问题Laya.Animation()创建后移除,再创建,位置会变 [ 77%]

... 分享 微博 QZONE 微信 zjwytqm 赞同来自: 找到原因了, //var bounds = ani.getGraphicBounds(); //ani.pivot(bounds.width / 2, bounds.height / 2);   加了这个,第次创建会you有问题 2018-04-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问...

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