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

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

221. 描边Shader,使用了两个Pass [ 54%]

...texMesh.MESH_TEXTURECOORDINATE0, } var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_WorldMat': [Laya.Sprite3D.WORLDMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_Texture': [OutlineMaterial.DIFFUSETEXTURE, Laya.Shader3D.PERIOD_MATERIAL] } var outlineShader = Laya...

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

222. Laya 集成Box2d 可以么?着急 [ 54%]

...     Laya.stage.graphics.drawTexture(textture);     debugDraw.SetSprite(ctx);     debugDraw.SetDrawScale(30.0);     debugDraw.SetFillAlpha(0.3);     debugDraw.SetLineThickness(1.0);     debugDraw.SetFlags(b2DebugDraw.e_shapeBit | b2DebugDraw.e_jointBit);     world.SetDebu...

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

223. laya.ui.Box [ 54%]

...s | Events Packagelaya.uiClasspublic class BoxInheritanceBox UIComponent Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, ScaleBox, Tree, UIGroup, ViewStack Box 类是一个控件容器类。 Public Properties Hide Inherited Public Properties Show Inherited Publi...

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

224. 重大问题!!!IOS手机使用Laya.loader.load加载资源,无网络情况下加载,没有回调!!! [ 54%]

...用已经加载的图集缓存动画失败 ios原生回调问题 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 构建iOS工程后,真机上运行显示“网络异常,请检查您的网络或与开...

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

225. 使用LayaNative加速器后字体变得模糊 [ 54%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf...

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

226. laya.display.FrameAnimation [ 54%]

...sspublic class FrameAnimationInheritanceFrameAnimation AnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses EffectAnimation 关键帧动画播放类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值...

来源: laya_api 发布时间: 20170929

227. laya.ui.TipManager [ 54%]

...Packagelaya.uiClasspublic class TipManagerInheritanceTipManager Component Sprite Node EventDispatcher Object鼠标提示管理类Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透...

来源: laya_api 发布时间: 20170929

228. laya.ui.VBox [ 54%]

...ackagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box Component Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutB...

来源: laya_api 发布时间: 20170929

229. 资源回收的清理不干净的bug [ 54%]

...{         var myscene = new Laya.Scene3D;         Laya.Sprite3D.load("Models/Ball.lh", Laya.Handler.create(this, function(sp){             for(var i=0; i<3; i++){                 var ball = myscene.addChild(sp.clone());           ...

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

230. getimagedata直接调用无法获取有效像素问题 [ 54%]

...取有效像素问题 更新: 在 现在有没有办法把一个display.sprite转存成图片 无意间找到了 答案 getimagedata无法直接使用 1 需要先 c= Laya.stage.drawToCanvas(720,1280, 0,0) 2 然后 调用 t = new Trxture(c); t.getPixels(0,0, 720,1280) 希望官方对这种比较...

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