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

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

81. laya.ani.GraphicsAni_API3.0 [ 78%]

...: Texture | null, x?: number, y?: number, width?: number, height?: number, matrix?: Matrix | null, alpha?: number, color?: string | null, blendMode?: string | null, uv?: number[]): DrawTextureCmd | null Inherited from Graphics.drawTexture Defined in laya/display/Graphics.ts:243 绘制纹理,相比...

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

82. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 78%]

...resizeShared",url:"",data:{width:Laya.stage.width,height:Laya.stage.height,matrix:Laya.stage._canvasTransform},isLoad:false}); }); } //激活资源版本控制 beginLoad(); } private function beginLoad():void { //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas", Handler.create(thi...

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

83. laya.ui.AutoBitmap [ 78%]

...:Texture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, matrix:Matrix = null, alpha:Number = 1, color:String = null, blendMode:String = null):DrawTextureCmd 绘制纹理,相比drawImage功能更强大,性能会差一些 Graphics drawTextures(texture:Texture, pos:Array):DrawTe...

来源: Laya2.0_api 发布时间: 20190513

84. MovieClip 给SWF播放的对象 [ 77%]

...同来自: 具体代码位置 MovieClip.as _parseFrame函数内, var mat:Matrix = _data._getMatrix(); spp.transform = mat; 设置对象位置,旧版本使用的是 RenderSprite.TRANSFORM   (0x04) 新版本使用常量是   SpriteConst.TRANSFORM  (0x02) 导致的,请问到底是哪个才...

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

85. laya.d3.math.native.ConchQuaternion_API3.0 [ 77%]

...ormalize rotateX rotateY rotateZ scaling add createFromAxisAngle createFromMatrix3x3 createFromMatrix4x4 createFromYawPitchRoll dot invert lerp lookAt multiply rotationLookAt rotationMatrix slerp Constructors constructor new ConchQuaternion(x?: number, y?: number, z?: number, w?: number, nativeEleme...

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

86. laya.ui.AutoBitmap_API3.0 [ 77%]

...: Texture | null, x?: number, y?: number, width?: number, height?: number, matrix?: Matrix | null, alpha?: number, color?: string | null, blendMode?: string | null, uv?: number[]): DrawTextureCmd | null Inherited from Graphics.drawTexture Defined in laya/display/Graphics.ts:243 绘制纹理,相比...

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

87. 使用linkSprite3DToAvatarNode绑定sprite到骨骼上,角色运动时绑定的mesh会经常抖动 [ 77%]

...该节点的子节点)。由于每帧更新动画时会改变空sprite3D的matrix,但并不会同时改变其子节点的matrix,而一般考虑节点的位置是遍历树状结构,这个空sprite3D是放在scene下的,和角色处于同一层级,因此假如子节点的matrix在更新动...

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

88. laya.d3.core.Camera [ 76%]

...ode  postProcess : PostProcess 获取后期处理。 Camera  projectionMatrix : Matrix4x4获取投影矩阵。Camera  projectionViewMatrix : Matrix4x4[read-only] 获取视图投影矩阵。 Camera renderingOrder : intBaseCamera  renderTarget : RenderTexture 获取自定义渲染场景的渲...

来源: Laya2.0_api 发布时间: 20190513

89. laya.display.Graphics [ 75%]

...exture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, m:Matrix = null, alpha:Number = 1):Array 绘制纹理。 Graphics  drawTextures(tex:Texture, pos:Array):void 批量绘制同样纹理。 Graphics  fillBorderText(text:*, x:Number, y:Number, font:String, fillColor:String, bo...

来源: laya_api 发布时间: 20170929

90. 挂载物体的3D变换问题 [ 75%]

...的时候加了一句也没效果,把spriteTransform先乘到avatarWorldMatrix里 var spriteWorldMatrix:Matrix4x4 = spriteTransform.worldMatrix; Matrix4x4.multiply(spriteTransform, avatarWorldMatrix, avatarWorldMatrix); Matrix4x4.multiply((_owner as Sprite3D)._transform.worldMatrix, avatarWorldMat...

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