大约有 62 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0030 秒)
...distance:Number, layer:int = 0):void[static] 在场景中投下可与所有碰撞器碰撞的一条光线,获取发生碰撞的第一个碰撞器。 Physics rayCastAll(ray:Ray, outHitAllInfo:Vector.<RaycastHit>, distance:Number, layer:int = 0):void[static] 在场景中投下可与所有碰...
来源: laya_api 发布时间: 20170929
...lider Component3D EventDispatcher Object MeshCollider 类用于创建网格碰撞器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。...
来源: laya_api 发布时间: 20170929
...llider Component3D EventDispatcher Object BoxCollider 类用于创建盒子碰撞器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By boundBox : OrientedBoundBox[read-only] 获取包围盒子。 BoxCollider center : Vector3 中心点 Bo...
来源: laya_api 发布时间: 20170929
...llider Component3D EventDispatcher Object SphereCollider 类用于创建球碰撞器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By boundSphere : BoundSphere[read-only] 获取包围球。 SphereCollider center : Vector3 获取中心...
来源: laya_api 发布时间: 20170929
...int16Array, outHitInfo:RaycastHit):Boolean[static] 计算射线和三角形碰撞并返回碰撞三角形和碰撞距离。 Picker rayIntersectsTriangle(ray:Ray, vertex1:Vector3, vertex2:Vector3, vertex3:Vector3):Number[static] 计算射线和三角形碰撞并返回碰撞距离。 PickerConstruc...
来源: laya_api 发布时间: 20170929
... BoundSphere intersectsRayDistance(ray:Ray):Number 判断射线是否与碰撞球交叉,并返回交叉距离。 BoundSphere intersectsRayPoint(ray:Ray, outPoint:Vector3):Number 判断射线是否与碰撞球交叉,并返回交叉点。 BoundSphere toDefault():voidBoundSphereProperty De...
来源: laya_api 发布时间: 20170929
...或者通过getbounds获取实际宽度。设置此高度只用来做鼠标碰撞使用,改变后并不影响显示对象大小。 Sprite hitArea : *可以设置一个Rectangle区域作为点击区域,或者设置一个HitArea实例作为点击区域,HitArea内可以设置可点击和不可...
来源: laya_api 发布时间: 20170422
...或者通过getbounds获取实际宽度。设置此高度只用来做鼠标碰撞使用,改变后并不影响显示对象大小。 Sprite hitArea : *可以设置一个Rectangle区域作为点击区域,或者设置一个HitArea实例作为点击区域,HitArea内可以设置可点击和不可...
来源: laya_api 发布时间: 20170422
...或者通过getbounds获取实际宽度。设置此高度只用来做鼠标碰撞使用,改变后并不影响显示对象大小。 Sprite hitArea : *可以设置一个Rectangle区域作为点击区域,或者设置一个HitArea实例作为点击区域,HitArea内可以设置可点击和不可...
来源: laya_api 发布时间: 20170422
...测次数。Stat treeSpriteCollision : int = 0[static] 八叉树精灵碰撞检测次数。Stat trianglesFaces : int = 0[static] 三角形面数。StatPublic Methods MethodDefined By enable():void[static] 激活性能统计Stat hide():void[static] 隐藏性能统计信息。 Stat sh...
来源: laya_api 发布时间: 20170929