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

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

2511. 自定义shader-简单shader [ 33%]

...a.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; import laya.d3.resource.models.CapsuleMesh; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SphereMesh; import laya.d3.shader.Shader3D; import laya.d3.shader.ShaderCompile3D; import laya.display...

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

2512. LayaAir引擎工具会员专属功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 33%]

...oad("res/atlas/comp.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("comp/comp.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage.addChild(sp); })); Laya.loader.load("res/atlas/test.atlas", Handler.create(this, function():void { var img:...

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

2513. laya.d3.core.material.BlinnPhongMaterial_API3.0 [ 33%]

...RANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE SPECULARSOURCE_DIFFUSEMAPALPHA SPECULARSOURCE_SPECULARMAP defaultMaterial Accessors MaterialDefine MaterialProperty _defineDatas albedoColor albedoIntensity albedoTexture alphaTest alphaTestValue backDiffuse backScale...

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

2514. laya.resource.Resource_API3.0 [ 33%]

...esource Resource 资源存取类。 Hierarchy EventDispatcher Resource BaseTexture BaseShader TextTexture HTMLCanvas BitmapFont Prefab Material Mesh Texture AtlasResource AnimationClip AnimatorController AnimationClip2D AnimatorController2D TextResource AnimationTemplet ParticleTemplate2D SpineTempl...

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

2515. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 33%]

...在LayaAir中效果如图6-3所示。 (图6-3) 6.2 深度贴图 Depth Texture Mode:深度贴图模式。 None:不生成深度贴图。 Depth:生成深度贴图。 这个模式让摄像机生成的深度纹理只携带深度信息。深度纹理中包含了每一个像素点相对于摄像...

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

2516. 项目资源面板 · LayaAir3.3 · 引擎文档 · LAYABOX [ 32%]

...-7所示 (图1-7) 默认值:默认情况下,图片作为3D模型的Texture贴图文件,只能用在材质球上。 精灵纹理:图片作为2D的Sprite对象的图片纹理格式,通常在2D开发中使用。此属性在图片资源按照官方的命名规则去命名的时候自动为...

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

2517. 3D基础显示对象 · LayaAir3.3 · 引擎文档 · LAYABOX [ 32%]

...并在 MeshRenderer 组件中指定新创建的材质,来设置 albedo Texture 纹理 ,如动图2-7所示, (动图2-7) 三、代码创建与使用 通过代码来创建和使用3D基础对象,也是我们了解和熟悉LayaAir引擎的过程 3.1 代码创建 3.1.1 PrimitiveMesh 类用于...

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

2518. laya.media.VideoTexture_API3.0 [ 32%]

...tected All Inherited Externals Only exported Menu Globals "laya/media/VideoTexture" VideoTexture Class VideoTexture VideoTexture 多媒体纹理 Hierarchy BaseTexture VideoTexture Index Constructors constructor Properties _id _isLoaded _needUpdate destroyedImmediately element lock name url uuid DEBU...

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

2519. Laya中Button等组件lose skin的问题 [ 29%]

...     var clips=WeakObject.I.get(key);         if (!Utils.isOkTextureList(clips)){             clips=null;         }         if (clips)this._sources=clips;         else {             this._sources=;             if (this._stateNu...

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

2520. 3D场景编辑基础交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 28%]

...ed 摄像机的位移速度 Post Process 勾选后,开启后处理 Depth Texture 勾选后,开启深度纹理 1.9.2 Gizmos 参数 作用 3D Icons 设置场景中摄像机图标的大小 Show Grid 勾选后,场景中将显示水平面的网格线 Selection Outline 勾选后,选中的模型将...

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