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

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

341. 2D物理-碰撞过滤器 [ 41%]

...var mouseJoint: MouseJoint = this.curTarget.addComponent(MouseJoint); Laya.timer.callLater(mouseJoint, mouseJoint.onMouseDown); Laya.stage.on(Event.MOUSE_UP, this, this.destoryJoint); Laya.stage.on(Event.MOUSE_OUT, this, this.destoryJoint); // 方案二,自己实现,可以实现更大程度的...

来源: Laya2.0_示例 发布时间: 20241125

342. laya.ui.Button_API3.0 [ 40%]

... sizeGrid skewX skewY skin stage stateNum staticCache strokeColors texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearT...

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

343. laya.ui.CheckBox_API3.0 [ 40%]

... sizeGrid skewX skewY skin stage stateNum staticCache strokeColors texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearT...

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

344. laya.ui.Radio_API3.0 [ 40%]

... sizeGrid skewX skewY skin stage stateNum staticCache strokeColors texture timer toolTip top transform url value viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater ...

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

345. laya.display.Input_API3.0 [ 39%]

...ticCache stroke strokeColor templateVars text textHeight textWidth texture timer transform type ubb underline underlineColor url valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setWidth addChild addChildAt addChildren addComponent addComponentInstance...

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

346. laya.ui.TextInput_API3.0 [ 39%]

...n stage staticCache stroke strokeColor templateVars text textField texture timer toolTip top transform type ubb underline underlineColor url valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent...

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

347. laya.ui.TextArea_API3.0 [ 39%]

...n stage staticCache stroke strokeColor templateVars text textField texture timer toolTip top transform type ubb underline underlineColor url vScrollBar vScrollBarSkin valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildA...

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

348. 动画不显示 [ 38%]

...a.events.Event;     import laya.utils.Browser;     import laya.utils.Timer;     import laya.display.Sprite;     import laya.net.Loader;     import laya.ui.TextArea;     import laya.resource.Texture;     import laya.maths.Point;     import laya.utils.Tween;     import laya....

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

349. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 38%]

... * 监听键盘事件 */ onUpdate(): void { var elapsedTime: number = Laya.timer.delta; if (!isNaN(this.lastMouseX) && !isNaN(this.lastMouseY) && this.isMouseDown) { Laya.InputManager.hasKeyDown(87) && this.moveForward(-this.speed * elapsedTime);//W Laya.InputManager.hasKeyDo...

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

350. 有关Laya3D碰撞检测疑问 [ 35%]

...r.mesh = capsule.meshFilter.sharedMesh; capsule.name = "胶囊体";  Laya.timer.frameLoop(1, this, this.checkHit);  this.loadUI();  console.log("碰撞结果:" + boxCollider1.boundBox.containsSphere(cylinder.meshRender.boundingSphere)); console.log("碰撞结果:" + boxCollider1.boundBox.contains...

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