大约有 291 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
...Material.getTexture Defined in laya/d3/core/material/Material.ts:927 获得纹理 Parameters name: string 属性名称 Returns BaseTexture getTextureByIndex getTextureByIndex(uniformIndex: number): BaseTexture Inherited from Material.getTextureByIndex Defined in laya/d3/core/material/Material.ts:908...
来源: Laya3.0_api 发布时间: 20231115
...ters slotName:String — 插糟的名字 texture:Texture — 自定义的纹理 showSkinByIndex()method public function showSkinByIndex(skinIndex:int, freshSlotIndex:Boolean = true):void 通过索引显示一套皮肤 Parameters skinIndex:int — 皮肤索引 freshSlotIndex:Boolean (default = ...
来源: Laya2.0_api 发布时间: 20190513
...例如:#ffffff,也可以点击输入条右侧的拾色器选取颜色 纹理 skin 设置皮肤,选择对应的图像资源即可。代码中表示皮肤的地址,以字符串表示 九宫格 sizeGrid 背景图的有效缩放网格数据。数据格式:"上边距,右边距,下边距,...
来源: Laya3.0_文档 发布时间: 20251010
...出来 (function(){ /** * 地板类 */ function Floor(){ //背景贴图纹理 this.bgTexture = null; //最大右边距离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; //当前地板上面...
来源: Laya_社区 发布时间: 20160803
...生图、图生图 AI生成图片可以用于生成游戏背景图、贴图纹理、2D角色、UI等。有些需求,可以直接生成使用,有些则需要美术二次处理(也可以提升效率)。 除了自带生成图片的通用大模型外,Midjourney、Stable Diffusion、即梦AI、...
来源: Laya3.0_文档 发布时间: 20260206
...boolean Defined in laya/d3/core/Camera.ts:370 是否缓存上一帧的Depth纹理 _cacheDepthTexture _cacheDepthTexture: RenderTexture Defined in laya/d3/core/Camera.ts:372 cache 上一帧纹理 Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _forward...
来源: Laya3.0_api 发布时间: 20231115
...heDepth Defined in laya/d3/core/Camera.ts:370 是否缓存上一帧的Depth纹理 _cacheDepthTexture _cacheDepthTexture: RenderTexture Inherited from Camera._cacheDepthTexture Defined in laya/d3/core/Camera.ts:372 cache 上一帧纹理 Optional _extra _extra: INodeExtra Inherited from Node._extra De...
来源: Laya3.0_api 发布时间: 20231115
...4(0,0,0,0)); //将传入的Render渲染到纹理上 for(var i = 0,n = renders.length;i<n;i++){ if(renders == null){ this.RemoveCommandBuffer_Outline(); r...
来源: Laya_社区 发布时间: 20210203
...代码 (function(){ /** * 地板类 */ function Floor(){ //背景贴图纹理 this.bgTexture = null; //最大右边距离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; Floor.__super.call(t...
来源: Laya_社区 发布时间: 20160801
...enu Globals "laya/resource/Texture" Texture Class Texture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors constructor Properties _id _sizeGrid _stateNum destroyedImmediately lock name offsetX offsetY sourceHeight sourceWidth url uuid DEBUG Accessors bitmap cpuMemory...
来源: Laya3.0_api 发布时间: 20231115