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

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

2311. 字体切片组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...lass NewScript extends Laya.Script { @property( { type : Laya.FontClip } ) public fontclp: Laya.FontClip; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.fontclp.pos(Laya.stage.width >> 1, ...

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

2312. laya.display.Graphics_API3.0 [ 38%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/Graphics" Graphics Class Graphics Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,...

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

2313. laya.d3.resource.TextureCube_API3.0 [ 38%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/TextureCube" TextureCube Class TextureCube TextureCube 类用于生成立方体纹理。 Hierarchy BaseTexture TextureCube Index Con...

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

2314. CPU优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 37%]

...vate function setPosition(value):void { this.position = value; update(); } public function update() { console.log('rotation: ' + this.rotation + '\tscale: ' + this.scale + '\tposition: ' + this.position); } ``` 调用以下代码更改状态: ``` setRotation(90); setScale(2); setPosition(30); ``` ...

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

2315. laya.d3.component.volume.batchvolume.BatchRender_API3.0 [ 37%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Volume/BatchVolume/BatchRender" BatchRender Class BatchRender 类用来描述合批的渲染节点 Hierarchy BaseRender BatchRender...

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

2316. laya.resource.TextureCube_API3.0 [ 37%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/TextureCube" TextureCube Class TextureCube TextureCube 类用于生成立方体纹理。 Hierarchy BaseTexture TextureCube Index Constr...

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

2317. laya.d3.core.trail.TrailRenderer_API3.0 [ 37%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/trail/TrailRenderer" TrailRenderer Class TrailRenderer TrailRenderer 类用于创建拖尾渲染器。 Hierarchy BaseRender TrailRendere...

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

2318. laya.d3.core.pixelline.PixelLineRenderer_API3.0 [ 37%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/pixelLine/PixelLineRenderer" PixelLineRenderer Class PixelLineRenderer PixelLineRenderer 类用于线渲染器。 Hierarchy BaseRender P...

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

2319. laya.resource.Texture2DArray_API3.0 [ 37%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2DArray" Texture2DArray Class Texture2DArray 2D 纹理 数组 Hierarchy BaseTexture Texture2DArray Index Constructors constructo...

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

2320. 自定义shader-地形shader [ 37%]

...is, function (): void { this.setCustomMaterial(scene.getChildAt(2)); }); } public setCustomMaterial(spirit3D: Laya.Sprite3D): void { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D: Laya.MeshSprite3D = spirit3D as Laya.MeshSprite3D; var customMaterial: CustomTerrainMaterial = new Custo...

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