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

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

281. Tween.to 中 用Ease.circIn 做 加速运动 能设置初试速度吗 ?默认是 0 能改成别的吗?如果能?怎么改? [ 72%]

...叠 要回复问题请先登录 发起人 Yangcy 相关问题 如何设置Sprite的宽高和点击区域? btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的...

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

282. vscode可以在文件改名或移动路径后,相关的import语句自动跟着改,LayaIDE这个设置没了 [ 72%]

...颜色是绿色,我想换成其他颜色,如何操作? 如何设置Sprite的宽高和点击区域? 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 使用钢体设置防穿后仍有几率会穿透 anchor锚点设置不生效 问题状态 最新活...

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

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

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

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

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

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

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

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

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

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

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

289. 自己画的view不支持鼠标点击吗? [ 71%]

...有方法能够获取“鼠标是否处于按下状态”? 如何设置Sprite的宽高和点击区域? 救命!canvas定位后 点击区域偏移,求大大们解答 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 关于使用matterjs物理引擎...

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

290. laya.d3.core.light.SpotLight [ 71%]

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

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