大约有 1,460 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0062 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
...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
...larVelocity ObjectImplements laya.d3.core.IClone GradientRotation 类用于创建渐变角速度。 Public Properties PropertyDefined By constant : Number[read-only] 固定角速度。 GradientAngularVelocity constantMax : Number[read-only] 最大随机双固定角速度。 GradientAngularVel...
来源: laya_api 发布时间: 20170929
...iderShape Class CannonCompoundColliderShape CompoundColliderShape 类用于创建盒子形状碰撞器。 Hierarchy CannonColliderShape CannonCompoundColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATION_UPX SHAPEORIENTATION_UPY SHAPE...
来源: Laya3.0_api 发布时间: 20231102
...Tangent ObjectImplements IVertex VertexPositionNormalColorTangent 类用于创建位置、法线、颜色、切线顶点结构。 Public Properties PropertyDefined By color : Vector4[read-only] VertexPositionNormalColorTangent normal : Vector3[read-only] VertexPositionNormalColorTangent po...
来源: laya_api 发布时间: 20170929
...Texture ObjectImplements IVertex VertexPositionNormalColorTexture 类用于创建位置、法线、颜色、纹理顶点结构。 Public Properties PropertyDefined By color : Vector4[read-only] VertexPositionNormalColorTexture normal : Vector3[read-only] VertexPositionNormalColorTexture po...
来源: laya_api 发布时间: 20170929
按钮组件(Button)1、LayaAir IDE中使用Button组件1.1 创建Button组件1.2 Button属性1.3 脚本控制Button2、Button代码创建按钮组件(Button) 1、LayaAir IDE中使用Button组件 按钮(Button)组件是最常用的组件之一,可以显示文本标签、图标或者...
来源: Laya3.0_文档 发布时间: 20240910
...那么我们就来修改下,看看怎么改变样式。 ```typescript //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("input"); //设置file样式 file.style="filter:alpha(opacity=0);opacity:...
来源: Laya2.0_文档 发布时间: 20210715
...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_示例 发布时间: 20250223
...0beta&type=2D&category=UI&class=laya.ui.HSlider)。 ## 2、通过LayaAirIDE创建HSlider组件 ### 1.1 创建HSlider 点击选择资源面板里的 HSlider 组件资源,拖放到页面编辑区,即可添加 HSlider 组件到页面上。 HSlider 拖放到编辑器区后,设置sizeGrid...
来源: Laya2.0_文档 发布时间: 20210715
...0beta&type=2D&category=UI&class=laya.ui.HSlider)。 ## 2、通过LayaAirIDE创建HSlider组件 ### 1.1 创建HSlider 点击选择资源面板里的 HSlider 组件资源,拖放到页面编辑区,即可添加 HSlider 组件到页面上。 HSlider 拖放到编辑器区后,设置sizeGrid...
来源: Laya2.0_文档 发布时间: 20210714