Home

entity_hit_list Class Reference

Represents a variable length, read-only list of entity_hit objects. More...

#include <raytest.hxx>

Inherits object_hit_list.

List of all members.

Public Member Functions

int count () const
 Returns number of items in the entity_hit_list.
entity_hitoperator[] (int index)
 Returns a pointer to the ith item in the entity_hit_list.


Detailed Description

Represents a variable length, read-only list of entity_hit objects.


Role: This class provides the mechanism for returning ray hits to the caller of api_ray_fire.

See also:
entity_hit, SPAparameter, ENTITY

Member Function Documentation

int entity_hit_list::count (  )  const

Returns number of items in the entity_hit_list.

entity_hit* entity_hit_list::operator[] ( int  index  ) 

Returns a pointer to the ith item in the entity_hit_list.