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

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

1. laya.d3.math.Matrix4x4 [ 100%]

...Vector(out:Vector3):void 获取平移向量。 Matrix4x4  identity():void设置矩阵为单位矩阵Matrix4x4  invert(out:Matrix4x4):void 计算一个矩阵的逆矩阵 Matrix4x4  multiply(left:Matrix4x4, right:Matrix4x4, out:Matrix4x4):void[static] 计算两个矩阵的乘法 Matrix4x4  mul...

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

2. laya.display.Sprite [ 94%]

...prite 默认没有宽高,可以通过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scale...

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

3. laya.physics.PhysicsDebugDraw [ 91%]

...t 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景...

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

4. laya.map.TileAniSprite [ 91%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...

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

5. laya.physics.RigidBody [ 90%]

...ysics.I.worldRoot=场景,然后移动场景即可 可以通过IDE-"项目设置" 开启物理辅助线显示,或者通过代码PhysicsDebugDraw.enable(); Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  allowRotation : Boolean是否允许...

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

6. laya.d3.math.Matrix3x3 [ 90%]

...erminant():Number 计算3x3矩阵的行列式 Matrix3x3  identity():void 设置已有的矩阵为单位矩阵Matrix3x3  invert(out:Matrix3x3):void 计算3x3矩阵的逆矩阵 Matrix3x3  lookAt(eye:Vector3, target:Vector3, up:Vector3, out:Matrix3x3):void[static] 计算观察3x3矩阵 Matrix3x3...

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

7. laya.particle.Particle2D [ 89%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...

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

8. laya.ui.ScaleBox [ 89%]

...Component Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...

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

9. laya.utils.PerfHUD [ 89%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...

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

10. laya.html.dom.HTMLDivElement [ 89%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...

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