大约有 1,695 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0084 秒)
Laya_社区(1278) Laya3.0_api(178) Laya2.0_文档(87) laya_api(60) Laya2.0_api(40) Laya3.0_文档(25) Laya_示例(24) Laya2.0_示例(3)
...(tick > frequency) { tick = 0; // iterate through the dudes and update the positions var laser = new Sprite(); laser.loadImage("../../res/pixi/laser0" + ((type % 5) + 1) + ".png"); type++; laser.life = 0; var pos1; var pos2; if (type % 2) { pos1 = new Point(-20, Math.random() * viewHeight); pos2 = n...
来源: Laya_示例 发布时间: 20241119
...-------- | ----- | | u_PointLight.color | 点光的颜色 | | u_PointLight.position | 点光的位置 | | u_PointLight.range | 点光的范围 | > 聚光相关(老版本,逐步会去除) | 变量名 | 描述 | | --------------------- | ----- | | u_SpotLight.color | 聚光的颜色 | | u_SpotLi...
来源: Laya2.0_文档 发布时间: 20210715
...-------- | ----- | | u_PointLight.color | 点光的颜色 | | u_PointLight.position | 点光的位置 | | u_PointLight.range | 点光的范围 | > 聚光相关(老版本,逐步会去除) | 变量名 | 描述 | | --------------------- | ----- | | u_SpotLight.color | 聚光的颜色 | | u_SpotLi...
来源: Laya2.0_文档 发布时间: 20210715
...-------- | ----- | | u_PointLight.color | 点光的颜色 | | u_PointLight.position | 点光的位置 | | u_PointLight.range | 点光的范围 | > 聚光相关(老版本,逐步会去除) | 变量名 | 描述 | | --------------------- | ----- | | u_SpotLight.color | 聚光的颜色 | | u_SpotLi...
来源: Laya2.0_文档 发布时间: 20210715
...(tick > frequency) { tick = 0; // iterate through the dudes and update the positions laser = new Sprite(); laser.loadImage("res/pixi/laser0" + ((type % 5) + 1) + ".png"); type++; laser.life = 0; let pos1; let pos2; if (type % 2) { pos1 = new Point(-20, Math.random() * viewHeight); pos2 = new Point(v...
来源: Laya2.0_示例 发布时间: 20241119
...sh.transform.localScale = new Laya.Vector3(0.04,0.04,0.04); fish.transform.position = new Laya.Vector3(0,0.5,0); // fish.transform.position = new Laya.Vector3(0.4,0.5,-0.35); fish.transform.rotate(new Laya.Vector3(0,-Math.PI/2,0)); var anifish = fish.addComponent(Laya.SkinAnimations); anifish.temple...
来源: Laya_社区 发布时间: 20171206
...个目标OBJ, 首先获得目标的坐标this.objPoint3D= OBJ.transform.position2. 从摄像机(透视)构造一条射线(参考官方3D鼠标点击案例),来得到一个鼠标点击坐标this.originRay = new Laya.Ray(this.sceneCamera.transform.position, new Laya.Vector3(0, 0, 0)) let p...
来源: Laya_社区 发布时间: 20200617
...ox.getChildAt(0) as Laya.Sprite3D; asteroidBox.transform.position = new Laya.Vector3(Strong.rangeRandomFloat(-5, 5), 0, 15.4); //asteroidBox.transform.position = new Laya.Vector3(0, 0, 7); // asteroid.transform.rotate(new Laya.Vector3( ...
来源: Laya_社区 发布时间: 20191115
...hell enable radius randomDirection shapeType Methods clone cloneTo generatePositionAndDirection Constructors constructor new SphereShape(): SphereShape Overrides BaseShape.constructor Defined in laya/d3/core/particleShuriKen/module/shape/SphereShape.ts:14 创建一个 SphereShape 实例。 Returns S...
来源: Laya3.0_api 发布时间: 20231115
...hell enable radius randomDirection shapeType Methods clone cloneTo generatePositionAndDirection Constructors constructor new HemisphereShape(): HemisphereShape Overrides BaseShape.constructor Defined in laya/d3/core/particleShuriKen/module/shape/HemisphereShape.ts:15 创建一个 HemisphereShape 实...
来源: Laya3.0_api 发布时间: 20231115