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

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

381. laya.ui.UIUtils [ 52%]

... Packages | All Classes | Index | Frames No Frames UIUtilsMethods | Constants Packagelaya.uiClasspublic class UIUtilsInheritanceUIUtils Object UIUtils 是文本工具集。 Public Methods  MethodDefined By  addFilter(target:Sprite, filter:IFilter):void[static] 给指定的目标显示对...

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

382. laya.ui.UIUtils [ 52%]

... Packages | All Classes | Index | Frames No Frames UIUtilsMethods | Constants Packagelaya.uiClasspublic class UIUtilsInheritanceUIUtils Object UIUtils 是文本工具集。 Public Methods  MethodDefined By  addFilter(target:Sprite, filter:IFilter):void[static] 给指定的目标显示对...

来源: laya_api 发布时间: 20170929

383. WebGL模式下用遮罩实现圆形头像会有警告出现 [ 52%]

...  代码示例: this.img = new Laya.Image(); this.img.loadImage("url"); const mask = new Laya.Sprite(); mask.graphics.drawCircle(75, 75, 75, "#ffffff"); this.img.mask = mask; this.img.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.stage.addChild(this.img); 附件 : --> 2017-01-06 添加...

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

384. 使用的模型动画 播放完了 怎么让他可以在2D的情况下x,y方向移动 [ 52%]

...0 );   可以類似這樣寫 var Mesh_Boss = new MeshSprite3D( Mesh.load( Consts.Mesh_Boss01 ) ) as MeshSprite3D; Mesh_Boss.transform.localPosition = new Vector3( -7.36, -1.03, 0 );   2017-07-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...

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

385. Laya3D 贴图读取时参数mipmap修改无效,请问如何去掉默认的mipmap [ 52%]

...!比如使用这个模式 /**寻址模式_不循环。*/ public static const FILTERMODE_TRILINEAR:int = 2; 或者对anisoLevel大小进行设置 filterMode 进行修改 具体效果需要你自己调试 这个一样可以达到控制远近效果的! 2018-10-27 0 1 分享 微博 QZONE 微信 为...

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

386. 按钮组件 · LayaAir3.0文档 · LAYABOX [ 52%]

...暴露的属性入口中。在脚本文件中添加如下示例代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Button }) public btn: Laya.Button; //组件被激活后执行,此时所有节点和组件均已创建完毕...

来源: Laya3.0_文档 发布时间: 20231019

387. laya.maths.Point [ 51%]

... All Classes | Index | Frames No Frames PointProperties | Methods | Constants Packagelaya.mathsClasspublic class PointInheritancePoint Object Point 对象表示二维坐标系统中的某个位置,其中 x 表示水平轴,y 表示垂直轴。 Public Properties PropertyDefined By  x : ...

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

388. laya.ui.UIEvent [ 51%]

...All Classes | Index | Frames No Frames UIEventProperties | Methods | Constants Packagelaya.uiClasspublic class UIEventInheritanceUIEvent Event Object UIEvent 类用来定义UI组件类的事件类型。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Prope...

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

389. 加载-销毁Texture使用的图片资源 [ 51%]

...png"; private readonly PathFly:string = "../../res/fighter/fighter.atlas"; constructor() { //初始化引擎 Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgCol...

来源: Laya_示例 发布时间: 20241001

390. Scene.open打不开场景问题 [ 51%]

...经Laya2.7.1对比发现Laya2.8.0beta中Scene类中有一句this._setBit(Const.NOT_READY, true)换位置了,把Laya2.8.0beta的换成Laya2.7.1一样的位置这个问题就没了,麻烦Laya官方人员解答一下这个是bug还是故意这样设置的呢? 附件 : --> 1.png 2.png 2020-09-24 ...

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