大约有 511 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0056 秒)
Laya_社区(277) Laya2.0_文档(68) Laya3.0_api(54) Laya_示例(42) Laya3.0_文档(30) Laya2.0_示例(24) Laya2.0_api(9) laya_api(7)
...,层级设置无效的问题 (此问题已经无效) 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
...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
...不起作用 let html = new HTMLDivElement(); let str = "<span style='color:#ffffff; line-height:20px'>.....</span>" html.innerHTML=str; 比如这个line-height 怎么弄都是没反应。而且这里很多html/css的样式好像都设置不了,有限制的吗? 用html.style.leadin...
来源: Laya_社区 发布时间: 20170302
...h { public function DemoTouch() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; var txt:Text = new Text(); txt.text = "hello"; txt.color = "#FF00FF"; txt.width = 100; txt.height = 100; txt.x = 200; txt.y = 100; txt.fontSize = 50; txt.on("click", this, onFunc); Laya.stage.addChild(txt);...
来源: Laya_社区 发布时间: 20170519
生成的粒子特效怎么设置colorComponentInter无效? function UILetterBox(letter, width) { UILetterBox.super(this); letter = letter; this.loadImage('res/jiezou/wenzi2.png'); Laya.loader.load("res/parts/qipao.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); } function onAsse...
来源: Laya_社区 发布时间: 20161230