大约有 257 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
Laya_社区(87) Laya3.0_api(79) laya_api(30) Laya2.0_api(29) Laya3.0_文档(15) Laya2.0_文档(13) Laya_示例(4)
...染的时候normalizedAge是负值 所以第一帧是序列图最后一顿 float age = max(u_CurrentTime - a_DirectionTime.w,0.0); 修改完显示正常 2023-10-26 1 0 分享 微博 QZONE 微信 1691649114用户 赞同来自: 是不是我图片超了一直不给发 2023-08-10 0 0 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20230810
... 设置布尔。 BaseRender _setShaderValueBuffer(shaderIndex:int, buffer:Float32Array):void 设置Buffer。 BaseRender _setShaderValueColor(shaderIndex:int, color:*):void 设置颜色。 BaseRender _setShaderValueInt(shaderIndex:int, i:int):void 设置整型。 BaseRender _setShaderValueNumber(...
来源: laya_api 发布时间: 20170929
... height: 100px; width: 100px; float: left; } .black { background: black; } </style> </head> <body> <div id="main"> <div id="container"> ...
来源: Laya_社区 发布时间: 20181018
...abled; // 选项组是否可用 bool myBool = true; // 复选框状态 float myFloat = 2.33f; // 滑动条的值 [MenuItem("Extend Windows/MyWindow")] public static void ShowWindow() { // 显示某个编辑器窗口。传参即是要显示的窗口类型(类名) EditorWindow.GetWindow(ty...
来源: Laya_社区 发布时间: 20171102
...aged XR session Returns any supportedFrameRates get supportedFrameRates(): Float32Array | undefined Defined in laya/d3/WebXR/core/WebXRSessionManager.ts:239 A list of supported frame rates (only available in-session! Returns Float32Array | undefined Methods destroy destroy(): void Defined in laya/d3...
来源: Laya3.0_api 发布时间: 20231115
...vertexDeclaration=VertexPositionNormalTexture.vertexDeclaration; var vertexFloatStride=vertexDeclaration.vertexStride / 4; var vertices=new Float32Array(this._numberVertices *vertexFloatStride); var indices=new Uint16Array(this._numberIndices); var sliceAngle=(Math.PI *2.0)/ this._slices; var halfHe...
来源: Laya_社区 发布时间: 20180113
...带符号的字节。 返回值的范围是从 -128 到 127。 Byte readFloat32():Number 从字节流的当前字节偏移位置处读取一个 IEEE 754 单精度(32 位)浮点数。 Byte readFloat32Array(start:int, len:int):* 从字节流中 start 参数指定的位置开始,读取 len ...
来源: Laya2.0_api 发布时间: 20190513
...有朋友提供下解决方法 Uncaught RangeError: Source is too large at Float32Array.set (native) at DynamicBatch.__proto._getRenderElement (file:///D:/Projects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:5989:23) at DynamicBatch.__proto._addToRenderQueue (file:///D:/Projects_D/LayaPr...
来源: Laya_社区 发布时间: 20170626
...ition = u_MvpMatrix * a_Position; \n " + "};"; var ps = "precision mediump float; \n" + "uniform vec4 u_StartColor; \n" + "uniform vec4 u_EndColor; \n" + "void main() { \n" + "gl_FragColor = mix(u_StartColor, u_EndColor, 1);\n" + "};"; this._setColor(Laya.VertexElementUsage.STARTCOLOR0,new Laya.Vect...
来源: Laya_社区 发布时间: 20180316
...• 2017-07-01 17:19 就是说加载回调函数中他会自己返回一个float值得进度对吗?是值一旦改变立马就回调的吗? cuixueying • 2017-07-01 18:48 对,function onProgress(pro)这个pro是函数自己返回的值,资源一旦加载,没加载完一个文件,就会...
来源: Laya_社区 发布时间: 20170701