大约有 1,460 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0057 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
# ComboBox 组件参考 ## 一、通过LayaAirIDE创建ComboBox组件 ###1.1 创建ComboBox ComboBox 是一个下拉列表选项框组件。 点击选择资源面板里的 ComboBox 组件,拖放到页面编辑区,即可添加 ComboBox 组件到页面上。 ComboBox 的脚本请接口...
来源: Laya2.0_文档 发布时间: 20210715
...0) ### 一、给页面中的组件设置runtime类 在页面管理目录下创建两个scene场景,分别叫MonkeyPage和BGPage,接下来我们在src目录下创建一个game包,在game包中创建一个ImageRunTime类,然后两个scene中各拖入一张Image组件设置runtime属性为game.Im...
来源: Laya2.0_文档 发布时间: 20210715
... new AvatarMask(): AvatarMask Defined in laya/d3/component/AvatarMask.ts:9 创建一个AvatarMask实例 Returns AvatarMask Methods clone clone(): any Defined in laya/d3/component/AvatarMask.ts:47 克隆。 Returns any 克隆副本。 cloneTo cloneTo(destObject: any): void Defined in laya/d3/componen...
来源: Laya3.0_api 发布时间: 20231102
...t;): VertexDeclaration Defined in laya/d3/graphics/VertexDeclaration.ts:45 创建一个 VertexDeclaration 实例。 Parameters vertexStride: number 顶点跨度。 vertexElements: Array<VertexElement> 顶点元素集合。 Returns VertexDeclaration Accessors id get id(): number Defined in laya...
来源: Laya3.0_api 发布时间: 20231102
...dule/shape/CircleShape" CircleShape Class CircleShape CircleShape 类用于创建环形粒子形状。 Hierarchy BaseShape CircleShape Implements IClone Index Constructors constructor Properties arc emitFromEdge enable radius randomDirection shapeType Accessors arcDEG Methods clone cloneTo generateP...
来源: Laya3.0_api 发布时间: 20231115
...version=2.9.0beta&type=2D&category=Animation&class=laya.ani.bone.Skeleton) 创建 DragonBonesDemo.js,代码编写如下: ```java //初始化舞台 Laya.init(1334,750); //创建一个Skeleton对象 var skeleton = new Laya.Skeleton(); //添加到舞台 Laya.stage.addChild(skeleton); skeleton.pos(6...
来源: Laya2.0_文档 发布时间: 20210715
# ComboBox 组件参考 ## 一、通过LayaAirIDE创建ComboBox组件 ###1.1 创建ComboBox ComboBox 是一个下拉列表选项框组件。 点击选择资源面板里的 ComboBox 组件,拖放到页面编辑区,即可添加 ComboBox 组件到页面上。 ComboBox 的脚本请接口...
来源: Laya2.0_文档 发布时间: 20210714
...vent(): Animation2DEvent Defined in laya/components/Animation2DEvent.ts:10 创建一个 Animation2DEvent 实例。 Returns Animation2DEvent Properties eventName eventName: string Defined in laya/components/Animation2DEvent.ts:8 事件触发名称。 params params: any[] Defined in laya/components/An...
来源: Laya3.0_api 发布时间: 20231115
...riggerComponent PhysicsComponent Component Object PhysicsCollider 类用于创建物理碰撞器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By canCollideWith : int 获取可碰撞的碰撞组。 PhysicsComponent canScaleShape : Boolean =...
来源: Laya2.0_api 发布时间: 20190513
...version=2.9.0beta&type=2D&category=Animation&class=laya.ani.bone.Skeleton) 创建 DragonBonesDemo.ts,代码编写如下: ```typescript //初始化舞台 Laya.init(1334,750,Laya.WebGL); //创建一个Skeleton对象 var skeleton:Laya.Skeleton = new Laya.Skeleton(); //添加到舞台 Laya.stage.add...
来源: Laya2.0_文档 发布时间: 20210715