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

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

131. 如何加载.lh文件 [ 70%]

...n • 2018-05-29 16:45 @灬倪先森_:var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); 这个是示例的,有几种方法,文档也有,而且有例子。https://ldc.layabox.com/doc/?nav=zh-as-4-0-5,看看实战的...

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

132. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 69%]

...ll Inherited Externals Only exported Menu Globals "laya/d3/core/SkinnedMeshSprite3D" SkinnedMeshSprite3D Class SkinnedMeshSprite3D SkinnedMeshSprite3D 类用于绑点骨骼节点精灵。 Hierarchy RenderableSprite3D SkinnedMeshSprite3D Index Constructors constructor Properties _extra _scene _url na...

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

133. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 69%]

...erited Externals Only exported Menu Globals "laya/d3/core/SimpleSkinnedMeshSprite3D" SimpleSkinnedMeshSprite3D Class SimpleSkinnedMeshSprite3D SkinnedMeshSprite3D 类用于创建网格。 Hierarchy RenderableSprite3D SimpleSkinnedMeshSprite3D Index Constructors constructor Properties _extra _scene _...

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

134. laya.d3.core.Camera_API3.0 [ 69%]

... Static WORLDINVERTFRONT WORLDINVERTFRONT: number Inherited from RenderableSprite3D.WORLDINVERTFRONT Defined in laya/d3/core/Sprite3D.ts:31 Static _contextScissorPortCatch _contextScissorPortCatch: Vector4 = new Vector4(0, 0, 0, 0) Defined in laya/d3/core/Camera.ts:86 Accessors active get active(): ...

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

135. Stage删除不掉Scene [ 69%]

...aya.Event.MOUSE_UP, this, function () {     var str = "";     if (!hit.sprite3D) {         str = "点击选取的几何体";     } else {         Laya.stage.removeChild(scene3D);     }     console.log(str); });     每次删除scene3D后又被添加进来了。不知道什么原...

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

136. Laya.stage宽高什么时候才是正确的数值 [ 69%]

...文件,导致游戏在运行因找不到这个文件而报错了。 Sprite3d如何正确隐藏? 打包为APP后,Lable的宽高有所变化,请问如何修正? 初次加载场景正确,返回后只加载第一个场景 问题状态 最新活动: 2022-09-15 19:15 浏览: 210 关注: 1 人

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

137. 如何在layaair 上使用get方法的xml ,获得节点属性? [ 69%]

... 请问有没有方法能够获取“鼠标是否处于按下状态”? sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. laya2的Scene默认是文件模式,...

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

138. laya.d3.component.physics.MeshCollider [ 68%]

...撞器网格。 MeshCollider owner : ComponentNode[read-only] 获取所属Sprite3D节点。 Component3D started : Boolean是否已执行start函数。Component3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  MeshCollider() 创建一个 SphereCollide...

来源: laya_api 发布时间: 20170929

139. 碰撞检测 outHitInfo.distance 一直等于 -1 ?(TS代码) [ 68%]

... 之后我发现在AS代码,load方法 有个参数是:owner:Laya.Sprite3D ,所以我觉得的对象是这里赋值的,并不是owner这个对象。 然后我在TS进行如下修改: 然后就可以检测到碰撞信息。 ----------- 以上代码都是官网的技术文档里的...

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

140. 为什么laya.pathfinding.js里面的Grid,通过Laya.Grid竟然获取不到?有laya.pathfinding.js的使用教程吗?API没有找到。 [ 68%]

... 请问有没有方法能够获取“鼠标是否处于按下状态”? sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 请问在layaIDE里,怎么调用微信小程序API 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. TextInput重写onF...

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