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

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

781. 组件脚本的内置方法 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...aya.RigidBody).setVelocity({ x: 0, y: -10 }); Laya.SoundManager.playSound("resources/sound/hit.wav"); } else { if (owner.parent) { let effect: Laya.Sprite = Laya.Pool.getItemByCreateFun("effect", this.createEffect, this); owner.parent.addChild(effect);//将爆炸动画添加到父节点中 effect.po...

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

782. laya.ui.AutoBitmap [ 36%]

...:Texture    public function set source(value:Texture):voidSee alsolaya.resource.Texturewidthproperty width:Number 表示显示对象的宽度,以像素为单位。 Implementation     public function get width():Number    public function set width(value:Number):voidMethod Detaildestroy...

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

783. 滤镜-颜色滤镜 [ 36%]

...e; import laya.display.Stage; import laya.filters.ColorFilter; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Filters_Color { private const ApePath:String = "../../../../res/apes/monkey2.png"; private var apeTexture:Texture; ...

来源: Laya_示例 发布时间: 20251209

784. laya.d3.core.render.posteffect.BloomEffect_API3.0 [ 36%]

...(): void Defined in laya/d3/core/render/PostEffect/BloomEffect.ts:69 bloom resource init Returns void Globals "laya/d3/core/render/PostEffect/BloomEffect" BloomEffect constructor active anamorphicRatio clamp color diffusion dirtIntensity dirtTexture fastMode intensity softKnee threshold effectInit g...

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

785. 滤镜-颜色滤镜 [ 36%]

...e; import laya.display.Stage; import laya.filters.ColorFilter; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Filters_Color { private const ApePath:String = "../../res/apes/monkey2.png"; private var apeTexture:Texture; public...

来源: Laya2.0_示例 发布时间: 20251209

786. [0]laya-zip让你的游戏加载速度提升350%!! [ 36%]

... [size=14][code]// Use ZIP when loading files // Note By convention, only resource files in the level-1 directory are loaded Laya.loader.create([{ url: "xx.zip", type:"ZIP"}]) [/size][/code] 如果只需要加载zip包中的部分资源,或者资源路径在多级目录下。可以在constructPara...

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

787. laya.d3.shader.Shader3D [ 36%]

...aya.d3.shaderClasspublic class Shader3DInheritanceShader3D BaseShader laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By activeShader : BaseShader[static] BaseShader  _attributeParams : Array = nullShader3D  _attributePa...

来源: laya_api 发布时间: 20170929

788. laya.d3.core.material.StandardMaterial [ 36%]

...public class StandardMaterialInheritanceStandardMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  albedo : Vector4 设置反射率。 StandardMaterial alphaTest : Boolean 获取是否透明裁...

来源: laya_api 发布时间: 20170929

789. 【简单跑酷--JS版】---Lv.6 终篇 [ 36%]

...ightBg = new laya.display.Sprite(); this.rightBg.graphics.drawTexture(laya.resource.Texture.createFromTexture(this.bgTexture,32*29,0,32,96), 0, 0, 32, 96); this.rightBg.width = 32; this.addChild(this.rightBg); } switch(type){ case 1: this.rightBg.visible = false; this.bg.graphics.drawTexture(this.bg...

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

790. laya.ani.AnimationPlayer [ 35%]

...tionPlayerInheritanceAnimationPlayer EventDispatcher ObjectImplements laya.resource.IDestroy AnimationPlayer 类用于动画播放器。 Public Properties PropertyDefined By  cacheFrameRate : int 获取默认帧率 AnimationPlayer  cacheFrameRateInterval : Number[read-only] 获取缓存帧率...

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