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

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

111. 2D网格渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 74%]

...tDirection: {type: Vector2, default:[1,1]}, // 渐变方向 u_gradientStartColor: {type:Vector4, default:[1,1,1,1]}, // 渐变起始颜色 u_gradientEndColor: {type:Vector4, default:[1,1,1,1]} // 渐变结束颜色 }, attributeMap: { a_position: Vector4, a_color: Vector4, a_uv: Vector2, }, defines: ...

来源: Laya3.0_文档 发布时间: 20251120

112. 材质-BlinnPhong-法线贴图 [ 73%]

...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); Laya.loader.create("../../res/threeDimen/staticModel/lizardCal/lizardCaclute.lh", Laya.Handler.create(this, onComplete)); function onComplete() { var monster1 = this.scene.addChild(Laya.Spri...

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

113. [LayaAirIDE3]2d相机打包后问题 [ 73%]

...nXLabel.text = `minX: ${this.playerScript.mapMinX}`;         minXLabel.color = "#FFFFFF";         minXLabel.pos(this.playerScript.mapMinX, this.playerScript.mapMinY - 20);         this.owner.addChild(minXLabel);          const maxXLabel = new Laya.Text();         maxXLabel.text ...

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

114. 材质-BlinnPhong-高光贴图 [ 73%]

...; 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_示例 发布时间: 20260303

115. 请问HTMLDivElement怎么加垂直滚动条 [ 73%]

...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

116. 富文本排版问题 [ 73%]

...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

117. flag的问题 [ 73%]

...36, 640, WebGL);                       Laya.stage.bgColor = "#ffffff";                   //以500毫秒的时间间隔播放颜色切换的矩形         Laya.timer.loop(500, this, createRect);               })();       function ...

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

118. laya.d3.core.render.posteffect.BloomEffect_API3.0 [ 73%]

...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

119. 鼠标交互-修正交互区域 [ 73%]

...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_示例 发布时间: 20260303

120. 鼠标交互-键盘交互 [ 72%]

...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_示例 发布时间: 20260303