Raycast Gizmos visualizer  1.0
Kit.Physic.IOverlapStruct Interface Reference
Inheritance diagram for Kit.Physic.IOverlapStruct:
Kit.Physic.IRayStructBase Kit.Physic.BoxOverlapData Kit.Physic.CapsuleOverlapData Kit.Physic.SphereOverlapData

Public Member Functions

void DrawOverlapGizmos (ref Collider[] colliderResult, 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]
 hit count from last physics check. More...
 
bool hitted [get]
 bool, True if last physics result are hit. More...
 

Member Function Documentation

◆ DrawOverlapGizmos()

void Kit.Physic.IOverlapStruct.DrawOverlapGizmos ( ref Collider []  colliderResult,
int  validArraySize,
Color  color = default(Color),
Color  hitColor = default(Color) 
)

Provide vizualize information (Gizmos)

Parameters
colliderResultThe cached array of collider result.
validArraySizeThe cached hit count from result.
colormain color of Gizmos
hitColorhit color of Gizmos

Implemented in Kit.Physic.BoxOverlapData, Kit.Physic.CapsuleOverlapData, and Kit.Physic.SphereOverlapData.

◆ Reset()

◆ ToString()

string Kit.Physic.IRayStructBase.ToString ( )
inherited

Property Documentation

◆ hitCount

int Kit.Physic.IOverlapStruct.hitCount
get

hit count 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: