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

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

3251. laya.display.Stage [ 24%]

...:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite  mouseX : Number[override] [read-only] 鼠标在 Stage 上的 X 轴坐标。Stage  mouseY : Number[override] [read-only] 鼠标在 Stage 上的 Y 轴坐标。Stage name ...

来源: laya_api 发布时间: 20170929

3252. 3D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 24%]

...Position(positionRanvge: number): Laya.Vector3 { let getRangeRandom = () => { return (Math.random() - 0.5) * positionRanvge; } return new Laya.Vector3(getRangeRandom(), 0.3, getRangeRandom()); } } shader代码如下: Shader3D Start { type:Shader3D name:PBRColorBatchShader enableInstancing:true,...

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

3253. laya.d3.core.Camera [ 24%]

... Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>):void 通过指定类型获得所有组件。 Sprite3D getProjectionViewWorldMatrix(projectionViewMatrix:Matrix4x4):Matrix4x4 获取投影视图世界矩阵。 Sprite3D hasListener(type:String):Boolean 检查 EventDispatc...

来源: laya_api 发布时间: 20170929

3254. laya.d3.core.BaseCamera [ 23%]

... Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>):void 通过指定类型获得所有组件。 Sprite3D getProjectionViewWorldMatrix(projectionViewMatrix:Matrix4x4):Matrix4x4 获取投影视图世界矩阵。 Sprite3D hasListener(type:String):Boolean 检查 EventDispatc...

来源: laya_api 发布时间: 20170929

3255. laya.d3.core.VRCamera [ 23%]

... Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>):void 通过指定类型获得所有组件。 Sprite3D getProjectionViewWorldMatrix(projectionViewMatrix:Matrix4x4):Matrix4x4 获取投影视图世界矩阵。 Sprite3D hasListener(type:String):Boolean 检查 EventDispatc...

来源: laya_api 发布时间: 20170929

3256. laya.resource.NativeContext_API3.0 [ 23%]

...rWords fillRect fillText fillWords fillWords11 filltext11 flush getAlignLength popRT pushRT restore restoreTransform save saveTransform scale setColorFilter size strokeWord transform transformByMatrix translate useRT wab __init__ set2DRenderConfig Constructors constructor new NativeContext(): Native...

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

3257. 3D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 23%]

...积(Nav Mesh Modifier Volume)三、多代理场景寻路3D寻路 Version >= LayaAir 3.2 一、简介 在游戏开发中,3D寻路是一个关键的功能,特别是在需要模拟角色或物体在三维空间内自动导航和移动的游戏中。3D寻路使得游戏内的角色能够智能地...

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

3258. laya.display.Stage [ 23%]

...:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite  mouseX : Number[override] [read-only] 鼠标在 Stage 上的 X 轴坐标。Stage  mouseY : Number[override] [read-only] 鼠标在 Stage 上的 Y 轴坐标。Stage name ...

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

3259. 3D场景环境设置 · LayaAir3.3 · 引擎文档 · LAYABOX [ 23%]

...s, this.onLoaded), Laya.Handler.create(this, this.onLoading)).then( (res)=>{ let scene = res.create(); //scene.scene3D 可以获得Scene3D资源 Laya.stage.addChild(scene.scene3D); }); Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:58 img{c...

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

3260. 3D刚体 · LayaAir3.3 · 引擎文档 · LAYABOX [ 22%]

...ctor3、关联文档《3D物理系统》3D刚体 Author : Charley Version >= LayaAir 3.2 我们知道,所有有形体的物质在自然界中都可以被称为物体。 刚体是力学中的一个抽象概念,用来描述物体的特性。它是一种理想化的力学模型,指的是在受...

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