2020-02-13 00:48:18 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2021-05-31 17:23:29 +01:00
|
|
|
<class name="VoxelRaycastResult" inherits="Reference" version="3.4">
|
2020-02-13 00:48:18 +08:00
|
|
|
<brief_description>
|
2021-01-21 00:37:01 +00:00
|
|
|
Result of a raycast performed with [method VoxelTool.raycast]
|
2020-02-13 00:48:18 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2021-05-31 17:23:29 +01:00
|
|
|
<member name="distance" type="float" setter="" getter="get_distance" default="0.0">
|
|
|
|
</member>
|
2020-02-13 00:48:18 +08:00
|
|
|
<member name="position" type="Vector3" setter="" getter="get_position" default="Vector3( 0, 0, 0 )">
|
2021-01-21 20:04:53 +00:00
|
|
|
Integer position of the voxel that was hit.
|
2020-02-13 00:48:18 +08:00
|
|
|
</member>
|
|
|
|
<member name="previous_position" type="Vector3" setter="" getter="get_previous_position" default="Vector3( 0, 0, 0 )">
|
2021-01-21 20:04:53 +00:00
|
|
|
Integer position of the previous voxel along the ray before the final hit.
|
2020-02-13 00:48:18 +08:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|