大约有 518 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0092 秒)
Laya_社区(280) Laya2.0_文档(68) Laya3.0_api(54) Laya_示例(42) Laya3.0_文档(34) Laya2.0_示例(24) Laya2.0_api(9) laya_api(7)
... lineHeight: 40, backgroundColor: '#ff0000', color: '#ffffff', textAlign: 'center', fontSize: 16, borderRadi...
来源: Laya_社区 发布时间: 20180911
...fectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVecto...
来源: Laya3.0_api 发布时间: 20231115
... is not defined. /LayaAirTest/src/LayaAirTest.as (20):warning:Laya.stage.bgColor This variable is not defined. /LayaAirTest/src/LayaAirTest.as (22):warning:Laya.stage.addChild This variable is not defined. 代码如下: package { import laya.display.Text; public class LayaAirTest ...
来源: Laya_社区 发布时间: 20170429
...his.txt.y=Laya.stage.height-this.txt.height>>1; this.txt.borderColor="#ffff00"; this.txt.fontSize=20; this.txt.color="#ffffff"; Laya.stage.addChild(this.txt); this.txt.on(Laya.Event.MOUSE_DOWN, this, startScrollText); } function startScrollText(){ this.prevX...
来源: Laya_社区 发布时间: 20170810
...提供HTML5开发技术方案!\n" ;this.txt.size(200,100);this.txt.borderColor = "#ffff00";this.txt.fontSize = 20;this.txt.color = "#ffffff";Laya.stage.addChild(this.txt);this.txt.on(Laya.Event.MOUSE_DOWN,this,startScrollText);}/*开始滚动文本*/function startScrollText(){this.prevX = this.txt...
来源: Laya_社区 发布时间: 20180125
...xt:Text = new Text(); txt.text = "Hello, World!"; //设置文本颜色 txt.color = '#FF0000'; //设置文本字体大小,单位是像素 txt.fontSize = 66; //设置字体描边 txt.stroke = 5; //描边为5像素 txt.strokeColor = '#FFFFFF'; //设置为粗体 txt.bold = true; //设置文本的显...
来源: Laya_社区 发布时间: 20180914
...文本内容 txt.text = "hello_world"; //设置文本颜色 txt.color = "#ffffff"; Laya.stage.addChild(txt); yaorao • 2018-03-30 11:39 @qian:看了下 lib目录的文件有6M左右。会是因为加载这个目录导致的嘛? qian • 2018-03-30 11:54 不确定 但是你可...
来源: Laya_社区 发布时间: 20180330
...a.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textInput:TextInput = new T...
来源: Laya3.0_api 发布时间: 20231115
...为颜色赋值: ```typescript //设置方向光的颜色 directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); ``` **四元数(Quaternion)** 四元数在LayaAir中用于计算旋转。它们计算紧凑高效,不受万向节锁的困扰,并且可以很方便快速地进行球面插...
来源: Laya2.0_文档 发布时间: 20210714
...为颜色赋值: ```typescript //设置方向光的颜色 directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); ``` **四元数(Quaternion)** 四元数在LayaAir中用于计算旋转。它们计算紧凑高效,不受万向节锁的困扰,并且可以很方便快速地进行球面插...
来源: Laya2.0_文档 发布时间: 20210715