大约有 768 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)
Laya_社区(390) Laya3.0_api(187) Laya2.0_api(91) laya_api(44) Laya2.0_文档(31) Laya3.0_文档(24) Laya2.0_示例(1)
...ll Inherited Externals Only exported Menu Globals "laya/physics/PolygonCollider" PolygonCollider Class PolygonCollider 2D多边形碰撞体,暂时不支持凹多边形,如果是凹多边形,先手动拆分为多个凸多边形 节点个数最多是b2_maxPolygonVertices,这数值默认是8,...
来源: Laya3.0_api 发布时间: 20231115
...试一下_带示例代码 在laya1.0示例里面 private onBtnClick(): void { //测试崩溃代码 var a = undefined; var b = a.id; //点击按钮执行到这里肯定是报错的TypeError: Cannot read property 'id' of undefined . 如果继续运行整个layaair调试器就会停止响应.整个...
来源: Laya_社区 发布时间: 20190508
... 线段颜色,或者填充绘图的渐变对象。 DrawCurvesCmd lineWidth : Number (可选)线段宽度。 DrawCurvesCmd points : Array 线段的点集合,格式[controlX, controlY, anchorX, anchorY...]。 DrawCurvesCmd x : Number 开始绘制的 X 轴位置。 DrawCurvesCmd y :...
来源: Laya2.0_api 发布时间: 20190513
...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
...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
...* 线段颜色,或者填充绘图的渐变对象。 DrawLinesCmd lineWidth : Number (可选)线段宽度。 DrawLinesCmd points : Array 线段的点集合。格式:[x1,y1,x2,y2,x3,y3...]。 DrawLinesCmd x : Number 开始绘制的X轴位置。 DrawLinesCmd y : Number 开始绘制的...
来源: Laya2.0_api 发布时间: 20190513
...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
... 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
...)边框颜色,或者填充绘图的渐变对象。 DrawPolyCmd lineWidth : Number 可选)边框宽度。 DrawPolyCmd points : Array 多边形的点集合。 DrawPolyCmd x : Number 开始绘制的 X 轴位置。 DrawPolyCmd y : Number 开始绘制的 Y 轴位置。 DrawPolyCmdPublic...
来源: Laya2.0_api 发布时间: 20190513
...)边框颜色,或者填充绘图的渐变对象。 DrawRectCmd lineWidth : Number (可选)边框宽度。 DrawRectCmd width : Number 矩形宽度。 DrawRectCmd x : Number 开始绘制的 X 轴位置。 DrawRectCmd y : Number 开始绘制的 Y 轴位置。 DrawRectCmdPublic Metho...
来源: Laya2.0_api 发布时间: 20190513