VoxelRaycastResult

Inherits: Reference

Result of a raycast performed with method VoxelTool.raycast

Properties:

Type Name Default
float distance 0.0
Vector3 position Vector3( 0, 0, 0 )
Vector3 previous_position Vector3( 0, 0, 0 )

Property Descriptions

  • float distance = 0.0

  • 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 May 31, 2021