大约有 1,163 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0045 秒)
Laya3.0_api(314) Laya_社区(299) Laya2.0_api(226) laya_api(174) Laya2.0_文档(113) Laya3.0_文档(34) Laya2.0_示例(3)
...ds Show Inherited Public Methods MethodDefined By BlinnPhongMaterial() 创建一个 BlinnPhongMaterial 实例。 BlinnPhongMaterial _addReference(count:int = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMater...
来源: Laya2.0_api 发布时间: 20190513
...ngs = Laya.loader.getRes(partPath); const Particle2D = Laya.Particle2D; // 创建 Particle2D 实例 let partIns = new Particle2D(settings); Laya.stage.addChild(partIns); // 开始发射粒子 partIns.emitter.start(); // 播放 partIns.play(); partIns.x = Laya.stage.width / 2; partIns.y = Laya.stage....
来源: Laya2.0_示例 发布时间: 20251209
...ngs = Laya.loader.getRes(partPath); const Particle2D = Laya.Particle2D; // 创建 Particle2D 实例 let partIns = new Particle2D(settings); Laya.stage.addChild(partIns); // 开始发射粒子 partIns.emitter.start(); // 播放 partIns.play(); partIns.x = Laya.stage.width / 2; partIns.y = Laya.stage....
来源: Laya2.0_示例 发布时间: 20251209
...ore/render/BloomEffect" BloomEffect Class BloomEffect BloomEffect 类用于创建泛光效果。 Hierarchy PostProcessEffect BloomEffect Index Constructors constructor Properties clamp color dirtTexture fastMode Accessors active anamorphicRatio diffusion dirtIntensity intensity softKnee threshold Me...
来源: Laya3.0_api 发布时间: 20231102
...属性中的**sharedMesh** 就是模型的网格,可以对它进行重新创建更换及销毁。 在下面示例中,我们给按钮加了添加了个点击事件。每次点击index值自加,然后根据index值修改从场景ls中获取到的模型网格。 ```typescript //新建四个mesh v...
来源: Laya2.0_文档 发布时间: 20210714
...: DrawType): GeometryElement Defined in laya/d3/core/GeometryElement.ts:89 创建一个 GeometryElement 实例。 Parameters mode: MeshTopology drawType: DrawType Returns GeometryElement Properties _geometryElementOBj _geometryElementOBj: IRenderGeometryElement Defined in laya/d3/core/GeometryElemen...
来源: Laya3.0_api 发布时间: 20231115
...ited from Component.constructor Defined in laya/components/Component.ts:44 创建一个新的 Component 实例。 Returns EffectBase Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean =...
来源: Laya3.0_api 发布时间: 20231115
...ns, true); spi.texture = spi1.texture = spi2.texture = this.tempTexture; //创建模糊滤镜实例 var blurFilter = new Laya.BlurFilter(); //设置模糊强度 blurFilter.strength = 10; spi.filters = spi1.filters = spi2.filters = [blurFilter]; this.owner.parent.addChild(spi); this.owner.parent.addC...
来源: Laya_社区 发布时间: 20191230
...的容器。 在LayaAir 3.0编辑器中,我们可以通过鼠标右键来创建一个Sprite3D,如动图1-1所示 (动图1-1) 创建好的Sprite3D,在编辑器场景中,Scene3D下会是一个空节点,如图1-2所示 (图1-2) 基本上我们创建一个Sprite3D空节点的最重要...
来源: Laya3.0_文档 发布时间: 20251010
...ited from Component.constructor Defined in laya/components/Component.ts:44 创建一个新的 Component 实例。 Returns FadeOut Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean = tr...
来源: Laya3.0_api 发布时间: 20231115