大约有 1,460 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0064 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
...InheritanceBoxColliderShape ColliderShape Object BoxColliderShape 类用于创建盒子形状碰撞器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quater...
来源: Laya2.0_api 发布时间: 20190513
...nheritanceBaseMesh laya.resource.ResourceSubclasses Mesh BaseMesh 类用于创建网格,抽象类,不允许实例。 Public Properties PropertyDefined By boundingBox : BoundBox[read-only] 获取AABB包围盒,禁止修改其数据。 BaseMesh boundingBoxCorners : Array[read-only] 获取包围...
来源: laya_api 发布时间: 20170929
...宽度。 BaseTexturePublic Methods MethodDefined By DataTexture2D() 创建一个 Texture2D 实例。 DataTexture2D create(data:ArrayBuffer, w:int, h:int, magfilter:int, minfilter:int, mipmap:Boolean = true):DataTexture2D[static] DataTexture2D getPixels():Uint8Array 返回图片像素。 ...
来源: laya_api 发布时间: 20170929
...MethodDefined By Point(x:Number = 0, y:Number = 0) 根据指定坐标,创建一个新的 Point 对象。 Point copy(point:Point):Point copy point坐标 Point create():Point[static] 从对象池创建 Point distance(x:Number, y:Number):Number 计算当前点和目标点(x,y)的距离...
来源: Laya2.0_api 发布时间: 20190513
...脚本一起介绍的UI组件脚本,虽然已经告诉大家它在IDE中创建的方式,但是并没有介绍在哪种情况下使用这种方式,所以我们先来聊一聊2D开发UI过程中会遇到的情况,再引入UI组件脚本的深入讲解。 1.1 功能划分方式 首先,我们...
来源: Laya3.0_文档 发布时间: 20250217
...InheritanceBoundBox ObjectImplements laya.d3.core.IClone BoundBox 类用于创建包围盒。 Public Properties PropertyDefined By max : Vector3最大顶点。BoundBox min : Vector3最小顶点。BoundBoxPublic Methods MethodDefined By BoundBox(min:Vector3, max:Vector3) 创建一个 Boun...
来源: laya_api 发布时间: 20170929
...hods MethodDefined By VelocityOverLifetime(velocity:GradientVelocity) 创建一个 VelocityOverLifetime 实例。 VelocityOverLifetime clone():* 克隆。 VelocityOverLifetime cloneTo(destObject:*):void 克隆。 VelocityOverLifetimeProperty Detailenbalepropertypublic var enbale:Boolean...
来源: laya_api 发布时间: 20170929
...hods MethodDefined By VelocityOverLifetime(velocity:GradientVelocity) 创建一个 VelocityOverLifetime 实例。 VelocityOverLifetime clone():* 克隆。 VelocityOverLifetime cloneTo(destObject:*):void 克隆。 VelocityOverLifetimeProperty Detailenbalepropertypublic var enbale:Boolean...
来源: Laya2.0_api 发布时间: 20190513
# ProgressBar 组件参考 ## 一、通过LayaAirIDE创建ProgressBar组件 ### 1.1 创建ProgressBar ProgressBar 经常被用于显示游戏中某个操作的进度,例如加载资源的进度、角色经验或血量的进度。 点击选择资源面板里的 ProgressBar 组件,拖放...
来源: Laya2.0_文档 发布时间: 20210715
...r" GradientDataNumber Class GradientDataNumber GradientDataNumber 类用于创建浮点渐变。 Hierarchy GradientDataNumber Implements IClone Index Constructors constructor Accessors gradientCount Methods add clone cloneTo getAverageValue getKeyByIndex getValueByIndex Constructors constructor new ...
来源: Laya3.0_api 发布时间: 20231115