大约有 199 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0062 秒)
...以下的滤镜和混合模式 /**@private 模糊滤镜。*/ public static const BLUR:int = 0x10; /**@private 颜色滤镜。*/ public static const COLOR:int = 0x20; /**@private 发光滤镜。*/ public static const GLOW:int = 0x08; public static const NAMES:Array = /*[STATIC SAFE]*/["normal", "add"...
来源: Laya_社区 发布时间: 20170303
....Handler; public class BeforLoader extends EventDispatcher { public static const BEFORLOADERFINISH:String = "BeforLoaderFinish"; private const ADDONE:String = "bingan/AddOne.swf"; private const BG:String = "bingan/bg.swf"; private const CDOWNBIN:String = "bingan/cDownBin.swf"; private const CUOLE:St...
来源: Laya_社区 发布时间: 20161213
... Vector3 的疑问 如下:2.1.0的Vector3 /**@private */ public static const _ZERO:Vector3 =/*[STATIC SAFE]*/ new Vector3(0.0, 0.0, 0.0); /**@private */ public static const _ONE:Vector3 =/*[STATIC SAFE]*/ new Vector3(1.0, 1.0, 1.0); /**@private */ public static const _NegativeUnitX:Vector3 =/*[STA...
来源: Laya_社区 发布时间: 20190706
...mport { Joystick } 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 joystic...
来源: Laya_社区 发布时间: 20251125
...参考代码 export class CatmullRomSpline { private points: number[]; constructor(points: number[]) { if (points.length < 4 || points.length % 2 !== 0) { throw new Error("At least two points (four numbers) are required, and the total number of values must be even"); } this.points = points; } ...
来源: Laya_社区 发布时间: 20241008
LayaAir引擎 const 用法 const 什么使用啊!只能在函数中定义const吗,我定义成成员变量不行吗? 附件 : --> 2017-04-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同...
来源: Laya_社区 发布时间: 20170424
... 提交 2 个回复 Laya_Aaron 赞同来自: static public const TYPE_TEXT:String = "text"; /** password 类型用于密码域输入。*/ static public const TYPE_PASSWORD:String = "password"; /** email 类型用于应该包含 e-mail ...
来源: Laya_社区 发布时间: 20180607
...umber = 1; private isBGMAttenuated: boolean = false; private constructor() { /* 在ios中 使用Audio标签播放(默认)无法调整音量 使用WebAudio播放时可调整音量但会出现部分机型切后台失去焦点后无法...
来源: Laya_社区 发布时间: 20250930
... 1 分享 微博 QZONE 微信 liqunyang 赞同来自: // test drawToCanvas const sp1 = new Sprite(); sp1.loadImage('bet/cheer_1_3.png'); const sp2 = new Sprite(); sp2.x = 100; sp2.loadImage('bet/cheer_1_4.png'); sp1.addChild(sp2); this.addChild(sp1); const htmlCanvas = sp1.drawToCanvas(640, 200, 0, ...
来源: Laya_社区 发布时间: 20171018
...ev-tools a)、创建并编写脚本 tools-compile.js#!/usr/bin/env node const program = require('commander'); const { fork } = require('child_process'); const path = require('path'); program.parse(process.argv); const projPath = path.join(__dirname, '../'); const layaCompileDir = path.join(projPa...
来源: Laya_社区 发布时间: 20201223