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

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

1101. laya2.0版本,富文本HTMLDivElement中<p>标签里使用<br />标签时报错,在<span>里也不行 [ 65%]

...'/&gt;      *      * style支持的属性如下:      * italic:true|false;                   是否是斜体      * bold:true|false;                     是否是粗体      * letter-spacing:10px;                 字间距 ...

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

1102. laya.resource.NativeRenderTexture2D_API3.0 [ 65%]

...。 创建一个 RenderTexture 实例。 Default value create: boolean = true Returns NativeRenderTexture2D Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 _isCameraTarget _isCameraTarget: boolean Implementation of IRenderTarget._isCameraTarget Defi...

来源: Laya3.0_api 发布时间: 20231115

1103. 两个小问题 [ 65%]

...己。里边的参数destroyChild 是否同时销毁子节点,若值为true,则销毁子节点,否则不销毁子节点。 资源需要自己用Laya.loader.clearRes清理。 建议:如果只是关闭界面的话直接用removeSelf()从显示列表中移除即可。这个界面彻底不用的...

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

1104. laya.ui.AutoBitmap [ 65%]

...ue:Number):void 设置透明度。 Graphics  clear(recoverCmds:Boolean = true):void[override] AutoBitmap clipRect(x:Number, y:Number, width:Number, height:Number):void 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics  destroy():void[override] 销毁此对象。 AutoBitmap ...

来源: laya_api 发布时间: 20170929

1105. List 我把VIEW界面当 元素,然后里面有按钮的时候就不可以拖动,没有按钮就可以,这是为啥? [ 65%]

...ollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 怎么获得laya.input输入框里面的值 问题状态 最新活动: 2018-08-07 11:29 浏览: 1174 关注: 2 人 Laya_Aaron • 2018-08-07 11:29 父容器很大把鼠标事件挡住了 给view mousethrou ...

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

1106. 分享:避免鼠标快速移动,mouseout和mouseover触发顺序不一致的问题! [ 65%]

...a.stage.bgColor='#EEFFCC'; arr=; var sp1:Sprite=new Sprite(); sp1.autoSize=true; sp1.name='sp1'; sp1.graphics.drawRect(0,0,100,100,"#FF0000"); var sp2:Sprite=new Sprite(); sp2.autoSize=true; sp2.name='sp2'; sp2.graphics.drawRect(0,0,100,100,"#0000FF"); sp2.x=110; Laya.stage.addChild(sp1); Laya.stage...

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

1107. 鼠标交互-Hold [ 65%]

...en.to(ape, { "scaleX": 1, "scaleY": 1 }, 500, Ease.bounceOut); isApeHold = true; } /** 鼠标放开后停止hold */ function onApeRelease() { // 鼠标放开时,如果正在hold,则播放放开的效果 if (isApeHold) { isApeHold = false; Tween.to(ape, { "scaleX": 0.8, "scaleY": 0.8 }, 300); } e...

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

1108. laya.resource.Prefab_API3.0 [ 65%]

...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource...

来源: Laya3.0_api 发布时间: 20231115

1109. 3D模型旋转问题,鼠标移动之后,根据按下移动的X坐标差值判断左右旋转,但是会越转越快,请问是什么问题? [ 65%]

...id{ let mX:number = Laya.stage.mouseX; this.lastMouseX = mX; this.isDown = true; } private mouseUp():void{ this.isDown = false; } public rotate(vec:Laya.Vector3):void{ this.entity.transform.rotate(vec,true,false); }   2018-01-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

1110. 缓动-时间线 [ 65%]

...,{x:100, y:100, scaleX:1, scaleY:1, alpha:1},2000,null,0); timeLine.play(0,true); timeLine.on(Event.COMPLETE,this,this.onComplete); timeLine.on(Event.LABEL, this, this.onLabel); } function onComplete() { console.log("timeLine complete!!!!"); } function onLabel(label) { console.log("LabelName:" + lab...

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