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

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

391. laya.filters.GlowFilter_API3.0 [ 55%]

...发光滤镜(也可以当成阴影滤使用) Hierarchy Filter GlowFilter Implements IFilter Index Constructors constructor Methods getBlurInfo1Native getBlurInfo2Native getColorNative _filter Constructors constructor new GlowFilter(color: string, blur?: number, offX?: number, offY?: number): GlowF...

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

392. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 55%]

...构建的资源。 @IEditorEnv.regBuildPlugin("web") class MyBuildPlugin implements IEditorEnv.IBuildPlugin { async onCollectAssets(task : IEditorEnv.IBuildTask, assets: Set<IAssetInfo>) { let myAsset = ... assets.add(myAsset); //在发布插件里,需要使用task.logger输出日志 task.lo...

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

393. laya.media.Sound [ 55%]

...ty Detaildurationpropertyduration:Number  [read-only] 获取总时间。 Implementation     public function get duration():NumberMethod Detaildispose()method public function dispose():void 释放声音资源。 load()method  public function load(url:String):void 加载声音。 Parameters url...

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

394. laya.d3.core.particleshuriken.module.GradientDataVector2_API3.0 [ 54%]

...Vector2 类用于创建二维向量渐变。 Hierarchy GradientDataVector2 Implements IClone Index Constructors constructor Accessors gradientCount Methods add clone cloneTo Constructors constructor new GradientDataVector2(): GradientDataVector2 Defined in laya/d3/core/particleShuriKen/module/Gradie...

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

395. [LayaAir3]LayaAir3.1.4中使用Spine3.8的动画资源显示异常 [ 54%]

...是精灵纹理 @IEditorEnv.regAssetProcessor() export class ImageLoader implements IEditorEnv.IAssetProcessor {     onPreprocessImage(aassetImporter: IEditorEnv.IImageAssetImporter): void | Promise<void> {          if (aassetImporter.settings.textureType != 2) {             aasse...

来源: Laya_社区 发布时间: 20240620

396. laya.d3.core.particleshuriken.module.Burst_API3.0 [ 54%]

... Burst Class Burst Burst 类用于粒子的爆裂描述。 Hierarchy Burst Implements IClone Index Constructors constructor Accessors maxCount minCount time Methods clone cloneTo Constructors constructor new Burst(time?: number, minCount?: number, maxCount?: number): Burst Defined in laya/d3/core/pa...

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

397. laya.d3.math.Native.ConchVector3 [ 54%]

....d3.math.NativeClasspublic class ConchVector3InheritanceConchVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties PropertyDefined By  elements : Float32Array[只读]向量元素集合。ConchVector3  x : Number 获取X轴坐标。 ConchVector3 ...

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

398. laya.d3.component.Script [ 54%]

...gleton:Boolean  [read-only] [override] 获取是否为单实例组件。 Implementation     public function get isSingleton():BooleanConstructor DetailScript()Constructorpublic function Script() 创建一个新的 Script 实例。 Fri Sep 29 2017, 06:34 PM +08:00

来源: laya_api 发布时间: 20170929

399. laya.d3.core.particleShuriKen.ShurikenParticleMaterial [ 54%]

...ldiffuseTexturepropertydiffuseTexture:BaseTexture 获取漫反射贴图。 Implementation     public function get diffuseTexture():BaseTexture    public function set diffuseTexture(value:BaseTexture):voidrenderModeproperty renderMode:int  [write-only] 设置渲染模式。 Implementation ...

来源: laya_api 发布时间: 20170929

400. 如何自定义一个类实现类似List的功能的Grid [ 54%]

...List的功能的Grid,下面是List的官方代码 class List extends Box implements IRender, IItem { /**改变 <code>List</code> 的选择项时执行的处理器,(默认返回参数: 项索引(index:number))。*/ selectHandler: Handler; /**单元格渲染处理器(默认返回...

来源: Laya_社区 发布时间: 20180801