大约有 1,107 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0070 秒)
Laya_社区(584) Laya3.0_api(207) Laya2.0_文档(82) Laya_示例(59) laya_api(46) Laya3.0_文档(44) Laya2.0_api(44) Laya2.0_示例(41)
...age.addChild(skeleton); text = new Text(); Laya.stage.addChild(text); text.color = "#00ff00"; text.fontSize = 30; Laya.stage.addChild(text); Laya.stage.on(Event.MOUSE_DOWN, this, changeAction); } private var tActionID:int=0; private function changeAction():void { tActionID++; var aniCount:int; //获...
来源: Laya2.0_文档 发布时间: 20210715
...='expires' content='0' /> <meta name='laya' logoimg='logo.png' logobkcolor='#ffffff' screenorientation='landscape' cacheid='fffffffff' /> </head> <body style='margin:0;overflow:none;overflow-x:hidden;overflow-y:hidden;background-color: #000;'> <script type="text/javascript" s...
来源: Laya_社区 发布时间: 20180310
... this.newScene.addChild(directionLight); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); //设置平行光的方向 var mat = directionLight.transform.worldMatrix; mat.setForward(new Laya.Vector3(-1.0, -1.0, -1.0))...
来源: Laya_社区 发布时间: 20201120
...rs GIRotate _isHeightSet _isWidthSet active activeInHierarchy alpha ambientColor ambientIntensity ambientMode ambientSH anchorX anchorY blendMode cacheAs components cullInfoCamera cullPass customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize enableFog filters fog...
来源: Laya3.0_api 发布时间: 20231115
...Bounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这...
来源: laya_api 发布时间: 20170929
...dL2/?nodeId=206962&env=production&source=ios&memId=2470906&color=65d1a7&hide_next_btn=0&language=chinese&autoPlay=1 使用Safiri浏览器打开这个链接,无法正常显示游戏内容,仔细看发现,游戏内容显示在顶部,宽度为屏幕宽,高度大概...
来源: Laya_社区 发布时间: 20210923
...位;线段的宽度不会随着节点的缩放而变化。 线段颜色(color) 线段的颜色,与渲染纹理和材质共同决定线段最终的显示效果。 是否启用虚线模式(enableDashedModle) 启用此属性后,线段会变为虚线。 虚线长度(dashedLength) 启用虚线模...
来源: Laya3.0_文档 发布时间: 20251010
...addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 0)); Laya.Sprite3D.load("h5/LayaMonkey/LayaMonkey.lh",Laya.Handler.create(this,this.ok)); } ok(sp:Laya.Sprite3D)...
来源: Laya_社区 发布时间: 20190618
...unds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这...
来源: laya_api 发布时间: 20170929
...本内容 txt.text = "Hello Layabox"; //设置文本颜色 txt.color = "#FF0000"; //设置文本字体大小,单位是像素 txt.fontSize = 66; //设置字体描边 txt.stroke = 5;//描边为5像素 txt.strokeColor = "#FFFFFF"; //设置为粗体 txt.bold = true; //设...
来源: Laya_社区 发布时间: 20180715