大约有 450 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)
Laya3.0_api(223) Laya_社区(109) Laya3.0_文档(41) Laya2.0_文档(28) Laya2.0_api(25) laya_api(22) Laya_示例(1) Laya2.0_示例(1)
...图像资源。建议使用“.atlas”文件(*使用时不需要加入类型设置代码*)。 (图3) #### 2.2 加载动画图集资源 通过`laya.display.Animation`类的`loadAtlas()`方法加载角色的图集动画资源,该方法的基础说明如图4所示。...
来源: Laya2.0_文档 发布时间: 20210715
...a.org/zh-CN/docs/Web/API/EventListener) | 一个事件监听函数,每当类型为`error`的` ErrorEvent 从 worker 中冒泡出来时就会执行该函数。` | 下面我们用原生js看下如何使用。 新建一个js文件,放到index.html中。代码如下: ```typescript var myWorker = n...
来源: Laya2.0_文档 发布时间: 20210715
...换需知(必读)二、刚体 RigidBody2.1 添加刚体组件2.2 刚体类型 type2.3 重力2.4 角速度 angularVelocity2.5 角阻尼 angularDampin2.6 线性速度 linearVelocity2.7 线性阻尼 linearDamping2.8 子弹 bullet2.9 刚体休眠2.10 允许旋转 allowRotation2.11 碰撞相关的属...
来源: Laya3.0_文档 发布时间: 20251010
...in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:222 开始延迟类型,0为常量模式,1为随机随机双常量模式,不能和prewarm一起使用。 startRotationConstant startRotationConstant: number = 0 Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:272 开始...
来源: Laya3.0_api 发布时间: 20231115
...components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.ow...
来源: Laya3.0_api 发布时间: 20231115
...图像资源。建议使用“.atlas”文件(*使用时不需要加入类型设置代码*)。 (图3) #### 2.2 加载动画图集资源 通过`laya.display.Animation`类的`loadAtlas()`方法加载角色的图集动画资源,该方法的基础说明如图4所示。...
来源: Laya2.0_文档 发布时间: 20210715
...及项目管理器,右击每一个UI页面设置默认属性时的导出类型选项,都可以看到内嵌模式、加载模式、分离模式,三个选项。  **默认是内嵌模式**,这种模式下,导出UI的页面时,会将配置信息等内容导出为项目的...
来源: Laya2.0_文档 发布时间: 20210715
...ner(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher hitTestPoint(x:Number, y:Number):Boolean 检测某个点是否在此对象内。 Sprite isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 Ev...
来源: laya_api 发布时间: 20170929
...ner(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher hitTestPoint(x:Number, y:Number):Boolean 检测某个点是否在此对象内。 Sprite isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 Ev...
来源: Laya2.0_api 发布时间: 20190513
...in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:222 开始延迟类型,0为常量模式,1为随机随机双常量模式,不能和prewarm一起使用。 startRotationConstant startRotationConstant: number = 0 Inherited from ShurikenParticleSystem.startRotationConstant Defined in laya/d...
来源: Laya3.0_api 发布时间: 20231115