# TRayHitAccumulator Class Reference
[Data Structures]

Accumulates all the ray hits seen by transparency along a given ray. More...

List of all members.

## Public Member Functions
| TRayHitAccumulator ()
| ~TRayHitAccumulator ()
void | Reset ()
void | SortRayHitsByDistance ()
RayHit3D * | AddNewRayHit ()
void | SetRayHitCount (int32 count)
void | SetCurrentInstance (const RaytracedInstance *instance)
const RaytracedInstance * | GetCurrentInstance ()
int32 | GetRayHitCount ()
RayHit3D * | GetLastRayHit ()
RayHit3D * | GetRayHit (int32 index)
## Protected Attributes
TMCPtrArray< RayHit3D > | fRayHitList
int32 | fRayHitCount
const RaytracedInstance * | fCurrentInstance

## Detailed Description

Accumulates all the ray hits seen by transparency along a given ray.

## Constructor & Destructor Documentation

TRayHitAccumulator::TRayHitAccumulator | ( |  | ) |

TRayHitAccumulator::~TRayHitAccumulator | ( |  | ) |

## Member Function Documentation

RayHit3D* TRayHitAccumulator::AddNewRayHit | ( |  | ) |

const RaytracedInstance* TRayHitAccumulator::GetCurrentInstance | ( |  | ) | `[inline]`

RayHit3D* TRayHitAccumulator::GetLastRayHit | ( |  | ) | `[inline]`

RayHit3D* TRayHitAccumulator::GetRayHit | ( | int32 | index | ) | `[inline]`

int32 TRayHitAccumulator::GetRayHitCount | ( |  | ) | `[inline]`

void TRayHitAccumulator::Reset | ( |  | ) | `[inline]`

void TRayHitAccumulator::SetCurrentInstance | ( | const RaytracedInstance * | instance | ) | `[inline]`

void TRayHitAccumulator::SetRayHitCount | ( | int32 | count | ) |

void TRayHitAccumulator::SortRayHitsByDistance | ( |  | ) |

## Member Data Documentation

const RaytracedInstance* TRayHitAccumulator::fCurrentInstance`[protected]`

int32 TRayHitAccumulator::fRayHitCount`[protected]`

TMCPtrArray<RayHit3D> TRayHitAccumulator::fRayHitList`[protected]`

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

- RayHitAccumulator.h