godot_voxel/doc/source/api/VoxelRaycastResult.md
Marc Gilleron d5a69003c3 Add missing classes and run doctool (doctool has issues though)
VoxelGeneratorHeightmap.height_range is wrong in the doc.
VoxelTool lost all default values in doc.
These are likely Godot bugs...
2021-11-06 02:04:16 +00:00

1.2 KiB

VoxelRaycastResult

Inherits: Reference

Result of a raycast performed with method VoxelTool.raycast

Properties:

Type Name Default
float distance 2.94273e-44
Vector3 position Vector3( 0, 0, 0 )
Vector3 previous_position Vector3( 0, 0, 0 )

Property Descriptions

  • float distance = 2.94273e-44

  • Vector3 position = Vector3( 0, 0, 0 )

Integer position of the voxel that was hit.

  • Vector3 previous_position = Vector3( 0, 0, 0 )

Integer position of the previous voxel along the ray before the final hit.

Generated on Nov 06, 2021