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

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

341. 物理系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 34%]

...换比率 pixelRatio 长度单位转换比率 (pixelRatio)用来定义渲染像素(px)与 2D 物理世界长度单位(Box2D 的“米”)之间的换算比例。默认值为 50,含义是:物理世界 1 个长度单位 ≈ 渲染 50 像素。从开发者视角,你在场景里看到...

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

342. laya.d3.core.material.PBRStandardMaterial_API3.0 [ 33%]

...aterial.renderQueue Defined in laya/d3/core/material/Material.ts:100 所属渲染队列. url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资...

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

343. laya.ui.DialogManager_API3.0 [ 31%]

...不经常变化的“复杂内容”缓存为静态图像,能极大提高渲染性能。cacheAs有"none","normal"和"bitmap"三个值可选。 默认为"none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"...

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

344. 缓动-缓动函数演示 [ 31%]

...种开发语言、LayaAirIDE让项目开发更高效。(function() { // 项渲染 var Box = Laya.Box; var Label = Laya.Label; function ListItemRender() { var label = null; ListItemRender.__super.call(this); this.size(100, 20); label = new Label(); label.fontSize = 12; label.color = "#FFFFFF"; thi...

来源: Laya_示例 发布时间: 20260303

345. laya.d3.physicscannon.CannonRigidbody3D_API3.0 [ 30%]

...ed from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): void Inherited from Component.onPreRender Defined in laya/components/Component.ts:302 渲染之前执行 Returns void Optional onReset onReset(): void Inheri...

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

346. laya.net.LoaderManager_API3.0 [ 28%]

...ts:401 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是清理texture里面使用的图片资源,并不销毁texture,再次使用到的时候会自动恢复...

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

347. laya.d3.physics.Rigidbody3D_API3.0 [ 24%]

...ed from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): void Inherited from Component.onPreRender Defined in laya/components/Component.ts:302 渲染之前执行 Returns void Optional onReset onReset(): void Inheri...

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

348. laya.net.Loader_API3.0 [ 21%]

...ts:818 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是清理texture里面使用的图片资源,并不销毁texture,再次使用到的时候会自动恢复...

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

349. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 20%]

... * 手动刷新的目的是,保持层级的宽和高保持最小,加快渲染          */         public updateGridPos(): void {             var tSprite: GridSprite;             for (var i: number = 0; i < this._gridSpriteArray.length; i++) {            ...

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