大约有 589 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0035 秒)
Laya_社区(199) Laya2.0_示例(114) Laya3.0_文档(94) Laya2.0_api(91) laya_api(48) Laya_示例(24) Laya2.0_文档(16) Laya3.0_api(3)
...n,可以结合1.3节的脚本控制,在脚本中输入如下代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Text }) txt: Laya.Text; constructor() { super(); } onAwake(): void { this.tx...
来源: Laya3.0_文档 发布时间: 20251010
...pFont 测试代码: let fontName = "diyFont"; class Text_BitmapFont { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = St...
来源: Laya_社区 发布时间: 20190225
...Classes | Index | Frames No Frames DrawLineCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawLineCmdInheritanceDrawLineCmd Object 绘制单条曲线 Public Properties PropertyDefined By fromX : Number X轴开始位置。 DrawLineCmd fromY : Number Y轴开...
来源: Laya2.0_api 发布时间: 20190513
...Classes | Index | Frames No Frames Rigidbody3DProperties | Methods | Constants Packagelaya.d3.physicsClasspublic class Rigidbody3DInheritanceRigidbody3D PhysicsTriggerComponent PhysicsComponent Component Object Rigidbody3D 类用于创建刚体碰撞器。 Public Properties Hide Inherited Pub...
来源: Laya2.0_api 发布时间: 20190513
...asses | Index | Frames No Frames DrawCircleCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawCircleCmdInheritanceDrawCircleCmd Object 绘制圆形 Public Properties PropertyDefined By fillColor : * 填充颜色,或者填充绘图的渐变对象。 DrawCirc...
来源: Laya2.0_api 发布时间: 20190513
...asses | Index | Frames No Frames DrawCurvesCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawCurvesCmdInheritanceDrawCurvesCmd Object 绘制曲线 Public Properties PropertyDefined By lineColor : * 线段颜色,或者填充绘图的渐变对象。 DrawCurv...
来源: Laya2.0_api 发布时间: 20190513
..., color = colors[0], liveGraphics, canvasGraphics; class PIXI_Example_21 { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser....
来源: Laya2.0_示例 发布时间: 20260106
...lasses | Index | Frames No Frames DrawLinesCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawLinesCmdInheritanceDrawLinesCmd Object 绘制连续曲线 Public Properties PropertyDefined By lineColor : * 线段颜色,或者填充绘图的渐变对象。 Draw...
来源: Laya2.0_api 发布时间: 20190513
...Classes | Index | Frames No Frames DrawPolyCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawPolyCmdInheritanceDrawPolyCmd Object 绘制多边形 Public Properties PropertyDefined By fillColor : * 填充颜色,或者填充绘图的渐变对象。 DrawPolyC...
来源: Laya2.0_api 发布时间: 20190513
...ate 加载图片回调参数问题 Dialog限制拖动区域有什么方法 const 用法 能否恢复Animation.getGraphicBounds在1.6时的用法 问题状态 最新活动: 2017-08-14 14:02 浏览: 942 关注: 2 人
来源: Laya_社区 发布时间: 20170814