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

Public Member Functions

void DrawAllGizmos (ref RaycastHit[] raycastHits, int validArraySize, Color color=default(Color), Color hitColor=default(Color))
 Provide vizualize information (Gizmos) More...
 
void Reset ()
 Reset parameters More...
 
string ToString ()
 Provide vizualize information (Gizmos) More...
 

Properties

int hitCount [get]
 
bool hitted [get]
 bool, True if last physics result are hit. More...
 

Member Function Documentation

◆ DrawAllGizmos()

void Kit.Physic.IRayAllStruct.DrawAllGizmos ( ref RaycastHit []  raycastHits,
int  validArraySize,
Color  color = default(Color),
Color  hitColor = default(Color) 
)

Provide vizualize information (Gizmos)

Parameters
raycastHitsThe cached array of Raycast result.
validArraySizeThe cached hit count from result.
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

◆ hitCount

int Kit.Physic.IRayAllStruct.hitCount
get

◆ 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: