Raycast Gizmos visualizer  1.0
Kit.Physic.IRayStruct Interface Reference
Inheritance diagram for Kit.Physic.IRayStruct:
Kit.Physic.IRayStructBase Kit.Physic.BoxCastData Kit.Physic.CapsuleCastData Kit.Physic.RaycastData Kit.Physic.SphereCastData

Public Member Functions

void DrawGizmos (Color color, Color hitColor)
 Provide vizualize information (Gizmos) More...
 
void Reset ()
 Reset parameters More...
 
string ToString ()
 Provide vizualize information (Gizmos) More...
 

Properties

RaycastHit hitResult [get]
 hit result cached from last physics check. More...
 
bool hitted [get]
 bool, True if last physics result are hit. More...
 

Member Function Documentation

◆ DrawGizmos()

void Kit.Physic.IRayStruct.DrawGizmos ( Color  color,
Color  hitColor 
)

Provide vizualize information (Gizmos)

Parameters
colormain color of Gizmos
hitColorhit color of Gizmos

Implemented in Kit.Physic.CapsuleCastData, Kit.Physic.BoxCastData, Kit.Physic.RaycastData, and Kit.Physic.SphereCastData.

◆ Reset()

◆ ToString()

string Kit.Physic.IRayStructBase.ToString ( )
inherited

Property Documentation

◆ hitResult

RaycastHit Kit.Physic.IRayStruct.hitResult
get

hit result cached from last physics check.

◆ hitted

bool Kit.Physic.IRayStructBase.hitted
getinherited

bool, True if last physics result are hit.


The documentation for this interface was generated from the following file: