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

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

1411. laya.ui.VBox_API3.0 [ 48%]

...port visible width x y zOrder Methods _initialize _processActive _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

来源: Laya3.0_api 发布时间: 20231115

1412. laya.ui.HBox_API3.0 [ 48%]

...ort visible width x y zOrder Methods _initialize _processActive _setHeight addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

来源: Laya3.0_api 发布时间: 20231115

1413. 请问object层中添加的sprite怎么添加点击事件 [ 48%]

...vent.CLICK,this,function() {    alert("My Name is Bear"); }); mallLayer.addChild(flower); mallLayer._showGridList.push(flower); 附件 : --> hxwlworld.zip 2018-07-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回...

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

1414. 如何为灯光添加阴影(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 48%]

...产生阴影: ```typescript // A plane receive shadow. var grid = scene.addChild(Laya.Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); grid.getChildAt(0).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite = this.addPBRSphere(Laya.PrimitiveMesh.c...

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

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

...影: ```typescript // A plane receive shadow. var grid: Sprite3D = scene.addChild(Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); (grid.getChildAt(0)).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite: MeshSprite3D = this.addPBRSphere(Primitiv...

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

1416. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 48%]

...nAwake(): void { let opendata = new Laya.OpenDataContextView(); Laya.stage.addChild(opendata); opendata.pos(100,100); opendata.size(500,500); } } 成功创建开放数据域视图节点后,我们只是完成了引擎层面要完成的工作流程,接下来我们还要完成微信小游戏层面...

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

1417. layaFlash 无法使用 Loader 加载外部SWF和图片 [ 48%]

...method stub var mc:MovieClip=event.target.content as MovieClip; mc.play(); addChild(mc) } } }提示: 1、在laya下使用laoder加载SWF文件,需添加load()方法的LoaderContext参数。图片则不需要。 2、主文档类不会自动添加舞台,需要在构造函数中收到添加...

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

1418. laya.ui.WXOpenDataViewer_API3.0 [ 47%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayo...

来源: Laya3.0_api 发布时间: 20231102

1419. laya.ui.UIComponent_API3.0 [ 47%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...

来源: Laya3.0_api 发布时间: 20231115

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

...影: ```typescript // A plane receive shadow. var grid: Sprite3D = scene.addChild(Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); grid.getChildAt(0).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite: MeshSprite3D = this.addPBRSphere(PrimitiveM...

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