大约有 257 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
Laya_社区(87) Laya3.0_api(79) laya_api(30) Laya2.0_api(29) Laya3.0_文档(15) Laya2.0_文档(13) Laya_示例(4)
...Bool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getV...
来源: Laya3.0_api 发布时间: 20231115
...: Boolean 是否使用重复模式纹理寻址 BaseTexture simLodInfo : Float32ArrayDataTexture2D simLodRect : Uint32Array[static] DataTexture2D size : Size[read-only] 获取尺寸。 BaseTexture source : *[read-only] 获取纹理资源。 BaseTexture src : String[read-only] 获取文件...
来源: laya_api 发布时间: 20170929
...Bool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getV...
来源: Laya3.0_api 发布时间: 20231115
..._Normal; }`; let simpleShaderFS = ` #ifdef FSHIGHPRECISION precision highp float; #else precision mediump float; #endif varying vec3 v_Normal; void main() { gl_FragColor=vec4(v_Normal,1.0); }`; ``` #### 2.代码中组成Shader 在代码中**"组装"** Shader,本段代码添加在 Main.ts 。 > 初...
来源: Laya2.0_文档 发布时间: 20210715
...text.setVertexBufferAt(loc1, mVertexBuffer, 0, Context3DVertexBufferFormat.FLOAT_2); //[IF-JS]} //[IF-JS]loc2=pro.getAttributeLocation("a_color"); //[IF-JS]if(loc2 != null){ //[IF-JS] context.setVertexBufferAt(loc2, mVertexBuffer, VertexData.COLOR_OFFSET, Context3DVertexBufferFormat.FLOAT_4);3.Stage...
来源: Laya_社区 发布时间: 20151221
...Bool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getV...
来源: Laya3.0_api 发布时间: 20231115
...number, m41?: number, m42?: number, m43?: number, m44?: number, elements?: Float32Array): Matrix4x4 Defined in laya/maths/Matrix4x4.ts:402 创建一个 Matrix4x4 实例。 Parameters Default value m11: number = 1 Default value m12: number = 0 Default value m13: number = 0 Default value m14: number =...
来源: Laya3.0_api 发布时间: 20231115
...Bool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getV...
来源: Laya3.0_api 发布时间: 20231115
...mpleShader.fs` 代码如下: ```c++ #ifdef FSHIGHPRECISION precision highp float; #else precision mediump float; #endif varying vec3 v_Normal; void main() { gl_FragColor=vec4(v_Normal,1.0); } ``` #### 2.代码中组成Shader 在代码中**"组装"** Shader,本段代码添加在 Main.ts 。 > 通...
来源: Laya2.0_文档 发布时间: 20210715
...Bool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getV...
来源: Laya3.0_api 发布时间: 20231115