Chunks
Moddable voxel sandbox for room-scale VR.
Public Attributes | Properties | List of all members
Chunks.Geometry.WorldSweepHit Struct Reference

Describes a collision between a swept bounding box and the world. More...

Inheritance diagram for Chunks.Geometry.WorldSweepHit:
Chunks.Geometry.IWorldHit

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...
 

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...
 

Detailed Description

Describes a collision between a swept bounding box and the world.

Member Data Documentation

readonly float Chunks.Geometry.WorldSweepHit.Distance

Distance along the projected ray that the collision ocurred.

readonly Vector Chunks.Geometry.WorldSweepHit.Normal

Surface normal of the collision.

readonly Vector Chunks.Geometry.WorldSweepHit.Position

World position of the collision.

Property Documentation

float IWorldHit. Chunks.Geometry.WorldSweepHit.Distance
get
Vector IWorldHit. Chunks.Geometry.WorldSweepHit.Normal
get
Vector IWorldHit. Chunks.Geometry.WorldSweepHit.Position
get

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