大约有 3,008 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0060 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
LayaFlash getQualifiedClassName和组件定义问题 1.flash.utils.getQualifiedClassName; 现有一个rect_mc, flash库的中链接类名为:Rect, 尝试.getQualifiedClassName(rect_mc)得到的是"iflash.display::MovieClip"而不是"Rect".虽说不支持链接类,但是很多时候写这个类名...
来源: Laya_社区 发布时间: 20160407
API DocumentationAll Packages | All Classes | Index | Frames No Frames UtilsProperties | Methods Packagelaya.utilsClasspublic class UtilsInheritanceUtils Object Utils 是工具类。 Public Properties PropertyDefined By parseXMLFromString : Function[static] 将字符串解析成 XML 对...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames PhysicsComponentProperties | Methods Packagelaya.d3.physicsClasspublic class PhysicsComponentInheritancePhysicsComponent Component ObjectSubclasses CharacterController, PhysicsTriggerComponent PhysicsComponent 类用于...
来源: Laya2.0_api 发布时间: 20190513
...a.Handler; import Browser= Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_SwitchTexture { private texture1: string = "../../res/apes/monkey2.png"; private texture2: string = "../../res/apes/monkey3.png"; private flag: boolean = false; private ape: Sprite; constructor() { // 不支持We...
来源: Laya_示例 发布时间: 20250220
...ned错误 Cannot read property 'displayObject' of null Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function 关于graphics.drawTexture方法设置纹理报错TypeErr...
来源: Laya_社区 发布时间: 20200309
....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 = Stag...
来源: Laya_示例 发布时间: 20250220
API DocumentationAll Packages | All Classes | Index | Frames No Frames TextureCubeProperties | Methods | Constants Packagelaya.d3.resourceClasspublic class TextureCubeInheritanceTextureCube BaseTexture laya.resource.Bitmap TextureCube 类用于生成立方体纹理。 Public Properties Hid...
来源: Laya2.0_api 发布时间: 20190513
...ya.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() { // 不支持WebGL...
来源: Laya_示例 发布时间: 20250220
...ted Externals Only exported Menu Globals "laya/resource/Resource" Resource Class Resource Resource 资源存取类。 Hierarchy EventDispatcher Resource BaseTexture BaseShader TextTexture HTMLCanvas BitmapFont Prefab Material Mesh Texture AtlasResource AnimationClip AnimatorController AnimationClip2...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames TimerProperties | Methods Packagelaya.utilsClasspublic class TimerInheritanceTimer Object Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Public Properties...
来源: laya_api 发布时间: 20170929