大约有 327 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)
...一个碰撞器的碰撞信息 distance:Number (default = NaN) — 射线长度,默认为最大值 layer:int (default = 0) — 选定制定层内的碰撞器,其他层内碰撞器忽略 rayCastAll()method public static function rayCastAll(ray:Ray, outHitAllInfo:Vector.<RaycastHit>, dista...
来源: laya_api 发布时间: 20170929
...,百度它的意思就是,每英寸的像素数目,也就是没英寸长度所能够容纳的像素数目。长度对应物理长度,像素对应显示的图片像素。其实这里的物理分辨率就是我们开发过程中用到的坐标数字。 比如iPhone4以前的屏幕物理...
来源: Laya_社区 发布时间: 20160201
...ns void length length(): number Defined in laya/maths/Vector3.ts:413 计算长度。 Returns number 长度。 lengthSquared lengthSquared(): number Defined in laya/maths/Vector3.ts:421 计算平方。 Returns number 返回向量长度的平方。 normalize normalize(): this Defined in laya/maths/Vec...
来源: Laya3.0_api 发布时间: 20231115
...初始化panel,并往panel中addChild。 2、当children没有超出panel长度的时候,正常显示 3、当children超出panel长度之后,最后一个child无法显示,也无法拖动过去。 这个应该是Panel组件的bug。官网上的sample中已经去掉了panel的示例了。 但...
来源: Laya_社区 发布时间: 20180822
... Public Properties PropertyDefined By length : Number[read-only] 获取长度。 CapsuleColliderShape localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape needsCustomCollisionCallback : Boolean = falseCollider...
来源: Laya2.0_api 发布时间: 20190513
... void length length(): number Defined in laya/d3/math/Vector3.ts:404 计算长度。 Returns number 长度。 lengthSquared lengthSquared(): number Defined in laya/d3/math/Vector3.ts:412 计算平方。 Returns number 返回向量长度的平方。 normalize normalize(): this Defined in laya/d3/math...
来源: Laya3.0_api 发布时间: 20231102
...ane normalize():void 更改平面法线向量的系数,使之成单位长度。 PlaneProperty Detaildistancepropertypublic var distance:Number平面到坐标系原点的距离normalproperty public var normal:Vector3平面的向量PlaneIntersectionType_Backproperty public static var PlaneInter...
来源: laya_api 发布时间: 20170929
...ane normalize():void 更改平面法线向量的系数,使之成单位长度。 PlaneProperty Detaildistancepropertypublic var distance:Number平面到坐标系原点的距离normalproperty public var normal:Vector3平面的向量PlaneIntersectionType_Backproperty public static var PlaneInter...
来源: Laya2.0_api 发布时间: 20190513
...维向量。 Vector3 scalarLength(a:Vector3):Number[static] 计算标量长度。 Vector3 scalarLengthSquared(a:Vector3):Number[static] 计算标量长度。 Vector3 scale(a:Vector3, b:Number, out:Vector3):void[static] 缩放三维向量。 Vector3 subtract(a:Vector3, b:Vector3, o:Vector...
来源: laya_api 发布时间: 20170929
...操作,但是如果我定义的属性为数组的话,无法定义数组长度了,这个现在新版本如何变更数组长度?
来源: Laya_社区 发布时间: 20211223