大约有 1,073 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0066 秒)
Laya_社区(567) Laya3.0_api(207) Laya2.0_文档(82) Laya_示例(59) laya_api(46) Laya2.0_api(44) Laya2.0_示例(41) Laya3.0_文档(27)
...ancePicTool ObjectPublic Methods MethodDefined By getCanvasPic(img:*, color:int):*[static] PicTool getRGBPic(img:*):Array[static] PicToolMethod DetailgetCanvasPic()method public static function getCanvasPic(img:*, color:int):* Parameters img:* color:intReturns*getRGBPic()method public sta...
来源: laya_api 发布时间: 20170929
...角形命令 Hierarchy DrawTrianglesCmd Index Properties alpha blendMode color indices matrix texture uvs vertices x y ID Methods getBoundPoints recover Properties alpha alpha: number Defined in laya/display/cmd/DrawTrianglesCmd.ts:46 alpha blendMode blendMode: string | null Defined in laya/display/...
来源: Laya3.0_api 发布时间: 20231115
...寸为像素大小。 Line Width:绘制矩形的边框宽度值。 Line Color:绘制矩形的边框颜色。 Fill Color:矩形填充的颜色。 动图2-2演示了这些属性的操作过程: (动图2-2) 2.2 代码绘制矩形 LayaAir引擎中的 drawRect() 方法用于绘制矢量矩形...
来源: Laya3.0_文档 发布时间: 20241014
...turns void drawCircle drawCircle(x: number, y: number, radius: number, fillColor: any, lineColor?: any, lineWidth?: number): DrawCircleCmd Inherited from Graphics.drawCircle Defined in laya/display/Graphics.ts:544 绘制圆形。 Parameters x: number 圆点X 轴位置。 y: number 圆点Y 轴位置...
来源: Laya3.0_api 发布时间: 20231115
...结构。 Hierarchy VertexTrail Implements IVertex Index Properties TRAIL_COLOR TRAIL_OFFSETVECTOR TRAIL_POSITION0 TRAIL_TEXTURECOORDINATE0X TRAIL_TEXTURECOORDINATE0Y TRAIL_TIME0 Accessors vertexDeclaration vertexDeclaration1 vertexDeclaration2 Properties Static TRAIL_COLOR TRAIL_COLOR: number = 5 D...
来源: Laya3.0_api 发布时间: 20231102
... Hierarchy TextStyle Index Constructors constructor Properties align bold color font fontSize italic leading strikethrough stroke strokeColor underline underlineColor valign Constructors constructor new TextStyle(): TextStyle Defined in laya/display/css/TextStyle.ts:53 Returns TextStyle Properties a...
来源: Laya3.0_api 发布时间: 20231115
...tProcessEffect BloomEffect Index Constructors constructor Properties clamp color dirtTexture fastMode Accessors active anamorphicRatio diffusion dirtIntensity intensity softKnee threshold Methods effectInit getCameraDepthTextureModeFlag release Constructors constructor new BloomEffect(): BloomEffect...
来源: Laya3.0_api 发布时间: 20231102
...,报错 cannot read proterty 'skeleton' of undefined 附件 : --> Color_page01.zip Color_page02.zip Color_page03.zip 2020-03-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回...
来源: Laya_社区 发布时间: 20200305
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.setup(); } setup() { this.createCharacter(); this.createEaseFunctionList(); this.createDurationCrontroller(); } createCharacter() { const Sprite = Laya.Sprite; character = new Sprite(); Laya.stage.addC...
来源: Laya2.0_示例 发布时间: 20241117
...this); this.size(100, 20); label = new Label(); label.fontSize = 12; label.color = "#FFFFFF"; this.addChild(label); this.setLabel = function(value) { label.text = value; } } Laya.class(ListItemRender, "ListItemRender", Box); // 主要逻辑代码 var Input = Laya.Input; var Sprite = Laya.Sprite; var...
来源: Laya_示例 发布时间: 20241117