• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,439 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0061 秒)

501. 按钮组件 · LayaAir3.0文档 · LAYABOX [ 70%]

按钮组件(Button)1、LayaAir IDE中使用Button组件1.1 创建Button组件1.2 Button属性1.3 脚本控制Button2、Button代码创建按钮组件(Button) 1、LayaAir IDE中使用Button组件 按钮(Button)组件是最常用的组件之一,可以显示文本标签、图标或者...

来源: Laya3.0_文档 发布时间: 20231019

502. laya.d3.core.particleShuriKen.module.GradientAngularVelocity [ 70%]

...larVelocity ObjectImplements laya.d3.core.IClone GradientRotation 类用于创建渐变角速度。 Public Properties PropertyDefined By  constant : Number[read-only] 固定角速度。 GradientAngularVelocity  constantMax : Number[read-only] 最大随机双固定角速度。 GradientAngularVel...

来源: laya_api 发布时间: 20170929

503. laya.components.AnimatorStateNumberCondition_API3.0 [ 70%]

...ition.constructor Defined in laya/components/AnimatorStateCondition.ts:108 创建number比较条件类 Parameters name: string Returns AnimatorStateNumberCondition Accessors compareFlag get compareFlag(): AniStateConditionNumberCompressType set compareFlag(value: AniStateConditionNumberCompressType)...

来源: Laya3.0_api 发布时间: 20231115

504. laya.d3.physicscannon.shape.CannonCompoundColliderShape_API3.0 [ 70%]

...iderShape Class CannonCompoundColliderShape CompoundColliderShape 类用于创建盒子形状碰撞器。 Hierarchy CannonColliderShape CannonCompoundColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATION_UPX SHAPEORIENTATION_UPY SHAPE...

来源: Laya3.0_api 发布时间: 20231102

505. laya.d3.graphics.VertexPositionNormalColorTangent [ 70%]

...Tangent ObjectImplements IVertex VertexPositionNormalColorTangent 类用于创建位置、法线、颜色、切线顶点结构。 Public Properties PropertyDefined By  color : Vector4[read-only] VertexPositionNormalColorTangent  normal : Vector3[read-only] VertexPositionNormalColorTangent  po...

来源: laya_api 发布时间: 20170929

506. laya.d3.graphics.VertexPositionNormalColorTexture [ 70%]

...Texture ObjectImplements IVertex VertexPositionNormalColorTexture 类用于创建位置、法线、颜色、纹理顶点结构。 Public Properties PropertyDefined By  color : Vector4[read-only] VertexPositionNormalColorTexture  normal : Vector3[read-only] VertexPositionNormalColorTexture  po...

来源: laya_api 发布时间: 20170929

507. HSlider属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 70%]

...0beta&type=2D&category=UI&class=laya.ui.HSlider)。 ## 2、通过LayaAirIDE创建HSlider组件 ### 1.1 创建HSlider ​ 点击选择资源面板里的 HSlider 组件资源,拖放到页面编辑区,即可添加 HSlider 组件到页面上。 ​ HSlider 拖放到编辑器区后,设置sizeGrid...

来源: Laya2.0_文档 发布时间: 20210715

508. HSlider属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 70%]

...0beta&type=2D&category=UI&class=laya.ui.HSlider)。 ## 2、通过LayaAirIDE创建HSlider组件 ### 1.1 创建HSlider ​ 点击选择资源面板里的 HSlider 组件资源,拖放到页面编辑区,即可添加 HSlider 组件到页面上。 ​ HSlider 拖放到编辑器区后,设置sizeGrid...

来源: Laya2.0_文档 发布时间: 20210714

509. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 70%]

...那么我们就来修改下,看看怎么改变样式。 ```typescript //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("input"); //设置file样式 file.style="filter:alpha(opacity=0);opacity:...

来源: Laya2.0_文档 发布时间: 20210715

510. 音频-播放演示 [ 70%]

...age.bgColor = "#232628"; setup(); })(); function setup() { var gap = 10; //创建一个Sprite充当音效播放按钮 var soundButton = createButton("播放音效"); soundButton.x = (Laya.stage.width - soundButton.width * 2 + gap) / 2; soundButton.y = (Laya.stage.height - soundButton.height) / 2; La...

来源: Laya_示例 发布时间: 20240930