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

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

1941. 如何绘制圆角矩形? [ 56%]

...urves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 如何获取Sprite上用graphics.drawTexture绘制的texture? 使用滤镜、遮罩、或者绘制频率很高的时候回出现黑屏闪烁 怎么检测点是否在 graphics所绘制的区域...

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

1942. 下拉选项框组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 56%]

...有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.combobox.pos(100, 100); this.combobox.labels = "item0,item1,item2,item3,item4,item5,item6,item7"; this.combobox.labelColors = "#32556b,#32cc6b,#ff0000"; this.combobox.itemHeight = 60; // itemColors格式:"悬停...

来源: Laya3.0_文档 发布时间: 20251010

1943. laya.d3.resource.models.SphereMesh [ 56%]

...型 SphereMeshProtected Methods  MethodDefined By  recreateResource():void[override] SphereMeshProperty Detailradiuspropertyradius:Number 返回半径 Implementation     public function get radius():Number    public function set radius(value:Number):voidslicesproperty slices:int 获取...

来源: laya_api 发布时间: 20170929

1944. laya3d物理引擎如何做绳索约束? [ 56%]

...traint:Constraint3D, disableCollisionsBetweenLinkedBodies:Boolean = false):void     附件 : --> 2019-07-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题...

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

1945. localRotationEulerY旋转位置错误 [ 56%]

...grass.png", Laya.Handler.create(this, function (tex: Laya.Texture2D): void {             planeMat.albedoTexture = tex;         }));         //设置纹理平铺和偏移         var tilingOffset = planeMat.tilingOffset;         tilingOffset.setV...

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

1946. 请问LayaAir如何绘制一个渐变矩形? [ 56%]

...ber, height:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 参数fillColor:* — 填充颜色,或者填充绘图的渐变对象 我找不到关于这个渐变对象的文档,例子或者教程 2017-04-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

1947. [LayaAirIDE3]关于事件清理的一点疑问 [ 56%]

....changeData);,,   然后切换场景 ,是不是要在 onDestroy(): void {         if (this.btn) {             // 清理所有以 this 为 caller 的事件             this.btn.offAllCaller(this);         } },,问下下Deepseek,说是laya不会自动清理事件的...

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

1948. 刚升级了2.0正式版 PhysicsComponent问题 [ 56%]

...对象错误 public function _derivePhysicsTransformation(force:Boolean):void { if(_nativeColliderObject==null)return;//我加了这个 _innerDerivePhysicsTransformation(_nativeColliderObject.getWorldTransform(), force); } 附件 : --> 2019-01-19 添加评论 免费帖 --> 分享 微博 QZONE 微信...

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

1949. layaAir version:String = "1.7.8"bug记录 [ 56%]

...ayaAir version:String = "1.7.8"bug记录 private function _repaintSprite():void { sprite.repaint();改成 sprite&&sprite.repaint(); } 附件 : --> 2017-12-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ...

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

1950. laya.d3.resource.models.CylinderMesh [ 56%]

...型 CylinderMeshProtected Methods  MethodDefined By  recreateResource():void[override] CylinderMeshProperty Detailheightpropertyheight:Number 返回高度 Implementation     public function get height():Number    public function set height(value:Number):voidradiusproperty radius:Number ...

来源: laya_api 发布时间: 20170929