Voxel toolkit
The toolkit that lets you easily import .vox assets and have runtime API
Loading...
Searching...
No Matches
VoxelToolkit.RaycastHit Struct Reference

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.
 

Detailed Description

Represents raycast hit info for the voxel object.


The documentation for this struct was generated from the following file: