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

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

581. 关联shader的uniform(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 37%]

...y.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/diffuse.png", Laya.Handler.create(this, function(texture) ...

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

582. laya.ui.ColorPicker_API3.0 [ 36%]

...的列表,用户可以从中选择颜色。 example 以下示例代码,创建了一个 ColorPicker 实例。 package { import laya.ui.ColorPicker; import laya.utils.Handler; public class ColorPicker_Example { public function ColorPicker_Example() { Laya.init(640, 800);//设置游戏画布宽高...

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

583. 关联shader的uniform(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 36%]

...y.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/diffuse.png", Laya.Handler.create(this, function(texture) ...

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

584. 一篇了解所有的LayaAir文本组件(TypeScript-LayaAir基础篇(TS)-文本) [ 36%]

...向大图合集进行文本图集的提交,占满大图集后,又需要创建一个新的图集继续提交,而不用的旧图集,如果没达到GC条件,也会一直存在,所以如果此次查看内存占用统计信息,就可以看到会一直在涨内存,直到GC条件达到之...

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

585. laya.ani.bone.Skeleton [ 35%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

来源: laya_api 发布时间: 20170929

586. laya.d3.core.particleShuriKen.ShurikenParticleSystem [ 35%]

...mplements IRenderable, laya.d3.core.IClone ShurikenParticleSystem 类用于创建3D粒子数据模板。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  aliveParticleCount : int[read-only] 粒子存活个数。 ShurikenParticleSystem  auto...

来源: laya_api 发布时间: 20170929

587. laya.ani.bone.Skeleton [ 35%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

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

588. laya.resource.Texture_API3.0 [ 35%]

...e Overrides Resource.__constructor Defined in laya/resource/Texture.ts:228 创建一个 Texture 实例。 Parameters Default value source: Texture | BaseTexture = null Default value uv: ArrayLike<number> = null UV 数据信息。 Default value sourceWidth: number = 0 Default value sourceHeight...

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

589. laya.display.FrameAnimation [ 34%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

来源: laya_api 发布时间: 20170929

590. laya.ani.AnimationPlayer_API3.0 [ 34%]

...mationPlayer(): AnimationPlayer Defined in laya/ani/AnimationPlayer.ts:268 创建一个 AnimationPlayer 实例。 Returns AnimationPlayer Properties isCache isCache: boolean = true Defined in laya/ani/AnimationPlayer.ts:65 是否缓存 playbackRate playbackRate: number = 1 Defined in laya/ani/Animat...

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