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

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

271. graphics alpha 问题 [ 72%]

graphics alpha 问题 var aa:Sprite = new Sprite(); Laya.stage.addChild(aa); var g:Graphics = aa.graphics; g.alpha(0.5); g.drawRect(0,0,200,200,"#ff0000");     g. alpha()这个方法有bug吧,设置之后出现的结果不对,并不是设定的透明度!!   !!而且有个很有意...

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

272. laya.d3.core.light.PointLight [ 72%]

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

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

273. 一般你们对于鼠标快速连续点击是怎么处理的呢 [ 72%]

...点击两次 求指点3d射线碰撞和UI点击穿透的问题 如何设置Sprite的宽高和点击区域? 关于遍历产生的sprite的点击事件,急,大神帮看哈 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 dialog可以点击到外部的元素,如何使...

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

274. 如何实现鼠标点击后,精灵跳起然后落下的效果 [ 72%]

...登录? Tween如何实现无限循环改变alpha? 关于遍历产生的sprite的点击事件,急,大神帮看哈 关于Laya实现Matter.js官方案例凹多边形的问题 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 如何设置Sprite的宽高...

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

275. laya.ui.Box [ 72%]

...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

276. laya.d3.core.light.PointLight [ 72%]

...gelaya.d3.core.lightClasspublic 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

277. BlinnPhong材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 72%]

...例([demo地址]())。 ```typescript var material:BlinnPhongMaterial = meshSprite3D.meshRenderer.material as BlinnPhongMaterial; //法线贴图 Texture2D.load(normalMapUrl[i], Handler.create(this, function(texture:Texture2D):void { //设置发现贴图 material.normalTexture = texture; })); ``` ![](...

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

278. 寻路系统修改成鼠标点击导航后会穿透阻挡 [ 72%]

...命!canvas定位后 点击区域偏移,求大大们解答 如何设置Sprite的宽高和点击区域? 关于使用matterjs物理引擎鼠标问题 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 关于遍历产生的sprite的点击事件,急,...

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

279. 怎样判断鼠标滑动是顺时针旋转还是逆时针 [ 71%]

...被折叠 要回复问题请先登录 发起人 ParadiseKiss 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 请问有没有方法能够获取“鼠标是否处于按下状态”? btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作...

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

280. graphics 问题 [ 71%]

...内容相关的链接 提交 3 个回复 cuixueying 赞同来自: var sp:Sprite=new Sprite(); sp.graphics.save(); var matrix:Matrix=new Matrix(); matrix.rotate(45); matrix.translate(100,100); sp.graphics.transform(matrix); sp.graphics.drawRect(0,0,200,100,"#FF0000"); sp.graphics.restore(); Laya.stag...

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