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

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

271. 找不到Laya.BoxCollider这个类 [ 71%]

...2 个回复 Laya_Aaron 赞同来自: 你需要         import laya.d3.component.physics;     import laya.d3.component.physics.BoxCollider;   就有BoxCollider了 2017-12-19 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: var BoxCollider = Laya.BoxCollider; 2017-12-19 0 0 分享 微...

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

272. panel的实际高度如何获取 [ 70%]

...没有直接属性能得到这个高度 function GetViewHeight(panel:Laya.Component) { console.log("GetViewHeight:"+panel.height); if(panel.height>0) { return panel.height } if(!panel.parent) { return WINSIZE.height } let parent=panel.parent as Laya.Component; return GetViewHeight(paren...

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

273. laya.d3.core.light.PointLight [ 69%]

...ightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object PointLight 类用于创建点光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活...

来源: laya_api 发布时间: 20170929

274. laya.d3.core.light.DirectionLight [ 69%]

...spublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object DirectionLight 类用于创建平行光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否...

来源: laya_api 发布时间: 20170929

275. 怎么做自动寻路,U3D导入没有地形的场景 [ 69%]

...我们现在没有使用示例,以后会补上,现在可参考 laya.d3.component.PathFind。 需要美术在可行走区域建模,建个面片似的模型即可。 然后加载该模型,在上添加寻路组件。 2017-06-14 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...

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

276. laya.d3.core.light.SpotLight [ 69%]

....lightClasspublic class SpotLightInheritanceSpotLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object SpotLight 类用于创建聚光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活...

来源: laya_api 发布时间: 20170929

277. app构建后在真机中运行报错 [ 69%]

...和laya.core.js中有这个代码: *模板,预制件 */ //class laya.components.Prefab var Prefab=(function(){     function Prefab(){         /**@private */         this.json=null;     }      __class(Prefab,'laya.components.Prefab');     var __proto=Prefab.protot...

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

278. 微信小游戏加云开发,项目怎样配置 [ 69%]

...误 gameContext?id=1:58 libs/laya.ui.js:  TypeError: Class constructor Component cannot be invoked without 'new'     at new Widget (laya.ui.js:201)     at laya.ui.js:349     at laya.ui.js:1     at wrapFn (gameContext?id=1:51)     at require (VM37 WAGameSubContext.js:2)     at VM37 WAGa...

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

279. 自定义按钮组件的问题 [ 69%]

...:\Program Files\LayaAirIDE_beta\resources\app\out\vs\layaEditor\laya\icons\components 这里是组件icon图标,显示用   项目中使用的组件资源存放于:项目根目录\laya\assets   xml 配置中 className  <ScaleButton className="component.ScaleButton"  是这个?换了 la...

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

280. laya.d3.core.glitter.Glitter [ 69%]

...terClasspublic class GlitterInheritanceGlitter RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher Object Glitter 类用于创建闪光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 ...

来源: laya_api 发布时间: 20170929