大约有 39 项符合查询结果, 库内数据总量为 31,715 项。 (搜索耗时: 0.0027 秒)
Laya_社区(21) laya_api(4) Laya2.0_api(4) Laya3.0_api(4) Laya2.0_示例(2) Laya_示例(2) Laya2.0_文档(1) Laya3.0_文档(1)
...aya.stage.graphics.drawRect( 0, 0, phoenixWidth, phoenixHeight, getHexColorString()); } function getHexColorString() { bgColorChannels.r = Math.floor(bgColorChannels.r); // 绿色通道使用0 bgColorChannels.g = 0; //obj.g = Math.floor(obj.g); bgColorChannels.b = Math.floor(bgColorChannels.b); var ...
来源: Laya_示例 发布时间: 20260130
...tage.graphics.drawRect( 0, 0, phoenixWidth, phoenixHeight, this.getHexColorString()); } getHexColorString() { bgColorChannels.r = Math.floor(bgColorChannels.r); // 绿色通道使用0 bgColorChannels.g = 0; //obj.g = Math.floor(obj.g); bgColorChannels.b = Math.floor(bgColorChannels.b); var r = bgCol...
来源: Laya2.0_示例 发布时间: 20260130
...umber, y:Number):Point 将 Point 的成员设置为指定值。 Point toString():String返回包含 x 和 y 坐标的值的字符串。PointPublic Constants ConstantDefined By TEMP : Point[static] 临时使用的公用对象。PointProperty Detailxpropertypublic var x:Number该点的水平坐...
来源: laya_api 发布时间: 20170929
... Properties x y TEMP Methods copy distance normalize recover reset setTo toString create Constructors constructor new Point(x?: number, y?: number): Point Defined in laya/maths/Point.ts:16 根据指定坐标,创建一个新的 Point 对象。 Parameters Default value x: number = 0 (可选)水...
来源: Laya3.0_api 发布时间: 20231115
...):Md5 { return this._inst ||(this._inst = new Md5()); } public get_md5(str:string):string { return this.md5(str); } split(target: string | any[], step: number, markString: boolean = typeof target === "string") { if (typeof target === "string") target = target.split(""); let result: any[] = target.ma...
来源: Laya_社区 发布时间: 20190321
...umber, y:Number):Point 将 Point 的成员设置为指定值。 Point toString():String返回包含 x 和 y 坐标的值的字符串。PointPublic Constants ConstantDefined By TEMP : Point[static] 临时使用的公用对象。PointProperty Detailxpropertypublic var x:Number该点的水平坐...
来源: Laya2.0_api 发布时间: 20190513
...destroy frameLoop frameOnce loop once pause resume runCallLater runTimer toString Constructors constructor new Timer(autoActive?: boolean): Timer Defined in laya/utils/Timer.ts:34 创建 Timer 类的一个实例。 Parameters Default value autoActive: boolean = true Returns Timer Properties currFram...
来源: Laya3.0_api 发布时间: 20231115
...ader.IMAGE }] /** 添加文件hash */ export const setStaticPrefix = (url:string) :string => { if (staticHash[`images/${url}`]) { return staticHash[`images/${url}`] } return `images/${url}` }然后资源导出的时候使用gulp生成文件hash 这样增量更新方式比整个替换文件夹要...
来源: Laya_社区 发布时间: 20180412
...id 立即提前执行定时器,执行之后从队列中删除 Timer toString():String 返回统计信息。TimerProperty DetailcurrFramepropertypublic var currFrame:int = 0 当前的帧数。currTimerproperty public var currTimer:Number 当前帧开始的时间。deltaproperty delta:int [r...
来源: laya_api 发布时间: 20170929
...id 立即提前执行定时器,执行之后从队列中删除 Timer toString():String 返回统计信息。TimerProperty DetailcurrFramepropertypublic var currFrame:int = 0 当前的帧数。currTimerproperty public var currTimer:Number 当前帧开始的时间。deltaproperty delta:int [r...
来源: Laya2.0_api 发布时间: 20190513