大约有 3,603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0089 秒)
Laya_社区(2675) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya3.0_文档(97) Laya_示例(83) Laya2.0_示例(45)
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Inherited from Slider.changeHandler Defined in laya/ui/Slider.ts:46 数据变化处理器。 默认...
来源: Laya3.0_api 发布时间: 20231115
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Inherited from Slider.changeHandler Defined in laya/ui/Slider.ts:46 数据变化处理器。 默认...
来源: Laya3.0_api 发布时间: 20231115
...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
...le 2,3d场景中的抗锯齿,在初始化3d画布时,Laya3D.init(0,0,true),第三个参数设为true,就会开启抗锯齿 2017-02-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 suone 相关问题 请问LayaAir中如何使图...
来源: Laya_社区 发布时间: 20170210
...e3D) { //设置精灵接收阴影 childSprite.meshRenderer.receiveShadow = true; //设置精灵可投射阴影 childSprite.meshRenderer.castShadow = true; } else if(childSprite instanceof SpotLight) { //设置实时阴影的阴影模式 childSprite.shadowMode = ShadowMode.Hard; //设置灯光产生...
来源: Laya2.0_文档 发布时间: 20210714
...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
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事...
来源: Laya3.0_api 发布时间: 20231102
...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
...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
...t": MouseManager._isTouchRespond=true; _this._isLeftMouse=true; var touches=evt.changedTouches; for (var j=0,n=touches.length;j <...
来源: Laya_社区 发布时间: 20170614