大约有 573 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0046 秒)
Laya_社区(280) Laya2.0_文档(75) Laya3.0_api(65) Laya_示例(59) Laya2.0_示例(41) Laya3.0_文档(37) Laya2.0_api(9) laya_api(7)
...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { // 该文本自动适应尺寸 var autoSizeText = createSampleText(); autoSizeText.overflow = Text.VISIBLE; autoSizeText.y = 50; // 该文本被限制了宽度 var widthLim...
来源: Laya_示例 发布时间: 20251130
...directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(6, 6, 10, 10))); //正方体 var box = scene.addChi...
来源: Laya_示例 发布时间: 20251130
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { var vGap = 200; rotateTimeBasedText = createText("基于时间旋转", Laya.stage.width / 2, (Laya.stage.height - vGap) / 2); rotateFrameRateBasedText = createText("基于...
来源: Laya_示例 发布时间: 20251130
...错: p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Andale Mono'; color: #28fe14; background-color: #000000; background-color: rgba(0, 0, 0, 0.9)} span.s1 {font-variant-ligatures: no-common-ligatures} ERROR: Uncaught SyntaxError: Unexpected end of JSON input, location: undefined:0:0 求...
来源: Laya_社区 发布时间: 20191115
HtmlDivElement 下划线 如何解决? <span style='color:#ffd600;font:18px SimHei;'>天天天天天天天天天天</span><span style='color:#ffd600;font:18px SimHei;line-height:18px;letter-spacing:0px;' href='1'>天天天天</span> 附件 : --> 2019-04-09 添加评论 免...
来源: Laya_社区 发布时间: 20190409
...ProcessEffect ScalableAO Index Constructors constructor Accessors active aoColor aoQuality intensity radius Methods effectInit getCameraDepthTextureModeFlag release render init Constructors constructor new ScalableAO(): ScalableAO Overrides PostProcessEffect.constructor Defined in laya/d3/core/rende...
来源: Laya3.0_api 发布时间: 20231115
.../聚光灯 var spotLight = scene.addChild(new Laya.SpotLight()); spotLight.color = new Laya.Vector3(1, 1, 0); spotLight.transform.position = new Laya.Vector3(0.0, 1.2, 0.0); spotLight.direction = new Laya.Vector3(0.15, -1.0, 0.0); spotLight.attenuation = new Laya.Vector3(0.0, 0.0, 0.8); spotLight.ra...
来源: Laya_示例 发布时间: 20251130
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createInput(); } createInput() { const Text = Laya.Text; let t1 = this.createText(); t1.overflow = Text.VISIBLE; t1.pos(10, 10); let t2 = this.createText(); t2.overflow = Text.SCROLL; t2.pos(10, 110); ...
来源: Laya2.0_示例 发布时间: 20251130
...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); var plane = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zombie/new/Plane.lh")); var zombie = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zom...
来源: Laya_示例 发布时间: 20251130
... Hierarchy TextStyle Index Constructors constructor Properties align bold color font fontSize italic leading strikethrough stroke strokeColor underline underlineColor valign Constructors constructor new TextStyle(): TextStyle Defined in laya/display/css/TextStyle.ts:53 Returns TextStyle Properties a...
来源: Laya3.0_api 发布时间: 20231115