Voxel toolkit
The toolkit that lets you easily import .vox assets and have runtime API
|
Represents raycast hit info for the voxel object. More...
Public Member Functions | |
RaycastHit (int3 location, float3 worldPoint, Voxel voxel) | |
Public Attributes | |
readonly int3 | Location |
The voxel coordinate that was hit. | |
readonly float3 | WorldPoint |
The world position of the hit. | |
readonly Voxel | Voxel |
The info of the voxel that was hit. | |
Represents raycast hit info for the voxel object.