• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,204 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)

221. 文本-字数限制 [ 75%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createInput(); })(); function createInput() { var inputText = new Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.stage.height - inputText.height...

来源: Laya_示例 发布时间: 20260303

222. LayaAir开发笔记(1)五十音图连连看 [ 75%]

... <title>五十音图对对碰</title> </head> <body bgcolor="gainsboro"> </body> <script src="libs/laya.core.js"></script> <script src="linkgame.js"></script> </html> 再建立个linkgame.js,用下列代码进行初始化。个人建议...

来源: Laya_社区 发布时间: 20160623

223. 同一类型光源互斥的问题报告 [ 75%]

....lookAt(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 1, 0)); camera.clearColor = new Laya.Vector3(0.3, 0.3, 0.5); camera.addComponent(CameraMoveScript); //创建点光[左下角]------------ 这个不生效,除非注释掉light2 var light1 = scene.addChild(new Laya.PointLight()); light1.transfor...

来源: Laya_社区 发布时间: 20180103

224. LAYA的AS3项目碰见个问题,求解 [ 75%]

...通用VIEW。 myTextsUI: <View sceneWidth="100" sceneHeight="20" sceneColor="#000000" editorInfo="compId=1">    <Text y="0" x="0" var="txts" text="text" fontSize="12" editorInfo="compId=2"/> </View>   mytexts.as: public class myTexts extends myTextsUI        public functio...

来源: Laya_社区 发布时间: 20170703

225. 粒子属性详解(ActionScript-3D基础(AS3)-LayaAir3D之粒子系统) [ 75%]

...小数中取常数 10. `RandomizeRotation` 随机旋转的概率 11. `StartColor`开始颜色 1. *Color* 常数颜色 2. *random Between two Color* 随机在两个颜色中取值 12. `GravityModifier` 重力修正 13. `Simulation Space` 模拟空间 1. *local* 模型 2. *Hierarchy* 世界 14. `Scali...

来源: Laya2.0_文档 发布时间: 20210715

226. 屏幕适配-自动竖屏 [ 75%]

...SCALE_SHOWALL; Laya.stage.screenMode = Stage.SCREEN_VERTICAL; Laya.stage.bgColor = "#232628"; this.showText(); } showText() { const Text = Laya.Text; let text = new Text(); text.text = "Orientation-Portrait"; text.color = "gray"; text.font = "Impact"; text.fontSize = 50; text.x = Laya.stage.width - ...

来源: Laya2.0_示例 发布时间: 20260303

227. 屏幕适配-自动横屏 [ 75%]

...ALE_SHOWALL; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Laya.stage.bgColor = "#232628"; this.showText(); } showText() { const Text = Laya.Text; let text = new Text(); text.text = "Orientation-Landscape"; text.color = "gray"; text.font = "Impact"; text.fontSize = 50; text.x = Laya.stage.width -...

来源: Laya2.0_示例 发布时间: 20260303

228. 文本-单行输入 [ 75%]

...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; createInput(); })(); function createInput() { var inputText = new Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.stage.height - inputText.height...

来源: Laya_示例 发布时间: 20260303

229. 文本-字数限制 [ 75%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createInput(); } createInput() { const Input = Laya.Input; let inputText = new Input(); Laya.stage.addChild(inputText); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; ...

来源: Laya2.0_示例 发布时间: 20260303

230. 文本-禁止编辑 [ 75%]

...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; createInput(); })(); function createInput() { var inputText = new Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.stage.height - inputText.height...

来源: Laya_示例 发布时间: 20260303