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

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

341. 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

342. 字体切片组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 56%]

...入口中。下面给出一个示例代码,实现脚本控制FontClip: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property( { type : Laya.FontClip } ) public fontclp: Laya.FontClip; constructor() { super(); } // 组件被激活后执行,此...

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

343. 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

344. 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

345. 多选框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 56%]

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

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

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

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

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

347. 物理引擎-牛顿摆 [ 56%]

...rowser.window.Matter; var LayaRender = Browser.window.LayaRender; var mouseConstraint; var engine; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(stageWidth, stageHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode =...

来源: Laya_示例 发布时间: 20250315

348. laya.display.cmd.DrawPathCmd [ 56%]

...Classes | Index | Frames No Frames DrawPathCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawPathCmdInheritanceDrawPathCmd Object 根据路径绘制矢量图形 Public Properties PropertyDefined By  brush : Object (可选)刷子定义,支持以下设置...

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

349. laya.display.cmd.FillBorderTextCmd [ 56%]

...s | Index | Frames No Frames FillBorderTextCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class FillBorderTextCmdInheritanceFillBorderTextCmd Object 绘制文本边框 Public Properties PropertyDefined By  borderColor : String 定义镶边文本颜色。 FillBorderT...

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

350. Animation用法疑问 [ 56%]

...否恢复Animation.getGraphicBounds在1.6时的用法 点击事件疑问 const 用法 关于layadcc的一些疑问 如何通过代码控制prefab上面的时间轴动画animation? 请问关于遮罩的用法,在哪块可以找到? 如何获取animation的node节点? 官方有没有animation...

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