• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,982 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0064 秒)

1391. LayaFlash getQualifiedClassName和组件定义问题 [ 62%]

LayaFlash getQualifiedClassName和组件定义问题 1.flash.utils.getQualifiedClassName; 现有一个rect_mc, flash库的中链接类名为:Rect, 尝试.getQualifiedClassName(rect_mc)得到的是"iflash.display::MovieClip"而不是"Rect".虽说不支持链接类,但是很多时候写这个类名...

来源: Laya_社区 发布时间: 20160407

1392. laya.utils.Utils [ 62%]

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

1393. laya.d3.physics.PhysicsComponent [ 62%]

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

1394. Sprite-切换纹理 [ 62%]

...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_示例 发布时间: 20241002

1395. TypeError: Cannot read property 'length' of null [ 62%]

...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

1396. Sprite-遮罩-放大镜 [ 62%]

....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_示例 发布时间: 20241002

1397. laya.d3.resource.TextureCube [ 61%]

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

1398. UI-Dialog [ 61%]

...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_示例 发布时间: 20241002

1399. laya.resource.Resource_API3.0 [ 61%]

...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

1400. laya.utils.Timer [ 61%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TimerProperties | Methods Packagelaya.utilsClasspublic class TimerInheritanceTimer Object Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Public Properties...

来源: laya_api 发布时间: 20170929