Struct Ray2D
Assembly: UnityEngine.dll
Syntax
Constructors
|
Improve this Doc
View Source
Ray2D(Vector2, Vector2)
Declaration
public Ray2D(Vector2 origin, Vector2 direction)
Parameters
Properties
|
Improve this Doc
View Source
direction
Declaration
public Vector2 direction { get; set; }
Property Value
|
Improve this Doc
View Source
origin
Declaration
public Vector2 origin { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
GetPoint(Single)
Declaration
public Vector2 GetPoint(float distance)
Parameters
Type |
Name |
Description |
Single |
distance |
|
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Improve this Doc
View Source
ToString(String)
Declaration
public string ToString(string format)
Parameters
Type |
Name |
Description |
String |
format |
|
Returns
Extension Methods