• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 89 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0034 秒)

61. 设置骨骼动画停留在某一帧/某一个时间点 [ 52%]

...aniClipIndex = index;             armature._curOriginalData = new Float32Array(armature._templet.getTotalkeyframesLength(index));         }         let graphics = armature._getGrahicsDataWithCache(index, frame);         graphics ? armature.graphics = graphics : armature._c...

来源: Laya_社区 发布时间: 20181115

62. Laya_API3.0 [ 51%]

...nder enableDebugPanel init _isinit _onInitModuleCallbacks arrayBufferSlice float32ArraySlice uint16ArraySlice uint8ArraySlice Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115

63. laya.d3.resource.RenderTexture_API3.0 [ 50%]

... number, yOffset: number, width: number, height: number, out: Uint8Array | Float32Array): Uint8Array | Float32Array Defined in laya/d3/resource/RenderTexture.ts:229 Parameters xOffset: number yOffset: number width: number height: number out: Uint8Array | Float32Array Returns Uint8Array | Float32Arra...

来源: Laya3.0_api 发布时间: 20231102

64. 请教下, 自己写了个渐变色shader, 但是效果始终不对。麻烦大神们看看代码哪里有问题 [ 50%]

...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

65. laya.d3.resource.RenderTextureCube_API3.0 [ 50%]

... number, yOffset: number, width: number, height: number, out: Uint8Array | Float32Array): Uint8Array | Float32Array Inherited from RenderTextureCube.getData Defined in laya/d3/resource/RenderTexture.ts:229 Parameters xOffset: number yOffset: number width: number height: number out: Uint8Array | Floa...

来源: Laya3.0_api 发布时间: 20231102

66. AS翻译成JS的时候能不能自动进行类型转换啊?不然每个地方都要手动在AS进行手动添加强制转换 [ 49%]

...,还有不同类型直接的赋值。 比如用int类型变量去接收float类型的值 Monica • 2017-10-26 12:02 @momo199059:跟你确认个问题,你说的这个是在LayaAir里边的还是LayaFlash里边的呢? momo199059 • 2017-10-26 15:16 @Monica:LayaAir momo199059 • 2017-10-26 18:...

来源: Laya_社区 发布时间: 20171025

67. 让 CylinderMesh 支持椎体 [ 48%]

...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

68. laya.d3.graphics.IndexBuffer3D_API3.0 [ 48%]

... = false 是否可读。 Returns IndexBuffer3D Properties _buffer _buffer: Float32Array | Uint16Array | Uint8Array | Uint32Array Inherited from Buffer._buffer Defined in laya/RenderEngine/Buffer.ts:8 _bufferType _bufferType: number Inherited from Buffer._bufferType Defined in laya/RenderEngine/Buffe...

来源: Laya3.0_api 发布时间: 20231115

69. JS进度条加载问题 [ 47%]

...• 2017-07-01 17:19 就是说加载回调函数中他会自己返回一个float值得进度对吗?是值一旦改变立马就回调的吗? cuixueying • 2017-07-01 18:48 对,function onProgress(pro)这个pro是函数自己返回的值,资源一旦加载,没加载完一个文件,就会...

来源: Laya_社区 发布时间: 20170701

70. laya.utils.Byte_API3.0 [ 47%]

...th pos Methods clear getUTFBytes getUTFString readArrayBuffer readByte readFloat32 readFloat32Array readFloat64 readInt16 readInt16Array readInt32 readString readUint16 readUint32 readUint8 readUint8Array writeArrayBuffer writeByte writeFloat32 writeFloat64 writeInt16 writeInt32 writeUTFBytes writeU...

来源: Laya3.0_api 发布时间: 20231115