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

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

1. laya.ui.LayoutStyle [ 100%]

...锚点,值为0-1。LayoutStyle  bottom : Number = NaN表示距底边的距离(以像素为单位)。LayoutStyle  centerX : Number = NaN表示距水平方向中心轴的距离(以像素为单位)。LayoutStyle  centerY : Number = NaN表示距垂直方向中心轴的距离(以像素...

来源: laya_api 发布时间: 20170929

2. laya.d3.utils.Picker [ 95%]

...ean[static] 计算射线和三角形碰撞并返回碰撞三角形和碰撞距离。 Picker  rayIntersectsTriangle(ray:Ray, vertex1:Vector3, vertex2:Vector3, vertex3:Vector3):Number[static] 计算射线和三角形碰撞并返回碰撞距离。 PickerConstructor DetailPicker()Constructorpublic fun...

来源: laya_api 发布时间: 20170929

3. laya.d3.math.BoundSphere [ 91%]

...ance(ray:Ray):Number 判断射线是否与碰撞球交叉,并返回交叉距离。 BoundSphere  intersectsRayPoint(ray:Ray, outPoint:Vector3):Number 判断射线是否与碰撞球交叉,并返回交叉点。 BoundSphere  toDefault():voidBoundSphereProperty Detailcenterpropertypublic var cent...

来源: laya_api 发布时间: 20170929

4. laya.maths.Matrix [ 90%]

...使用的 Matrix 对象。Matrix  tx : Number沿 x 轴平移每个点的距离。Matrix  ty : Number沿 y 轴平移每个点的距离。MatrixPublic Methods  MethodDefined By  Matrix(a:Number = 1, b:Number = 0, c:Number = 0, d:Number = 1, tx:Number = 0, ty:Number = 0) 使用指定参数创建...

来源: laya_api 发布时间: 20170929

5. laya.d3.math.Collision [ 88%]

...1:BoundBox, box2:BoundBox):Number[static] 空间中包围盒到包围盒的距离 Collision  distanceBoxToPoint(box:BoundBox, point:Vector3):Number[static] 空间中点到包围盒的距离 Collision  distancePlaneToPoint(plane:Plane, point:Vector3):Number[static] 空间中点到平面的距离 ...

来源: laya_api 发布时间: 20170929

6. laya.maths.Point [ 82%]

... distance(x:Number, y:Number):Number 计算当前点和目标点(x,y)的距离。 Point  normalize():void 标准化向量。 Point  setTo(x:Number, y:Number):Point 将 Point 的成员设置为指定值。 Point  toString():String返回包含 x 和 y 坐标的值的字符串。PointPublic Co...

来源: laya_api 发布时间: 20170929

7. laya.d3.math.Plane [ 81%]

...perties PropertyDefined By  distance : Number平面到坐标系原点的距离Plane  normal : Vector3平面的向量Plane  PlaneIntersectionType_Back : int = 0[static] 平面与其他几何体相交类型Plane  PlaneIntersectionType_Front : int = 1[static] Plane  PlaneIntersectionType_Int...

来源: laya_api 发布时间: 20170929

8. laya.d3.math.Vector4 [ 78%]

...distance(value1:Vector4, value2:Vector4):Number[static] 两个四维向量距离。 Vector4  distanceSquared(value1:Vector4, value2:Vector4):Number[static] 两个四维向量距离的平方。 Vector4  dot(a:Vector4, b:Vector4):Number[static] 求两个四维向量的点积。 Vector4  equals(a...

来源: laya_api 发布时间: 20170929

9. laya.ui.Component [ 75%]

...e  bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存...

来源: laya_api 发布时间: 20170929

10. laya.d3.math.Vector3 [ 73%]

...distance(value1:Vector3, value2:Vector3):Number[static] 两个三维向量距离。 Vector3  distanceSquared(value1:Vector3, value2:Vector3):Number[static] 两个三维向量距离的平方。 Vector3  dot(a:Vector3, b:Vector3):Number[static] 求两个三维向量的点积。 Vector3  equals(a...

来源: laya_api 发布时间: 20170929