大约有 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
...tAnimationDataWithCache(key:*, cacheDatas:*, aniIndex:int, frameIndex:int):Float32ArrayAnimationTemplet getAniNameByIndex(index:int):String 通过索引得动画名称 Templet getNodeCount(aniIndex:int):intAnimationTemplet getNodeIndexWithName(aniIndex:int, name:String):intAnimationTemplet get...
来源: laya_api 发布时间: 20170929
... Graphics drawTriangles(texture:Texture, x:Number, y:Number, vertices:Float32Array, uvs:Float32Array, indices:Uint16Array, matrix:Matrix = null, alpha:Number = 1, color:String = null, blendMode:String = null):DrawTrianglesCmd 绘制一组三角形 Graphics fillBorderText(text:String, x:Number,...
来源: Laya2.0_api 发布时间: 20190513
...ifdef LIGHTMAP finalDiffuse=texture2D(u_LightMap, v_LightMapUV).rgb*2.0; //float exponent = texture2D(u_LightMap, v_LightMapUV).a; //finalDiffuse = texture2D(u_LightMap, v_LightMapUV).rgb; //float ratio = pow(2.0, exponent * 255.0 - (128.0 + 8.0)); //finalDiffuse = finalDiffuse * 255.0 * ratio; //fi...
来源: Laya_社区 发布时间: 20180223
... var aniClipIndex:int = getAniClipIndex(nameOrIndex); var curOriginalData:Float32Array = new Float32Array(_templet.getTotalkeyframesLength(aniClipIndex)); var interval:Number = 1000.0 / _player.cacheFrameRate; var playTime:Number = _templet.getAniDuration(aniClipIndex); var lenJ:int = playTime / ...
来源: Laya_社区 发布时间: 20190828
...ayabox小高 赞同来自: 原因是因为华为那边不支持OES_texture_float。 2023-06-19 0 3 分享 微博 QZONE 微信 151*****575 赞同来自: 你们可以试一下腾讯的云真机服务,这个问题在麒麟处理器上必现。然后三星处理器也有问题,但这个服务提供...
来源: Laya_社区 发布时间: 20230616
...创建三维向量。 Public Properties PropertyDefined By elements : Float32Array[只读]向量元素集合。ConchVector3 x : Number 获取X轴坐标。 ConchVector3 y : Number 获取Y轴坐标。 ConchVector3 z : Number 获取Z轴坐标。 ConchVector3Public Methods MethodDefined B...
来源: Laya2.0_api 发布时间: 20190513
...gl_Position); }`; var ps:string = ` #ifdef FSHIGHPRECISION precision highp float; #else precision mediump float; #endif uniform sampler2D u_MainTex; uniform vec3 u_MainCol; varying vec3 v_Normal; varying vec2 uv; varying vec4 worldPos; void main() { vec4 col = texture2D(u_MainTex, uv); //gl_FragColo...
来源: Laya_社区 发布时间: 20190814
...于创建4x4矩阵。 Public Properties PropertyDefined By elements : Float32Array矩阵元素数组Matrix4x4Public Methods MethodDefined By Matrix4x4(m11:Number = 1, m12:Number = 0, m13:Number = 0, m14:Number = 0, m21:Number = 0, m22:Number = 1, m23:Number = 0, m24:Number = 0, m31:Number =...
来源: Laya2.0_api 发布时间: 20190513
...置布尔。 BaseRender _setShaderValueBuffer(shaderIndex:int, buffer:Float32Array):void 设置Buffer。 BaseRender _setShaderValueColor(shaderIndex:int, color:*):void 设置颜色。 BaseRender _setShaderValueInt(shaderIndex:int, i:int):void 设置整型。 BaseRender _setShaderValueNum...
来源: laya_api 发布时间: 20170929