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

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

331. 3D物理系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...point.y = Laya.stage.mouseY; //计算一个从屏幕空间生成的射线 _camera.viewportPointToRay(point, ray); /* ……省略若干代码 */ 4.3 使用物理射线 在LayaAir 3D中实现射线检测是使用物理模拟器类PhysicsSimulation。 射线检测的方法有4个,分别为射线检...

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

332. laya.d3.core.scene.Scene3D_API3.0 [ 32%]

...ambientMode ambientSH anchorX anchorY blendMode cacheAs components cullInfoCamera cullPass customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize enableFog filters fogColor fogDensity fogEnd fogMode fogRange fogStart globalRotation globalScaleX globalScaleY graphic...

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

333. Unity插件使用说明(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 32%]

...如下图所示。 ![img](img/3.3-2-1.png) > 场景中需要至少有一个Camera,调整好角度位置,在符合LayaAir引擎插件使用规范的情况下,基于LayaAir引擎的预览运行效果将会与Unity运行结果一致,如果不一样,需要检查是否使用了引擎不支持...

来源: Laya2.0_文档 发布时间: 20210714

334. 一篇了解LayaAir的屏幕适配,及有效抗锯齿(TypeScript-LayaAir基础篇(TS)-屏幕适配) [ 31%]

...项目代码里强制HDR效果。示例代码如下: ```typescript this.camera = new Laya.Camera(0, 0.1, 100); this.camera.enableHDR = false; //关闭HDR ``` 关闭HDR后,抗锯齿生效对比效果如图9-2所示。 ![10-2](img/10-2.png) (图10-2) #### 2.4 抗锯齿有效,为什么还有锯...

来源: Laya2.0_文档 发布时间: 20210715

335. laya.d3.core.BaseCamera_API3.0 [ 31%]

...ected All Inherited Externals Only exported Menu Globals "laya/d3/core/BaseCamera" BaseCamera Class BaseCamera BaseCamera 类用于创建摄像机的父类。 Hierarchy Sprite3D BaseCamera Camera Index Constructors constructor Properties _extra _forward _scene _up _url name tag useOcclusionCulling R...

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

336. laya.device.media.Video [ 29%]

...同cacheAs的normal模式。建议优先使用cacheAs代替。 Sprite  CAMERA : int = 4[static] Video  currentSrc : String[read-only] 获取当前播放源路径。 Video  currentTime : Number 设置和获取当前播放头位置。 Video customRenderEnable : Boolean[write-only] 设置是否...

来源: laya_api 发布时间: 20170929

337. laya.device.media.Video [ 25%]

...优点:没有额外内存开销,无需renderTarget支持。 Sprite  CAMERA : int = 4[static] Video  currentSrc : String[read-only] 获取当前播放源路径。 Video  currentTime : Number 设置和获取当前播放头位置。 Video customRenderEnable : Boolean[write-only] 设置是否...

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

338. laya.d3.core.ui3d.UI3D_API3.0 [ 25%]

...ls Only exported Menu Globals "laya/d3/core/UI3D/UI3D" UI3D Class UI3D BaseCamera 类用于创建摄像机的父类。 Hierarchy BaseRender UI3D Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge TempMatrix Acce...

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

339. laya.device.media.Video_API3.0 [ 24%]

...ene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name videoElement CAMERA MP4 OGG SUPPORT_MAYBY SUPPORT_NO SUPPORT_PROBABLY WEBM drawtocanvCtx Accessors active activeInHierarchy alpha blendMode buffered cacheAs components currentSrc currentTime customRenderEnable destroyed displayHeight disp...

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