大约有 1,100 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0065 秒)
Laya_社区(730) Laya3.0_api(83) Laya2.0_api(71) laya_api(66) Laya_示例(41) Laya2.0_示例(39) Laya2.0_文档(36) Laya3.0_文档(34)
...agelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button UIComponent Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dat...
来源: Laya2.0_api 发布时间: 20190513
sprite添加click监听事件反应迟钝 代码如下,如果用drawyuan.graphics.drawCircle(0,0,50,"#232628");则会点击反应非常迟钝,如果用loadimg的话,反应很快; function drawCirle() { var drawyuan = new Laya.Sprite(); // drawyuan.graphics.drawCircle(0,0,50,"#232628");//反...
来源: Laya_社区 发布时间: 20170905
...n(Event.CLICK, this, this.onDecreaseAlpha2); } createButton(label) { const Sprite = Laya.Sprite; let w = 300, h = 60; let button = new Sprite(); Laya.stage.addChild(button); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.size(w, h); button.graphics.fillText(label, w / 2, 17, "20px simHei", ...
来源: Laya2.0_示例 发布时间: 20251130
...kagelaya.html.domClasspublic class HTMLDivElementInheritanceHTMLDivElement Sprite Node EventDispatcher ObjectSubclasses HTMLIframeElement HTML图文类,用于显示html内容 支持的标签如下: a:链接标签,点击后会派发"link"事件 比如:a div:div容器标签,比如: span:行内...
来源: Laya2.0_api 发布时间: 20190513
...Color = "#232628"; this.createCantralRect(); } createCantralRect() { const Sprite = Laya.Sprite; this.rect = new Sprite(); this.rect.graphics.drawRect(-100, -100, 200, 200, "gray"); Laya.stage.addChild(this.rect); this.updateRectPos(); } updateRectPos() { this.rect.x = Laya.stage.width / 2; this.rec...
来源: Laya2.0_示例 发布时间: 20251130
...Color = "#232628"; this.createCantralRect(); } createCantralRect() { const Sprite = Laya.Sprite; this.rect = new Sprite(); this.rect.graphics.drawRect(-100, -100, 200, 200, "gray"); Laya.stage.addChild(this.rect); this.updateRectPos(); } updateRectPos() { this.rect.x = Laya.stage.width / 2; this.rec...
来源: Laya2.0_示例 发布时间: 20251130
...回复被折叠 要回复问题请先登录 发起人 Drancy 相关问题 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 缓动Tween能用在3D物体或者特效上面吗? 缓动动画SKEW-Y从0到360卡住 [引擎优化]希望官方可以增加stencil功能 想让一...
来源: Laya_社区 发布时间: 20200817
...经被锁定, 无法添加新回复 发起人 无名玩家X 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机...
来源: Laya_社区 发布时间: 20240805
...Packagelaya.uiClasspublic class TabInheritanceTab UIGroup Box UIComponent Sprite Node EventDispatcher Object Tab 组件用来定义选项卡按钮组。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活...
来源: Laya2.0_api 发布时间: 20190513
... Packagelaya.uiClasspublic class RadioInheritanceRadio Button UIComponent Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消选择该组中当...
来源: Laya2.0_api 发布时间: 20190513