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

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

711. laya.ui.HSlider_API3.0 [ 73%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Inherited from Slider.changeHandler Defined in laya/ui/Slider.ts:46 数据变化处理器。 默认...

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

712. laya.ui.VSlider_API3.0 [ 73%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Inherited from Slider.changeHandler Defined in laya/ui/Slider.ts:46 数据变化处理器。 默认...

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

713. 文本-下划线 [ 73%]

...t.color = "#ffffff"; txt.align = align; // 设置下划线 txt.underline = true; txt.underlineColor = underlineColor; txt.pos(x, y); return txt; } } new Text_Underline();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import WebGL = Laya.WebGL; export class Text_Underline { constru...

来源: Laya2.0_示例 发布时间: 20251209

714. 天空盒视野小,图片锯齿怎么消除? [ 73%]

...le 2,3d场景中的抗锯齿,在初始化3d画布时,Laya3D.init(0,0,true),第三个参数设为true,就会开启抗锯齿 2017-02-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 suone 相关问题 请问LayaAir中如何使图...

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

715. 聚光灯实时阴影(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 73%]

...e3D) { //设置精灵接收阴影 childSprite.meshRenderer.receiveShadow = true; //设置精灵可投射阴影 childSprite.meshRenderer.castShadow = true; } else if(childSprite instanceof SpotLight) { //设置实时阴影的阴影模式 childSprite.shadowMode = ShadowMode.Hard; //设置灯光产生...

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

716. 关于timeline结束的问题 [ 73%]

...y.getChildAt(i); if (child.name === 'lightDottedActive') { child.visible = true; child.alpha = 0; timeline .addLabel('lightDotted', 0) .to(child, { alpha: 1 }, 200, Ease.linearIn) .to(child, { alpha: 0 }, 200, Ease.linearIn) } } timeline.play(0, true); timeline.on(Event.COMPLETE, this, function () {...

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

717. laya.ui.WXOpenDataViewer_API3.0 [ 73%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事...

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

718. 关于graphics镂空的问题https://ask.layabox.com/question/139 [ 73%]

...var redBox:Sprite = new Sprite(); redBox.pos(250,200); redBox.autoSize = true; redBox.graphics.drawRect(0,0,100,100,'#ff0000'); Laya.stage.addChild(redBox); redBox.on("click",this,function(){ trace("click redbox"); }); redBox.on("mouseover",this,function(){ redBox.graphics.clear(); redBox.graphics.d...

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

719. 1.7版本要初始化后有些代码才能用了 [ 73%]

...e-web-app-capable' content='yes'/> <meta name='full-screen' content='true'/> <meta name='screen-orientation' content='portrait'/> <meta name='x5-fullscreen' content='true'/> <meta name='360-fullscreen' content='true'/> <meta http-equiv='expires' content='0'/> </he...

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

720. 向官方反映1.75引擎库后 事件执行 发生的bug [ 73%]

...t":                         MouseManager._isTouchRespond=true;                         _this._isLeftMouse=true;                         var touches=evt.changedTouches;                         for (var j=0,n=touches.length;j <...

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