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

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

201. laya.physics.PolygonCollider_API3.0 [ 76%]

...ll Inherited Externals Only exported Menu Globals "laya/physics/PolygonCollider" PolygonCollider Class PolygonCollider 2D多边形碰撞体,暂时不支持凹多边形,如果是凹多边形,先手动拆分为多个凸多边形 节点个数最多是b2_maxPolygonVertices,这数值默认是8,...

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

202. 一个简单的bug请官方人自己测试一下_带示例代码 [ 76%]

...试一下_带示例代码 在laya1.0示例里面  private onBtnClick(): void { //测试崩溃代码 var a = undefined; var b = a.id; //点击按钮执行到这里肯定是报错的TypeError: Cannot read property 'id' of undefined . 如果继续运行整个layaair调试器就会停止响应.整个...

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

203. laya.display.cmd.DrawCurvesCmd [ 76%]

... 线段颜色,或者填充绘图的渐变对象。 DrawCurvesCmd  lineWidth : Number (可选)线段宽度。 DrawCurvesCmd  points : Array 线段的点集合,格式[controlX, controlY, anchorX, anchorY...]。 DrawCurvesCmd  x : Number 开始绘制的 X 轴位置。 DrawCurvesCmd  y :...

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

204. laya.utils.FontInfo [ 76%]

...family : String = ArialFontInfo  _font : String = 14px ArialFontInfo  _id : uintFontInfo  _italic : Boolean = falseFontInfo  _size : int = 14FontInfoPublic Methods  MethodDefined By  FontInfo(font:String)FontInfo  Parse(font:String):FontInfo[static] FontInfo  setFont(value:String):voi...

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

205. laya.d3.physics.PhysicsComponent_API3.0 [ 76%]

...ngleton canScaleShape owner runInEditor scriptPath Accessors awaked canCollideWith ccdMotionThreshold ccdSweptSphereRadius colliderShape collisionGroup destroyed enabled friction hideFlags id isActive restitution rollingFriction simulation Methods _initialize _setOwner destroy getPhysicsOrientation ...

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

206. laya.display.cmd.DrawLinesCmd [ 76%]

...* 线段颜色,或者填充绘图的渐变对象。 DrawLinesCmd  lineWidth : Number (可选)线段宽度。 DrawLinesCmd  points : Array 线段的点集合。格式:[x1,y1,x2,y2,x3,y3...]。 DrawLinesCmd  x : Number 开始绘制的X轴位置。 DrawLinesCmd  y : Number 开始绘制的...

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

207. laya.components.AnimationClip2D_API3.0 [ 76%]

...rarchy Resource AnimationClip2D Index Constructors constructor Properties _id destroyedImmediately islooping lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreate...

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

208. laya.physics.ChainCollider_API3.0 [ 76%]

... All Inherited Externals Only exported Menu Globals "laya/physics/ChainCollider" ChainCollider Class ChainCollider 2D线形碰撞体 Hierarchy ColliderBase ChainCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked ...

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

209. laya.display.cmd.DrawPolyCmd [ 76%]

...)边框颜色,或者填充绘图的渐变对象。 DrawPolyCmd  lineWidth : Number 可选)边框宽度。 DrawPolyCmd  points : Array 多边形的点集合。 DrawPolyCmd  x : Number 开始绘制的 X 轴位置。 DrawPolyCmd  y : Number 开始绘制的 Y 轴位置。 DrawPolyCmdPublic...

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

210. laya.display.cmd.DrawRectCmd [ 76%]

...)边框颜色,或者填充绘图的渐变对象。 DrawRectCmd  lineWidth : Number (可选)边框宽度。 DrawRectCmd  width : Number 矩形宽度。 DrawRectCmd  x : Number 开始绘制的 X 轴位置。 DrawRectCmd  y : Number 开始绘制的 Y 轴位置。 DrawRectCmdPublic Metho...

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