Chunks
Moddable voxel sandbox for room-scale VR.
|
Describes a collision between a ray and the world. More...
Public Attributes | |
readonly Vector | Position |
World position of the collision. More... | |
readonly Vector | Normal |
Surface normal of the collision. More... | |
readonly float | Distance |
Distance along the projected ray that the collision ocurred. More... | |
readonly IntVector | BlockPosition |
World block position of the collision. More... | |
readonly Block | HitBlock |
The type of block that was hit. More... | |
Properties | |
Vector IWorldHit. | Position [get] |
Vector IWorldHit. | Normal [get] |
float IWorldHit. | Distance [get] |
Properties inherited from Chunks.Geometry.IWorldHit | |
Vector | Position [get] |
World position of the collision. More... | |
Vector | Normal [get] |
Surface normal of the collision. More... | |
float | Distance [get] |
Distance along the projected ray or sweep that the collision ocurred. More... | |
Describes a collision between a ray and the world.
readonly IntVector Chunks.Geometry.WorldRaycastHit.BlockPosition |
World block position of the collision.
readonly float Chunks.Geometry.WorldRaycastHit.Distance |
Distance along the projected ray that the collision ocurred.
readonly Block Chunks.Geometry.WorldRaycastHit.HitBlock |
The type of block that was hit.
readonly Vector Chunks.Geometry.WorldRaycastHit.Position |
World position of the collision.
|
get |
|
get |
|
get |