Represents a ray with an origin and a direction in 3D space.
More...
|
override string | ToString () |
| Returns a string representation of the ray.
|
|
string | ToString (string format) |
| Returns a string representation of the ray using a specified format.
|
|
string | ToString (string format, IFormatProvider formatProvider) |
| Returns a string representation of the ray using a specified format and format provider.
|
|
Represents a ray with an origin and a direction in 3D space.
Definition at line 15 of file Ray.cs.
◆ ToString() [1/3]
override string Unravel.Core.Ray.ToString |
( |
| ) |
|
Returns a string representation of the ray.
- Returns
- A string that represents the ray.
Definition at line 31 of file Ray.cs.
◆ ToString() [2/3]
string Unravel.Core.Ray.ToString |
( |
string | format | ) |
|
Returns a string representation of the ray using a specified format.
- Parameters
-
format | The format string to use. |
- Returns
- A string that represents the ray.
Definition at line 41 of file Ray.cs.
◆ ToString() [3/3]
string Unravel.Core.Ray.ToString |
( |
string | format, |
|
|
IFormatProvider | formatProvider ) |
Returns a string representation of the ray using a specified format and format provider.
- Parameters
-
format | The format string to use. |
formatProvider | An object that provides culture-specific formatting information. |
- Returns
- A string that represents the ray.
Definition at line 54 of file Ray.cs.
◆ direction
The direction of the ray in 3D space.
Definition at line 25 of file Ray.cs.
◆ origin
The origin point of the ray in 3D space.
Definition at line 20 of file Ray.cs.
The documentation for this struct was generated from the following file:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine_data/data/scripts/scene/physics/Ray.cs