大约有 382 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
Laya_社区(258) Laya2.0_文档(42) Laya3.0_文档(24) Laya_示例(22) Laya2.0_示例(19) Laya3.0_api(10) Laya2.0_api(6) laya_api(1)
...akeCurrent:792 error 3003 (EGL_BAD_ALLOC) 08-20 16:53:49.060 309-376/? E/BufferQueueProducer: [SurfaceView] connect(P): already connected (cur=1 req=1) 08-20 16:53:49.060 24823-24871/? E/libEGL: eglCreateWindowSurface: native_window_api_connect (win=0x559096cbb0) failed (0xffffffea) (already connect...
来源: Laya_社区 发布时间: 20181213
...or() { Laya.init(1336,640); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //资源路径 this.Res = "res/img/monkey1.png"; //先加载图片资源,在图片资源加载成功后,通过回调方法绘制图片并添加到舞台 Laya.loader.load(this.Res,Laya.Handler.create(this,this.gra...
来源: Laya2.0_文档 发布时间: 20210715
....text = "Hello Layabox"; //设置文本颜色 txt.color = "#FF0000"; //设置文本字体大小,单位是像素 txt.fontSize = 66; //设置字体描边 txt.stroke = 5;//描边为5像素 txt.strokeColor = "#FFFFFF"; //设置为粗体 txt.bold = true; //设置文本的...
来源: Laya_社区 发布时间: 20180715
...eframes: true, // wireframeBackground: '#00ff00', //当wireframes为true的时候,wireframeBackground可以设置背景颜色 showAngleIndicator: true, //角度指示器 width: 750, ...
来源: Laya_社区 发布时间: 20180323
...326,"y":188,"skin":"comp/checkbox.png","label":"checkBox2","labelColors":"#ff0000"},"type":"CheckBox"},{"type":"Box","child":[{"props":{"y":70,"skin":"comp/progress.png","width":150,"height":14,"sizeGrid":"4,4,4,4","name":"progress"},"type":"ProgressBar"},{"props":{"y":103,"skin":"comp/label.png","t...
来源: Laya_社区 发布时间: 20170330
...phicBounds。 var sp=new Laya.Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); var bounds:Laya.Rectangle=sp.getGraphicBounds(); Laya.stage.addChild(sp); getBounds可以满足多数多数需求,但由于其需要计算边界,不适合频繁调用。 设置容器的autoSize为true。 var sp=...
来源: Laya3.0_文档 发布时间: 20251010
...上给的例子。 https://mdn.github.io/webaudio-examples/stream-source-buffer/ 开发者用手机或者微信打开这个地址测试下你手机的支持度。 。 这个是个测试的连接,协议也是https的,开发者在调用...
来源: Laya2.0_文档 发布时间: 20210715
...局 let style = { container: { width: 400, height: 200, backgroundColor: "#ffffff", justifyContent: "center", alignItems: "center", }, testText: { color: "#ffffff", width: "100%", height: "100%", lineHeight: 200, fontSize: 40, textAlign: "center", }, // 文字的最终颜色为#ff0000 redText: { col...
来源: Laya3.0_文档 发布时间: 20251010
... Laya.init(1334,750,WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //原始位图 createImg(100,50); //发光滤镜 creteGlowFilter(); //阴影滤镜 createShadeFilter(); } /**创建发光滤镜位图**/ private function creteGlowFilter():void { //创建发光滤镜 var glowFilter:G...
来源: Laya2.0_文档 发布时间: 20210715
... planeMat: Laya.StandardMaterial = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var boxCollider = plane.addComponent(Laya.BoxCollider...
来源: Laya_社区 发布时间: 20180820