大约有 3,124 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0073 秒)
...mport Loader = Laya.Loader; import Handler = Laya.Handler; export class Loader_MultipleType { private ROBOT_DATA_PATH: string = "res/swf/star.swf"; private ROBOT_DATA_PATHS: string = "res/swf/star.json"; private ROBOT_TEXTURE_PATH: string = "res/swf/st...
来源: Laya_社区 发布时间: 20180203
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/ScreenQuad" ScreenQuad Class ScreenQuad ScreenQuad 类用于创建全屏四边形。 Hierarchy GeometryElement ScreenQuad Index Constructors constructor Properties _geometryElementOB...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeRenderElementOBJ" NativeRenderElementOBJ Class NativeRenderElementOBJ Hierarchy NativeRenderElementOBJ NativeInstanceRenderElementOBJ NativeSkinRenderElementOBJ Implem...
来源: Laya3.0_api 发布时间: 20231115
... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sprite_MagnifyingGlass { private maskSp:Sprite; private bg2:Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(1136, 640, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH...
来源: Laya_示例 发布时间: 20260824
...onfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new L...
来源: Laya_社区 发布时间: 20180724
...rt Ease = Laya.Ease; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Interaction_CustomEvent { public static ROTATE: string = "rotate"; private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.s...
来源: Laya2.0_示例 发布时间: 20260824
Cannot read property 'rayCast' of undefined export default class indexscene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let conf...
来源: Laya_社区 发布时间: 20200903
...ge = Laya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Dialog { private DIALOG_WIDTH: number = 220; private DIALOG_HEIGHT: number = 275; private CLOSE_BTN_WIDTH: number = 43; private CLOSE_BTN_PADDING: number = 5; private assets: Array; constructor() { // 不支...
来源: Laya_示例 发布时间: 20260824
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就...
来源: Laya_社区 发布时间: 20190703
...ext = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Restrict { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 300, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.S...
来源: Laya2.0_示例 发布时间: 20260824