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

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

51. 如何为灯光添加阴影(TypeScript-3D基础(TS)-LayaAir3D之灯光) [ 55%]

...ite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; ``` 然后来看下效果。 ![](img/1.png)(图1)

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

52. 如何为灯光添加阴影(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 55%]

...ite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; sphereSprite.meshRenderer.receiveShadow = true; ``` 然后来看下效果。 ![](img/1.png)(图1)

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

53. laya.ui.Tab [ 55%]

...测依据。 Stage对象和UI的View组件默认为true。 Sprite items : Vector.<ISelect>[read-only] 项对象们的存放数组。 UIGroup labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup labelColors : StringUIGroup labelFont : String 表示按钮文本标签的...

来源: laya_api 发布时间: 20170929

54. laya.ui.RadioGroup [ 54%]

...测依据。 Stage对象和UI的View组件默认为true。 Sprite items : Vector.<ISelect>[read-only] 项对象们的存放数组。 UIGroup labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup labelColors : StringUIGroup labelFont : String 表示按钮文本标签的...

来源: laya_api 发布时间: 20170929

55. laya.ui.UIGroup [ 54%]

...依据。 Stage对象和UI的View组件默认为true。 Sprite  items : Vector.<ISelect>[read-only] 项对象们的存放数组。 UIGroup  labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup  labelColors : StringUIGroup  labelFont : String 表示按钮文本标...

来源: Laya2.0_api 发布时间: 20190513

56. laya.ui.List [ 53%]

...内无动画,设置此属性为true能大大提高性能 List  cells : Vector.<Box>[read-only] 单元格集合。 List centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number ...

来源: laya_api 发布时间: 20170929

57. laya.ui.Tab [ 49%]

...测依据。 Stage对象和UI的View组件默认为true。 Sprite items : Vector.<ISelect>[read-only] 项对象们的存放数组。 UIGroup labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup labelColors : StringUIGroup labelFont : String 表示按钮文本标签的...

来源: Laya2.0_api 发布时间: 20190513

58. laya.ui.RadioGroup [ 49%]

...测依据。 Stage对象和UI的View组件默认为true。 Sprite items : Vector.<ISelect>[read-only] 项对象们的存放数组。 UIGroup labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup labelColors : StringUIGroup labelFont : String 表示按钮文本标签的...

来源: Laya2.0_api 发布时间: 20190513

59. 2D寻路 · LayaAir3.4 · 引擎文档 · LAYABOX [ 49%]

...e, Nav2DAgent); } onMouseClick(evt: Laya.Event): void { let pos = new Laya.Vector2(evt.stageX, evt.stageY); console.log("click", pos); this._temp.graphics.clear(); this._allAgent.forEach((agent) => { agent.destination = pos; let paths = agent.getCurrentPath(); if (paths.length >= 2) { let poin...

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

60. laya.ui.List [ 47%]

...内无动画,设置此属性为true能大大提高性能 List  cells : Vector.<Box>[read-only] 单元格集合。 List centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number...

来源: Laya2.0_api 发布时间: 20190513