大约有 12,230 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0207 秒)
Laya_社区(11222) Laya2.0_文档(486) Laya3.0_文档(213) Laya3.0_api(188) Laya2.0_api(44) laya_api(44) Laya_示例(18) Laya2.0_示例(15)
...xture(shaderIndex:int):BaseTexture 获取纹理。 BaseMaterial _getVector2(shaderIndex:int):* 获取二维向量。 BaseMaterial _removeDisablePublicShaderDefine(value:int):void 移除禁用宏定义。 BaseMaterial _removeShaderDefine(value:int):void 移除Shader宏定义。 BaseMaterial _setB...
来源: laya_api 发布时间: 20170929
...运行呢?打开谷歌浏览器,随便打开你一个空白网页,F12,把上面的代码粘贴到控制台,然后回车,就看到上面截图的效果。或者新建个html把代码粘贴进去,用浏览器打开。是不是很简单。然后我们可以任意修改显示的文字。...
来源: Laya2.0_文档 发布时间: 20210715
...额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减少drawcall数,性能中等。优...
来源: laya_api 发布时间: 20170929
...erDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByInd...
来源: Laya3.0_api 发布时间: 20231115
...(shaderValue:Array):void 按数组的定义提交 Shader3D uploadTexture2D(value:*):voidShader3DProtected Methods MethodDefined By _preGetParams(vs:String, ps:String):ObjectShader3D detoryResource():void[override] Shader3D recreateResource():void[override] Shader3DPublic Constants Con...
来源: laya_api 发布时间: 20170929
# SubShader介绍 ###### *version :2.7.0beta Update:2020-6-9* **SubShader 子着色器**可以理解为Shader的渲染方案。每个Shader至少1个subShader,可以有多个subShader。 **在LayaAir3D中的SubShader属性介绍:** - 1.构造函数,需要两个参数,一个是attributeMa...
来源: Laya2.0_文档 发布时间: 20210714
...= false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的...
来源: Laya3.0_api 发布时间: 20231115
...rite.loadImage("resource/ui/bg.png");//加载并显示图片。 sprite.x = 200;//设置 sprite 对象相对于父容器的水平方向坐标值。 sprite.y = 200;//设置 sprite 对象相对于父容器的垂直方向坐标值。 sprite.pivotX = 0;//设置 sprite 对象的水平方法轴心点坐标...
来源: Laya3.0_api 发布时间: 20231115
# SubShader介绍 ###### *version :2.7.0beta Update:2020-6-9* **SubShader 子着色器**可以理解为Shader的渲染方案。每个Shader至少1个subShader,可以有多个subShader。 **在LayaAir3D中的SubShader属性介绍:** - 1.构造函数,需要两个参数,一个是attributeMa...
来源: Laya2.0_文档 发布时间: 20210715
...额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减少drawcall数,性能中等。优...
来源: Laya2.0_api 发布时间: 20190513