Chunks
Moddable voxel sandbox for room-scale VR.
Public Attributes | List of all members
Chunks.Interface.MenuPanelRaycastHit Struct Reference

Contains information about a Ray hitting a MenuPanel. More...

Public Attributes

readonly MenuPanel MenuPanel
 The MenuPanel that was hit. More...
 
readonly Vector Position
 The location in world space that the hit occurred. More...
 
readonly Vector Normal
 The world space normal of the hit. More...
 
readonly Vector TextureCoord
 The texture coordinates of the hit on the MenuPanel's control display. More...
 
readonly float Distance
 The distance of the ray from its origin to the hit position. More...
 

Detailed Description

Contains information about a Ray hitting a MenuPanel.

Member Data Documentation

readonly float Chunks.Interface.MenuPanelRaycastHit.Distance

The distance of the ray from its origin to the hit position.

readonly MenuPanel Chunks.Interface.MenuPanelRaycastHit.MenuPanel

The MenuPanel that was hit.

readonly Vector Chunks.Interface.MenuPanelRaycastHit.Normal

The world space normal of the hit.

readonly Vector Chunks.Interface.MenuPanelRaycastHit.Position

The location in world space that the hit occurred.

readonly Vector Chunks.Interface.MenuPanelRaycastHit.TextureCoord

The texture coordinates of the hit on the MenuPanel's control display.


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