大约有 523 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0086 秒)
...和服务器之间传输数据的功能。它提供了一个通过 URL 来获取数据的简单方式,并且不会使整个页面刷新。这使得网页只更新一部分页面而不会打扰到用户。 1,属性 属性 类型 描述 onreadystatechange function 一个JavaScript函数对象,...
来源: Laya3.0_文档 发布时间: 20250104
...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/reso...
来源: Laya3.0_api 发布时间: 20231115
...Utils.类中的方法,我先注册了,在创建了实例!但我如何获取实例中对象的属性 // 程序入口 class GameMain { constructor() { Laya.init(600, 400); Laya.ClassUtils.regClass("sp", Reflect); Laya.ClassUtils.getInstance('sp').prototype.name } } new GameMain(); class Reflect ...
来源: Laya_社区 发布时间: 20181029
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D aspectRatio : Number 获取横纵比。 Camera boundFrustum : BoundFrustum[read-only] 获取摄像...
来源: laya_api 发布时间: 20170929
...int类型的所以子物体个数var i :int ; i = this.var.numChildren;//获取子物体个数 //获取单个子物体 this.var.getchildAt("想要拿到的子物体下标int类型")//根据下标获取对应子物体 2018-04-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...
来源: Laya_社区 发布时间: 20180409
[LayaAir3]Pool对象池获取继承对象时会返回基类对象 const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { onStart() { let item1 = Laya.Pool.createByClass(TestClass); console.log('item1:', item1.type); Laya.Pool.recoverByClass(item1); let item2 = Laya...
来源: Laya_社区 发布时间: 20250819
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D aspectRatio : Number[write-only] 设置横纵比。 VRCamera clearColor : Vector4摄像机的清除...
来源: laya_api 发布时间: 20170929
...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/reso...
来源: Laya3.0_api 发布时间: 20231115
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alwaysUseRenderTexture : Boolean 获取是否始终使用渲染纹理,在某些渲染配置下会直接将渲...
来源: Laya2.0_api 发布时间: 20190513