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

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

741. laya.d3.core.render.posteffect.BloomEffect_API3.0 [ 37%]

...(): 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

742. 滤镜-颜色滤镜 [ 37%]

...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_示例 发布时间: 20260303

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

... [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

744. 【简单跑酷--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

745. 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

746. 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

747. laya.ani.AnimationPlayer [ 36%]

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

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

748. 灯光-聚光 [ 36%]

...mport laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author ... */ public class SpotLightDemo { private var _quaternion:Quaternion = n...

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

749. 学会编写d.ts声明文件(TypeScript-IDE篇(TS)-代码模式基础) [ 35%]

...声名 //正式使用的时候,应该使用Laya.XXX declare module laya.resource { //在声名的模块里定义枚举类型 enum FilterMode { /**点过滤。*/ Point = 0, /**双线性过滤。*/ Bilinear = 1, /**三线性过滤。*/ Trilinear = 2 } } ``` ##### 2.2.2声名类型: 在最外层,...

来源: Laya2.0_文档 发布时间: 20210715

750. laya.ui.ColorPicker_API3.0 [ 34%]

...age.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var colorPicket:ColorPicker = new ColorPicker();//创建一个 ColorPic...

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