大约有 573 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0051 秒)
Laya_社区(280) Laya2.0_文档(75) Laya3.0_api(65) Laya_示例(59) Laya2.0_示例(41) Laya3.0_文档(37) Laya2.0_api(9) laya_api(7)
...bsolute;width:495px;height:329px;overflow-y:scroll;border-width:1px;border-color:Red;border-style:solid;font-size:16px;color:#fff;'><p style='color:#999;right:20px'>2021-01-21 10:25:10</p>bbb>>bbb 加入了聊天室<br/>bbb>>啊实打实的鬼斧神工风神股份时...
来源: Laya_社区 发布时间: 20210121
...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var completeHandler = Laya.Handler.create(this, onComplete); Laya.loader.create("../../res/threeDimen/skinModel/dude/dude.lh", completeHandler); function onComplete() { var dude1 = this.scen...
来源: Laya_示例 发布时间: 20251130
...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; this.createSingleInput(); this.createMultiInput(); } private createSingleInput(): void { var inputText: Input = new Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; ...
来源: Laya2.0_文档 发布时间: 20210715
...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; var txt: Text = new Text(); //给文本的text属性赋值 txt.text = "hello_world"; txt.color = "#ffffff"; Laya.stage.addChild(txt); } } } new laya.HelloLayabox(); ``` 这个时候我们就可以看到txt...
来源: Laya2.0_文档 发布时间: 20210715
...ing = ""; htmlStr += "<span style='font-weight:bold;font:24px Arial' color='#fafbf9'>累计进行关卡</span>"; htmlStr += "<span style='font-weight:bold;font:48px Arial;valign:top' color='#84ED4A'>3</span>"; htmlStr += "<span style='font-weight:bold;font:24px Arial' c...
来源: Laya_社区 发布时间: 20180718
...36, 640, WebGL); Laya.stage.bgColor = "#ffffff"; //以500毫秒的时间间隔播放颜色切换的矩形 Laya.timer.loop(500, this, createRect); })(); function ...
来源: Laya_社区 发布时间: 20170510
...fect Index Constructors constructor Accessors active anamorphicRatio clamp color diffusion dirtIntensity dirtTexture fastMode intensity softKnee threshold Methods effectInit getCameraDepthTextureModeFlag release CompositeInit __initDefine__ init Constructors constructor new BloomEffect(): BloomEffec...
来源: Laya3.0_api 发布时间: 20231115
...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { buildWorld(); createLogger(); } function buildWorld() { createCoralRect(); createDeepSkyblueRect(); createDarkOrchidRect(); // 设置舞台 Laya.stage.name = "暗灰色舞...
来源: Laya_示例 发布时间: 20251130
...); //设置文本内容 txt.text = "hello_world"; //设置文本颜色 txt.color = "#ffffff"; Laya.stage.addChild(txt); ``` 这个时候我们就可以看到txt已经添加到舞台上了,显示了txt中白色的hello_world。 接着我们给文本添加一些其他的字体样式,粗体、斜...
来源: Laya2.0_文档 发布时间: 20210714
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.listenKeyboard(); this.createLogger(); Laya.timer.frameLoop(1, this, this.keyboardInspector); } listenKeyboard() { const Event = Laya.Event; // 用Set实现更好...
来源: Laya2.0_示例 发布时间: 20251130