Defines a ray in two dimensions, specified by a starting position and a direction.
More...
|
Vector2 | Position [get] |
| Specifies the location of the ray's origin. More...
|
|
Vector2 | Direction [get, set] |
| A vector pointing along the ray - automatically normalized when set More...
|
|
Defines a ray in two dimensions, specified by a starting position and a direction.
◆ Vector2Ray()
OmegaEngine.Values.Vector2Ray.Vector2Ray |
( |
Vector2 |
point, |
|
|
Vector2 |
direction |
|
) |
| |
|
inline |
Creates a new ray
- Parameters
-
point | A point along the ray |
direction | A vector pointing along the ray - automatically normalized when set |
◆ Direction
Vector2 OmegaEngine.Values.Vector2Ray.Direction |
|
getset |
A vector pointing along the ray - automatically normalized when set
◆ Position
Vector2 OmegaEngine.Values.Vector2Ray.Position |
|
get |
Specifies the location of the ray's origin.
The documentation for this struct was generated from the following file:
- OmegaEngine/Values/Vector2Ray.cs