大约有 2,264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)
Laya_社区(1811) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(31) Laya2.0_示例(15)
...bXRCamera Index Constructors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHier...
来源: Laya3.0_api 发布时间: 20231115
...new Laya.loader.getRes(url); var ape = new Laya.Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200,0); } ``` 第三种我们直接创建一个纹理来显示: ```javascript function completeHandler(data){ //加载完成返回的data是arraybuffer //......这里处理...
来源: Laya2.0_文档 发布时间: 20210715
...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_示例 发布时间: 20260303
...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
...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
...在LayaAir中效果如图6-3所示。 (图6-3) 6.2 深度贴图 Depth Texture Mode:深度贴图模式。 None:不生成深度贴图。 Depth:生成深度贴图。 这个模式让摄像机生成的深度纹理只携带深度信息。深度纹理中包含了每一个像素点相对于摄像...
来源: Laya3.0_文档 发布时间: 20251010
...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
...并在 MeshRenderer 组件中指定新创建的材质,来设置 albedo Texture 纹理 ,如动图2-7所示, (动图2-7) 三、代码创建与使用 通过代码来创建和使用3D基础对象,也是我们了解和熟悉LayaAir引擎的过程 3.1 代码创建 3.1.1 PrimitiveMesh 类用于...
来源: Laya3.0_文档 发布时间: 20251010
...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
... 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