|
Chunks
Moddable voxel sandbox for room-scale VR.
|
Describes a point being projected along a line a specific direction. More...
Public Member Functions | |
| Ray (Vector origin, Vector direction) | |
| Constructs a new Ray with the given starting position and direction of travel. More... | |
| Vector | GetPoint (float delta) |
| Gets a point along the ray delta units from the origin. More... | |
Public Attributes | |
| readonly Vector | Origin |
| Starting point of the ray. More... | |
| readonly Vector | Direction |
| Direction of travel. More... | |
Describes a point being projected along a line a specific direction.
Constructs a new Ray with the given starting position and direction of travel.
| origin | Starting position |
| direction | Direction of travel |
| Vector Chunks.Geometry.Ray.GetPoint | ( | float | delta | ) |
Gets a point along the ray delta units from the origin.
| delta | Distance along the ray of the point |
| readonly Vector Chunks.Geometry.Ray.Direction |
Direction of travel.
| readonly Vector Chunks.Geometry.Ray.Origin |
Starting point of the ray.
1.8.10