大约有 1,253 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0056 秒)
... Setting --- 其他设置 Cover Original Export Files 导出时覆盖原始导出文件 Customize Export Root Directory Name 自定义导出文件夹名称 Automatically ...
来源: Laya_社区 发布时间: 20170428
... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sound_SimpleDemo { //声明一个信息文本 private txtInfo: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stag...
来源: Laya_示例 发布时间: 20250220
...er = Laya.Browser; import WebGL = Laya.WebGL; import Render = Laya.Render; export class Physics_NewtonsCradle { private stageWidth: number = 800; private stageHeight: number = 600; private Matter: any = Browser.window.Matter; private LayaRender: any = Browser.window.LayaRender; private mouseConstrai...
来源: Laya_示例 发布时间: 20250220
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Resource" Resource Class Resource Resource 资源存取类。 Hierarchy EventDispatcher Resource BaseTexture BaseShader TextTexture HTMLCanvas BitmapFont Prefab Material Mesh Texture Atlas...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/Physics" Physics Class Physics 2D物理引擎,使用Box2d驱动 Hierarchy EventDispatcher Physics Index Constructors constructor Properties box2d positionIterations velocityIterations wor...
来源: Laya3.0_api 发布时间: 20231115
...到了,但vscode报未定义,IDE F8编译时也不通过 代码: export default class Index extends Laya.Script { /* @prop {name: speed, tips: "速度", type: Number, default: 10} */ constructor() { super(); } onAwake() {...
来源: Laya_社区 发布时间: 20191227
...andler = Laya.Handler; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class TiledMap_SimpleDemo { private tiledMap: TiledMap; private mLastMouseX: number = 0; private mLastMouseY: number = 0; private mX: number = 0; private mY: number = 0; constructor() { // 不支持WebGL时自动切换...
来源: Laya_示例 发布时间: 20250220
... = Laya.Sprite import Texture = Laya.Texture import Handler = Laya.Handler export class MaskDemo { private Res: string; private img: Laya.Image; constructor() { //Laya.init(400, 640, Laya.WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" Laya.Stat.show() //资源路径 this.Res = "test....
来源: Laya_社区 发布时间: 20171211
... import { WebGL } from "laya/webgl/WebGL"; import { Main } from "../Main"; export class Physics_Physics_Bridge { Main: typeof Main = null; private ecount = 30; private label: Label; constructor(maincls: typeof Main) { this.Main = maincls; Laya.Config.isAntialias = true; Laya.init(1200, 700, WebGL); ...
来源: Laya2.0_示例 发布时间: 20250220
...nt = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Rotate { private sp: Sprite; private preRadian: number = 0; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = S...
来源: Laya_示例 发布时间: 20250220