大约有 282 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0035 秒)
Laya_社区(78) Laya_示例(58) Laya3.0_api(37) Laya2.0_api(28) Laya2.0_示例(24) laya_api(21) Laya2.0_文档(19) Laya3.0_文档(17)
同步龙骨插槽动画方案 Laya Ver2.1.1 export class MSketon { private mFactory: Laya.Templet; public mArmature: Laya.Skeleton private _handler: Laya.Handler; constructor(url: string, handler: Laya.Handler, aniMode: number = 0) { ...
来源: Laya_社区 发布时间: 20200618
...stick } from "./Joystick"; import { Player } from "./Player"; const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { @property({ type: Laya.Sprite }) public player: Laya.Sprite; @property({ type: Laya.Sprite }) public joystick: Laya.Spr...
来源: Laya_社区 发布时间: 20251125
API DocumentationAll Packages | All Classes | Index | Frames No Frames RectangleProperties | Methods | Constants Packagelaya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区...
来源: laya_api 发布时间: 20170929
...请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: class TextRender getFontSizeInfo 函数,最后部分 var xoff:int = Math.max( orix - pixelBBX[0], 0); var yoff:int = Math.max( oriy - pixelBBX[1], 0); var bbxw:int = pixelBBX[2] - pixelBBX[0]; var bbxh:int ...
来源: Laya_社区 发布时间: 20200102
...s.Browser; import laya.webgl.WebGL; import laya.wx.mini.MiniAdpter; public class LayaSample { public var sprite:Sprite = new Sprite(); public function LayaSample() { //初始化引擎 MiniAdpter.init(); Laya.init(Browser.width, Browser.height,WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor...
来源: Laya_社区 发布时间: 20190515
... import laya.display.Sprite; import laya.ui.Image; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640,WebGL); var image:Image = new ...
来源: Laya_社区 发布时间: 20190110
API DocumentationAll Packages | All Classes | Index | Frames No Frames RectangleProperties | Methods | Constants Packagelaya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区...
来源: Laya2.0_api 发布时间: 20190513
.../ module touch { /** * 颜色工具类 */ export class ColorTool { private _targetsValue: number = 16777215; private _targetsLastValue: number = null; private targets: Array<Laya.Sprite> = null; public static instance: ColorTool = null; private targetsFilter: Laya.Col...
来源: Laya_社区 发布时间: 20180930
...请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: class TextRender getFontSizeInfo 函数,最后部分 var xoff:int = Math.max( orix - pixelBBX[0], 0); var yoff:int = Math.max( oriy - pixelBBX[1], 0); var bbxw:int = pixelBBX[2] - pixelBBX[0]; var bbxh:int ...
来源: Laya_社区 发布时间: 20191231
...确实难以判断 ZmySir • 2025-12-22 15:40 @LayaAir小牛:const { regClass, property } = Laya; @regClass() export default class iceMonster extends Laya.Script { declare owner: Laya.Sprite; /** 用于兜底的 Animator2D(可选) */ private _animator: Laya.Animator2D; /** 承载 .mc 的动画...
来源: Laya_社区 发布时间: 20251211