大约有 186 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0046 秒)
Laya_社区(75) Laya2.0_文档(27) Laya3.0_api(24) Laya_示例(22) laya_api(13) Laya2.0_api(12) Laya3.0_文档(10) Laya2.0_示例(3)
...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
...错 Laya.stage.frameRate = "slow"下,在场景中增加方向光,进行directionLight.direction = new Laya.Vector3(-0.2, -1,-0.45);设置的时候,会概率性的出现报错,如图示:注释掉directionLight.direction 的改变或者Laya.stage.frameRate = "fast"下则不会出现报错,...
来源: Laya_社区 发布时间: 20190617
...中单选框的数量 space 单选框之间的间隔,以像素为单位 direction 单选框的排列方向。有vertical(垂直排列)和horizontal(水平排列)两种 selectedIndex 选择索引,默认为-1。设置后,单选框会保持选中状态。索引数量会根据labels数量...
来源: Laya3.0_文档 发布时间: 20241014
...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
...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
... 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
...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
... { inputElement.style.direction = "rtl"; } } 直接修改库的话 laya.core.js __proto._setInputMethod=function(){ Input.input.parentElement && (Input.inputContainer.rem...
来源: Laya_社区 发布时间: 20190816
...)); 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
...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