Ray information for raycast. More...
Public Attributes | |
Vector2 | start |
start position of the ray | |
Vector2 | end |
start position of the ray | |
Vector2 | hit |
contact position of the ray | |
int | hitIndex |
contact index(rigid body) of the ray | |
float | depth |
contact depth of the ray | |
float | ratio |
contact ratio of the ray | |
Properties | |
Vector2 | Start [get, set] |
setter and getter of start | |
Vector2 | End [get, set] |
setter and getter of end | |
Vector2 | Hit [get, set] |
setter and getter of hit | |
int | HitIndex [get, set] |
setter and getter of hitIndex | |
float | Depth [get, set] |
setter and getter of depth | |
float | Ratio [get, set] |
setter and getter of ratio |
Ray information for raycast.