大约有 518 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0057 秒)
Laya_社区(280) Laya2.0_文档(68) Laya3.0_api(54) Laya_示例(42) Laya3.0_文档(34) Laya2.0_示例(24) Laya2.0_api(9) laya_api(7)
...ize:20px; line-height:38px; font-family:"微软雅黑"; color:#000; text-align:justify; text-justify:inter-ideograph; -webkit-text-align-last:justify;/*chrome 20+*/ -moz-text-align-last:justify;/*ff*/ } 2018-01-03 0 0 分享 微博 QZONE 微信 Lay...
来源: Laya_社区 发布时间: 20180103
... txt.text = "角色名10920-"; txt.color = "#ffffff"; txt.stroke = 2; txt.strokeColor = "#000000"; txt.x = 350; txt.y = 220; ...
来源: Laya_社区 发布时间: 20180212
...,层级设置无效的问题 (此问题已经无效) 2.0 drawTexture color参数无效 LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 matter.js mouseconstraint在微信小游戏中无效 问题状态 最新活动...
来源: Laya_社区 发布时间: 20170814
...0, 0.3086, 0.6094, 0.0820, 0, 0, 0, 0, 0, 1, 0]; var grayscaleFilter = new ColorFilter(grayscaleMat); var grayApe = new Sprite(); grayApe.loadImage("../../res/apes/monkey2.png"); Laya.stage.addChild(grayApe); grayApe.filters = [grayscaleFilter];如果一批图片 只要是 grayApe Sprite 的 子...
来源: Laya_社区 发布时间: 20170615
....Text(); //设置文本内容 txt.text = "Hello"; //设置文本颜色 txt.color = "#FF0000"; //设置文本字体大小,单位是像素 txt.fontSize = 66; //设置字体描边 txt.stroke = 5;//描边为5像素 txt.strokeColor = "#FFFFFF"; //设置为粗体 txt.bold = true; //设置文本的显示...
来源: Laya_社区 发布时间: 20171019
... bgRes:String; public function Main() { Laya.init(2048,1536); Laya.stage.bgColor = "#333333"; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; bgRes = "res/bg.jpg"; addPic("res/bg.jpg", 0, 0); var txt:Text = new Text(); txt.text = "Fishing Game"; txt.color = "#FFFFFF"; txt.fontSize = 60; txt.stroke = 5; ...
来源: Laya_社区 发布时间: 20170522
...w Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(1, 1, 1); //设置平行光的方向 directionLight.transform.worldMatrix.setForward(new Laya.Vector3(-1.0, -1.0, 1.0)); //平面 var plane = this.s...
来源: Laya_社区 发布时间: 20210103
... Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //图像资源 var res:Array = [ "../../../../res/ui/vscroll.png", "../../../../res/ui/vscroll$bar.png", "../../../../res/ui/vscroll$down.png", "../../../../res/ui/vscroll$up.png", "../../../../res/ui/tree/cl...
来源: Laya2.0_文档 发布时间: 20210715
...rue, the texture will be flipped vertical. Default is false. * @param clearColor Optional. If provided, the texture will be cleared to this color before drawing. Default is null. * @returns The drawn RenderTexture2D object. * @ZH 绘制当前对象到一个 Texture 对象上。 * @param canvasWidth ...
来源: Laya_社区 发布时间: 20250827
...itor scriptPath TEMPVECTOR3 defaultTextureHDRDecodeValues Accessors ambientColor ambientIntensity ambientMode ambientSH ambientSphericalHarmonics awaked bounds boundsMax boundsMin boxProjection customReflection destroyed enabled hideFlags iblTex iblTexRGBD id importance probePosition reflectionDecod...
来源: Laya3.0_api 发布时间: 20231115