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

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

161. laya.display.Graphics [ 40%]

...点X 轴位置。  y:Number — 圆点Y 轴位置。  radius:Number — 半径。  fillColor:* — 填充颜色,或者填充绘图的渐变对象。  lineColor:* (default = null) — (可选)边框颜色,或者填充绘图的渐变对象。  lineWidth:Number (default = 1) — (可选...

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

162. laya.d3.physics.CharacterController_API3.0 [ 39%]

...ysicsComponent.ts:259 获取用于进入连续碰撞检测(CCD)范围的球半径。 Returns number Inherited from PhysicsTriggerComponent.ccdSweptSphereRadius Defined in laya/d3/physics/PhysicsComponent.ts:263 获取用于进入连续碰撞检测(CCD)范围的球半径。 Parameters value: number R...

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

163. 项目设置面板 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

...过此阈值时,将会开启连续碰撞检测。 连续碰撞检测球半径 在进行连续碰撞检测时,物体的形状通常被简化为一个扫描球体,以检测物体在其运动过程中可能与其他物体发生的碰撞,这个值就是用于指定这个扫描球体的半径。 ...

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

164. 3D物理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 37%]

...性的同时有效处理与环境的碰撞。开发者可以通过radius(半径)和height(高度)属性调整这个胶囊体的尺寸,通过centerOffset属性调整胶囊体在角色本地坐标系中的位置偏移。 角色控制器内置了多种实用功能来处理常见的角色移...

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

165. 为什么会出现报错 ani not found:ufo1_down [ 35%]

...量 this.hps = [1,4,10]; // 敌机速度 this.speeds = [3,2,1]; // 敌机半径 this.radius = [15,30,70]; // 初始化引擎,设置舞台大小 Laya.init(400,852); // 创建循环滚动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集...

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

166. 2D网格渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 34%]

...htReceive = true; } /** * 生成一个圆形2D网格 * @param radius 圆的半径 * @param numSegments 圆被分割的段数,段数越多圆越平滑 */ private generateCircleVerticesAndUV(radius: number, numSegments: number): Laya.Mesh2D { // 2π const twoPi = Math.PI * 2; // 顶点数组 let ver...

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

167. 为什么会出现报错 ani not found:ufo1_down [ 34%]

...量 this.hps = [1,4,10]; // 敌机速度 this.speeds = [3,2,1]; // 敌机半径 this.radius = [15,30,70]; // 初始化引擎,设置舞台大小 Laya.init(400,852); // 创建循环滚动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集...

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

168. laya.d3.physics.Rigidbody3D_API3.0 [ 33%]

...ysicsComponent.ts:259 获取用于进入连续碰撞检测(CCD)范围的球半径。 Returns number Inherited from PhysicsTriggerComponent.ccdSweptSphereRadius Defined in laya/d3/physics/PhysicsComponent.ts:263 获取用于进入连续碰撞检测(CCD)范围的球半径。 Parameters value: number R...

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

169. 3D基础显示对象 · LayaAir3.3 · 引擎文档 · LAYABOX [ 33%]

...下API是如何创建网格的: /** * 创建Box网格。 * @param long 半径 * @param height 垂直层数 * @param width 水平层数 * @return */ static createBox(long: number = 1, height: number = 1, width: number = 1): Mesh 可以看到,通过 createBox 方法,可以创建Box网格,而...

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

170. 3D概念入门 · LayaAir3.3 · 引擎文档 · LAYABOX [ 33%]

...火、家用电灯等发光的方式,这种光拥有照射范围和衰减半径。光照范围之外的地方则处于无光的黑暗之中。 (图6-2) 聚光(SpotLight)与点光类似,都属于位置光,也是位于3D空间的某个位置,也有照射范围和衰减半径,但是...

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