大约有 1,460 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0063 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
...a?: any): AvatarMask Defined in laya/d3/component/Animator/AvatarMask.ts:6 创建一个AvatarMask实例 Parameters Optional data: any Returns AvatarMask Methods clone clone(): any Defined in laya/d3/component/Animator/AvatarMask.ts:45 克隆。 Returns any 克隆副本。 cloneTo cloneTo(destObject:...
来源: Laya3.0_api 发布时间: 20231115
...者特别注意,一般出问题都是在这里没有注意。 #### 1.2.1 创建地图时,对图块层格式的要求 点击新建地图,设置好地图大小和块大小等初始参数后,点击另存为,存在你指定的位置即完成了创建。 然而,图块层格式需要特别注...
来源: Laya2.0_文档 发布时间: 20210714
...mathClasspublic class ViewportInheritanceViewport Object Viewport 类用于创建视口。 Public Properties PropertyDefined By height : Number高度Viewport maxDepth : Number最大深度Viewport minDepth : Number最小深度Viewport width : Number宽度Viewport x : NumberX轴坐标V...
来源: Laya2.0_api 发布时间: 20190513
多选框组件(CheckBox)一、通过LayaAir IDE创建CheckBox组件1.1 创建CheckBox1.2 CheckBox属性1.3 脚本控制CheckBox二、代码创建CheckBox多选框组件(CheckBox) CheckBox是多选框组件,继承自Button。它由两部分组成,选择状态框及内容说明标签。...
来源: Laya3.0_文档 发布时间: 20240910
...Error() { trace("error"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自己的缓冲区,可以启用换装(相当耗费内存) mArmature = mFactory.buildArmature(1); Laya.stage.addChild(mArmature); mArmature.pos(mStartX, mStartY); // mArmature.scale(0.5, 0.5); ...
来源: Laya2.0_示例 发布时间: 20250223
...Defined in laya/d3/core/particleShuriKen/module/VelocityOverLifetime.ts:21 创建一个 VelocityOverLifetime 实例。 Parameters velocity: GradientVelocity Returns VelocityOverLifetime Properties enable enable: boolean = false Defined in laya/d3/core/particleShuriKen/module/VelocityOverLifetime.ts:...
来源: Laya3.0_api 发布时间: 20231115
...: AnimatorPlayState2D Defined in laya/components/AnimatorPlayState2D.ts:56 创建一个 AnimatorPlayState 实例。 Returns AnimatorPlayState2D Properties _finish _finish: boolean Defined in laya/components/AnimatorPlayState2D.ts:4 _frontPlay _frontPlay: boolean = true Defined in laya/components/Ani...
来源: Laya3.0_api 发布时间: 20231115
...s "laya/components/Component" Component Class Component Component 类用于创建组件的基类。 Hierarchy Component Widget Volume MeshFilter ConstraintComponent PhysicsComponent BaseRender Light Animator Animator2D RigidBody ColliderBase Script LODGroup HLOD EffectBase JointBase Index Constructo...
来源: Laya3.0_api 发布时间: 20231115
RopeJoint代码动态创建 无法设置otherbody 动态生成预制体组件,要将预制体设置Laya.RopeJoint的otherbody属性,怎么设置怎么失败。 import UIcontrol from "./UIcontrol"; /** * * @ author:shiguanqing * @ email:0110110110@qq.com * @ data: 2022-04-09 15:53 */ export de...
来源: Laya_社区 发布时间: 20220413
...ted Public Methods MethodDefined By EmitterRing(particle3D:Particle3D) 创建一个 EmitterRing 实例。 EmitterRing advanceTime(passedTime:Number = 1):void 时钟前进 EmitterBase clear():void 清理当前的活跃粒子 EmitterBase emit():void[override] 环发射器发射函数。 Emitt...
来源: laya_api 发布时间: 20170603