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

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

351. laya.display.cmd.StrokeTextCmd [ 56%]

...asses | Index | Frames No Frames StrokeTextCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class StrokeTextCmdInheritanceStrokeTextCmd Object 绘制描边文字 Public Properties PropertyDefined By  color : String 定义文本颜色,比如"#ff0000"。 StrokeTextCmd...

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

352. 水平滚动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 56%]

...中。需要添加如下的示例代码,实现脚本控制HScrollBar: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.HScrollBar }) public hscroll: Laya.HScrollBar; //组件被激活后执行,此时所有节点和组件均已...

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

353. 垂直滚动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 56%]

...中。需要添加如下的示例代码,实现脚本控制VScrollBar: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.VScrollBar }) public vscroll: Laya.VScrollBar; //组件被激活后执行,此时所有节点和组件均已...

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

354. js有history.back(-1),返回到上个界面的用法吗 [ 56%]

...与用法 Laya.URL.basePath与Laya.loader.load用法 Animation用法疑问 const 用法 能否恢复Animation.getGraphicBounds在1.6时的用法 Laya.Pool用法 DialogUI,在内部按钮监听事件没效果是引擎设定?还是我用法错误? timeline的用法 问题状态 最新活动: 2018...

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

355. laya.display.cmd.DrawTrianglesCmd [ 56%]

...es | Index | Frames No Frames DrawTrianglesCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawTrianglesCmdInheritanceDrawTrianglesCmd Object 绘制三角形命令 Public Properties PropertyDefined By  alpha : Number alpha DrawTrianglesCmd  blendMode : String...

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

356. laya.display.cmd.DrawPieCmd [ 56%]

... Classes | Index | Frames No Frames DrawPieCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawPieCmdInheritanceDrawPieCmd Object 绘制扇形 Public Properties PropertyDefined By  endAngle : Number 结束角度。 DrawPieCmd  fillColor : * 填充颜色,或...

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

357. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 56%]

...ic-001.png","output-06.png"]; private texture:Laya.Texture2D; private box; constructor(){ Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; var camera...

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

358. [LayaAirIDE3]Panel会使HSlider的拖拽结束检测事件失效 [ 56%]

[LayaAirIDE3]Panel会使HSlider的拖拽结束检测事件失效   const sliderButton = this.progressSlider.getChildAt(2) as Laya.Button;         console.log("sliderButton:", sliderButton);         if (sliderButton) {             sliderButton.on(Laya.Event.MOUSE_UP, this, () => {...

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

359. Spine渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 56%]

...Spine资源的运行时库版本。 代码动态添加的示例如下: const { regClass, property } = Laya; @regClass() export class Demo extends Laya.Script { spine: Laya.Spine2DRenderNode; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwa...

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

360. Matrix4x4的decompose函数用法 [ 56%]

...函数时报is not a function 关于customRender函数不执行的问题 const 用法 问题状态 最新活动: 2017-02-27 13:17 浏览: 1527 关注: 2 人

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