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

大约有 186 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0046 秒)

51. VR场景-VR地球 [ 72%]

...a.BaseCamera.CLEARFLAG_SKY; vrCamera.addComponent(VRCameraMoveScript); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var earth = scene.addChild(Laya.Sprite3D.load("../../res/...

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

52. 在场景中增加方向光,仅在slow下会出现报错 [ 72%]

...错 Laya.stage.frameRate = "slow"下,在场景中增加方向光,进行directionLight.direction = new Laya.Vector3(-0.2, -1,-0.45);设置的时候,会概率性的出现报错,如图示:注释掉directionLight.direction 的改变或者Laya.stage.frameRate = "fast"下则不会出现报错,...

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

53. 单选框组组件 · LayaAir3.0文档 · LAYABOX [ 72%]

...中单选框的数量 space 单选框之间的间隔,以像素为单位 direction 单选框的排列方向。有vertical(垂直排列)和horizontal(水平排列)两种 selectedIndex 选择索引,默认为-1。设置后,单选框会保持选中状态。索引数量会根据labels数量...

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

54. layabox 只支持一个灯光? [ 72%]

...ght.transform.position = new Laya.Vector3(-1, 1.2, 0.0); this.loadCCDlight.direction = new Laya.Vector3(0.15, -1.0, 0.0); this.loadCCDlight.attenuation = new Laya.Vector3(0.0, 0.0, 0.8); this.loadCCDlight.range = 6.0; this.loadCCDlight.spot = 32; this.loadCCDlight.intensity = 100; } //加载检测...

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

55. laya.d3.core.particleshuriken.module.shape.BaseShape_API3.0 [ 71%]

...e Implements IClone Index Constructors constructor Properties enable randomDirection shapeType Methods clone cloneTo generatePositionAndDirection Constructors constructor new BaseShape(): BaseShape Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:31 创建一个 BaseShape 实例。...

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

56. 高级应用-Laya3D与网页混合 [ 71%]

... 0), true, false); //3.清除照相机颜色 camera.clearColor = null; var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); var layaMonkey = scene.addChild(Laya.Sprite3D.load(...

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

57. Sprite.loadImage()中设置的y的值为Browser.ClientHight时不准确是为什么? [ 71%]

...BgBottom=20,dirBgSize=Browser.clientHeight*0.5,dirSpace=dirBgSize*0.2; var directionBg = new Sprite(); directionBg.loadImage("../bin/res/img/btn_direction$bg.png",dirBgLeft,Browser.clientHeight,dirBgSize,dirBgSize); Laya.stage.addChild(directionBg); Sprite.loadImage()中设置的y的值为Browser.Cl...

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

58. 安卓手机输入不了中文 [ 70%]

...           {                 inputElement.style.direction = "rtl";             }         }   直接修改库的话 laya.core.js     __proto._setInputMethod=function(){         Input.input.parentElement && (Input.inputContainer.rem...

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

59. 材质-BlinnPhong材质加载 [ 70%]

...)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var 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 layaMonkey = scene.addChild(new Laya.MeshSprite3D...

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

60. 苹果上架问题, [ 69%]

...ternatively, you may provide additional details about your app by replying directly to this message. Guideline 4.0 - Design Your app includes an update button or alerts the user to update the app, but the update button or alert does not link directly to the app’s page on the App Store. Please see ...

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