Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 3.1
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
geometry
IRaySubMeshResult
Interface IRaySubMeshResult
射线检测结果的存储结构。
Hierarchy
IRaySubMeshResult
Index
Properties
distance
vertex
Index0
vertex
Index1
vertex
Index2
Properties
distance
distance
:
number
击中点和射线的距离。
vertex
Index0
vertex
Index0
:
number
三角形顶点0的索引。
vertex
Index1
vertex
Index1
:
number
三角形顶点1的索引
vertex
Index2
vertex
Index2
:
number
三角形顶点2的索引
Globals
geometry
IRay
Sub
Mesh
Result
distance
vertex
Index0
vertex
Index1
vertex
Index2
Generated using
TypeDoc
射线检测结果的存储结构。