Powertek.Rt.PtPrimitive Class Reference

PtPrimitive. More...

Inherited by Powertek.Rt.PtPlanePrimitive, and Powertek.Rt.PtSpherePrimitive.

List of all members.

Public Member Functions

 PtPrimitive ()
virtual PtIntersectionType Intersect (PtRay ray, IntersectionInfo info, PtIntersectionMode mode)
virtual Vertex3f GetNormal (ref Vertex3f pos)
virtual void GetUV (IntersectionInfo info, ref float u, ref float v)

Public Attributes

Vertex3f Position

Properties

String Name [get, set]
bool IsLight [get, set]


Detailed Description


Constructor & Destructor Documentation

Powertek.Rt.PtPrimitive.PtPrimitive (  ) 


Member Function Documentation

virtual Vertex3f Powertek.Rt.PtPrimitive.GetNormal ( ref Vertex3f  pos  )  [virtual]

Return Normal at Point.

Parameters:
pos 
Returns:

Reimplemented in Powertek.Rt.PtPlanePrimitive, and Powertek.Rt.PtSpherePrimitive.

virtual void Powertek.Rt.PtPrimitive.GetUV ( IntersectionInfo  info,
ref float  u,
ref float  v 
) [virtual]

Return UV Texcoord at Point.

Parameters:
info 
u 
v 

Reimplemented in Powertek.Rt.PtPlanePrimitive, and Powertek.Rt.PtSpherePrimitive.

virtual PtIntersectionType Powertek.Rt.PtPrimitive.Intersect ( PtRay  ray,
IntersectionInfo  info,
PtIntersectionMode  mode 
) [virtual]

Intersect.

Parameters:
ray 
info 
mode 
Returns:

Reimplemented in Powertek.Rt.PtPlanePrimitive, and Powertek.Rt.PtSpherePrimitive.


Member Data Documentation

Position.


Property Documentation

bool Powertek.Rt.PtPrimitive.IsLight [get, set]

IsLight.

String Powertek.Rt.PtPrimitive.Name [get, set]

Name of Primitive.


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

Generated on Thu Nov 20 04:45:49 2008 for Powertek.Rt, 1.0.0.60 by  doxygen 1.5.7.1