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

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

1371. 自定义2D Shader · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...对应的VS和FS片段标记。 7.2 顶点着色器 在VS片段中,需要获取顶点信息,并计算最终的顶点位置,代码如下所示: #defineGLSL textureVS #define SHADER_NAME Sprite2DTextureShader #include "Sprite2DVertex.glsl"; void main() { vertexInfo info; getVertexInfo(info); v...

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

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

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

1373. laya.d3.core.material.ExtendTerrainMaterial_API3.0 [ 37%]

...tring 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 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE De...

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

1374. 2D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...减少CPU使用量3.1 减少动态属性查找3.2 性能消耗的回收3.3 获取显示对象边界的做法3.4 根据活动状态改变帧频3.5 使用callLater3.6 图片/图集加载四、其它优化策略4.1 减少粒子的使用数量4.2 尽量减少旋转,缩放,alpha等属性的使用4.3 ...

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

1375. laya.d3.core.particleshuriken.ShurikenParticleMaterial_API3.0 [ 37%]

...tring 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 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE De...

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

1376. laya.d3.component.hlod.HLOD_API3.0 [ 37%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

1377. laya.utils.PerfHUD [ 37%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...

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

1378. laya.display.FrameAnimation [ 37%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...

来源: laya_api 发布时间: 20170929

1379. laya.device.media.Video [ 37%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  buf...

来源: laya_api 发布时间: 20170929

1380. laya.d3.core.particleshuriken.ShurikenParticleRenderer_API3.0 [ 36%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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