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

大约有 797 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0064 秒)

101. laya.d3.math.Vector3_API3.0 [ 77%]

...iveUnitX ONE UnitX UnitY UnitZ Up ZERO Methods clone cloneTo cross dot fromArray length lengthSquared normalize scale set setValue toArray toDefault vadd vsub writeTo Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multiply normalize scalarLength scalarLengthSquared ...

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

102. RopeJoint代码动态创建 无法设置otherbody等属性 [ 77%]

... as RigidBody; (img2.getComponent(RopeJoint) as RopeJoint).otherAnchor=new Array()[128,128]; (img2.getComponent(RopeJoint) as RopeJoint).selfAnchor=new Array()[128,128]; (img2.getComponent(RopeJoint) as RopeJoint).maxLength=500; (img2.getComponent(RopeJoint) as RopeJoint).collideConnected=false; 附...

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

103. Image.loadImage 方法加载问题 [ 77%]

...andler = new Laya.Handler(this, this.updateListItem); this.publicSpaceList.array = ; this.addChild( this.publicSpaceList ); public setPublicSpacesData (_publicSpacesInfo:any) : void ///调用这个方 传入参数 里面有每一个图片的名字 {  this.publicSpacesInfo = _publicSpacesInfo;  thi...

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

104. Laya2.0 的3d截图 [ 76%]

...(Laya.WebGLContext as any).mainContext;         let pixels:Uint8Array = new Uint8Array(gl.drawingBufferWidth*gl.drawingBufferHeight*4);         gl.readPixels(0,0,gl.drawingBufferWidth,gl.drawingBufferHeight,gl.RGBA,gl.UNSIGNED_BYTE,pixels);         let sp:Laya.Sprite ...

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

105. 关于list空间的问题 [ 76%]

...enderHandler = new Handler(this, this.onUpdateItem); //this._ui.serverList.array = this._loadData.list; this._ui.serverList.array = data;   附件 : --> 2017-09-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 M...

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

106. 鼠标交互-双指旋转(多点触控) [ 76%]

...s, this.onMouseDown); } private onMouseDown(e: Event): void { var touches: Array = e.touches; if (touches && touches.length == 2) { this.preRadian = Math.atan2( touches[0].stageY - touches[1].stageY, touches[0].stageX - touches[1].stageX); Laya.stage.on(Event.MOUSE_MOVE, this, this.onMouseMove); } }...

来源: Laya_示例 发布时间: 20260818

107. laya.d3.math.native.ConchVector3_API3.0 [ 76%]

...tX ONE UnitX UnitY UnitZ Up ZERO Accessors x y z Methods clone cloneTo fromArray setValue toDefault Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multiply normalize scalarLength scalarLengthSquared scale subtract transformCoordinate transformQuat transformV3ToV3 tr...

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

108. 将字节数组转为图片 [ 76%]

将字节数组转为图片 flash air端将图片通过ByteArray保存为字节数组,并存为img.byte layaAir端加载了img.byte文件后如何还原为图片?flash端的loader有个loadBytes方法可以加载字节数组,但是layaAir端没有相关方法实现 2017-04-17 添加评论 免...

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

109. LayaAir2.0 beta3 对骨骼动画应用发光滤镜的问题 [ 76%]

...镜集合为发光滤镜 this._spine.filters = [filter]; this.listAction.array = this._spine.templet._anis; this.listSlot.array = this._spine.templet.boneSlotArray; })   附件 : --> 2018-11-27 添加评论 已悬赏1元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

110. spine骨骼动画如何获取某个骨骼的坐标 [ 76%]

...标列表 */ public function getBoneCoords(nameOrIndex:*, boneName:String):Array { var arrCoords:Array = ;   var aniClipIndex:int = getAniClipIndex(nameOrIndex); var curOriginalData:Float32Array = new Float32Array(_templet.getTotalkeyframesLength(aniClipIndex));   var interval:Number = 1000.0 / _p...

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