format
typescript
Ray.toString()class: Ray
description
Get the string representation of the Ray's properties.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
string | Returns the string representation of the Ray's properties. |
code example
typescript
const ray = new Ray(new Vector3(0, 0, 0), new Vector3(0, 0, 1));
const rayString = ray.toString();