大约有 842 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0059 秒)
Laya_社区(496) Laya3.0_api(111) Laya3.0_文档(70) Laya_示例(45) Laya2.0_api(42) laya_api(39) Laya2.0_文档(30) Laya2.0_示例(9)
...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
...: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
...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
...(): 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
...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
... [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
...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
...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
...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
...tionPlayerInheritanceAnimationPlayer EventDispatcher ObjectImplements laya.resource.IDestroy AnimationPlayer 类用于动画播放器。 Public Properties PropertyDefined By cacheFrameRate : int 获取默认帧率 AnimationPlayer cacheFrameRateInterval : Number[read-only] 获取缓存帧率...
来源: Laya2.0_api 发布时间: 20190513