大约有 692 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0063 秒)
Laya_社区(271) Laya2.0_文档(145) Laya3.0_api(106) Laya3.0_文档(74) laya_api(50) Laya2.0_api(42) Laya_示例(2) Laya2.0_示例(2)
...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
...的列表,用户可以从中选择颜色。 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
...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
...向大图合集进行文本图集的提交,占满大图集后,又需要创建一个新的图集继续提交,而不用的旧图集,如果没达到GC条件,也会一直存在,所以如果此次查看内存占用统计信息,就可以看到会一直在涨内存,直到GC条件达到之...
来源: Laya2.0_文档 发布时间: 20210715
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: laya_api 发布时间: 20170929
...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
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
...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
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: laya_api 发布时间: 20170929
...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