大约有 1,460 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0058 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
...ingletonList.constructor Defined in laya/d3/physics/PhysicsUpdateList.ts:7 创建一个新的 PhysicsUpdateList 实例。 Returns PhysicsUpdateList Methods destroy destroy(): void Inherited from SingletonList.destroy Defined in laya/utils/SingletonList.ts:76 Returns void indexof indexof(element: Phy...
来源: Laya3.0_api 发布时间: 20231115
....constructor Defined in laya/d3/physicsCannon/CannonPhysicsUpdateList.ts:7 创建一个新的 PhysicsUpdateList 实例。 Returns CannonPhysicsUpdateList Methods destroy destroy(): void Inherited from SingletonList.destroy Defined in laya/utils/SingletonList.ts:69 Returns void indexof indexof(elemen...
来源: Laya3.0_api 发布时间: 20231102
# Button 组件详解 ## 1、创建Button组件 按钮(Button)组件是最常用的组件之一,可以显示文本标签、图标或者两者同时显示。在LayaAirIDE里的按钮图片资源(按钮皮肤)命名通常是以btn为前缀,如图1所示。  (图1...
来源: Laya2.0_文档 发布时间: 20210714
垂直滑动条组件(VSlider)一、通过LayaAir IDE创建VSlider组件1.1 创建VSlider1.2 VSlider属性1.3 脚本控制VSlider二、通过代码创建VSlider组件垂直滑动条组件(VSlider) 一、通过LayaAir IDE创建VSlider组件 HSlider与VSlider组件都是Slider组件的子类...
来源: Laya3.0_文档 发布时间: 20240910
laya.init 可以把画布创建到某个元素下吗? 我想把它放到 wrap 下 <div class="wrap> // canvas </div> 2017-03-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞...
来源: Laya_社区 发布时间: 20170317
水平滑动条组件(HSlider)一、通过LayaAir IDE创建HSlider组件1.1 创建HSlider1.2 HSlider属性1.3 脚本控制HSlider二、通过代码创建HSlider组件水平滑动条组件(HSlider) 一、通过LayaAir IDE创建HSlider组件 HSlider与VSlider组件都是Slider组件的子类...
来源: Laya3.0_文档 发布时间: 20240910
...a.d3.utilsClasspublic class PickerInheritancePicker Object Picker 类用于创建拾取。 Public Methods MethodDefined By Picker() 创建一个 Picker 实例。 Picker calculateCursorRay(point:Vector2, viewPort:Viewport, projectionMatrix:Matrix4x4, viewMatrix:Matrix4x4, world:Matrix4x4, out...
来源: laya_api 发布时间: 20170929
...how(); this.setup(); } setup() { const Event = Laya.Event; var gap = 10; //创建一个Sprite充当音效播放按钮 let soundButton = this.createButton("播放音效"); soundButton.x = (Laya.stage.width - soundButton.width * 2 + gap) / 2; soundButton.y = (Laya.stage.height - soundButton.height) / ...
来源: Laya2.0_示例 发布时间: 20250223
...dule/shape/SphereShape" SphereShape Class SphereShape SphereShape 类用于创建球形粒子形状。 Hierarchy BaseShape SphereShape Implements IClone Index Constructors constructor Properties emitFromShell enable radius randomDirection shapeType Methods clone cloneTo generatePositionAndDirection ...
来源: Laya3.0_api 发布时间: 20231115
...phereShape" HemisphereShape Class HemisphereShape HemisphereShape 类用于创建半球形粒子形状。 Hierarchy BaseShape HemisphereShape Implements IClone Index Constructors constructor Properties emitFromShell enable radius randomDirection shapeType Methods clone cloneTo generatePositionAndDir...
来源: Laya3.0_api 发布时间: 20231115