public static interface SceneUtil.RayCastResult
This class provides methods to obtain the result of a single ray cast.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
float |
getDistance() |
Obtains the distance from the start position of the ray to the ray-cast node.
|
SceneNode |
getNode() |
Obtains the node cast by the ray in a scene.
|
SceneNode getNode()
float getDistance()