Powertek.Rt.PtRtLight Class Reference

PtRtLight. More...

Collaboration diagram for Powertek.Rt.PtRtLight:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PtRtLight ()
 PtRtLight (PtLight light)
void Init (PtLight light)
object Clone ()
void Init ()
void SetSamples (int numThreads, int numSamples)
Vertex3f SampleLight (int threadId)
void Init (Vertex3f position, Vertex3f color, float size, PtLightType type)
void Render ()
PtIntersectionType IntersectLight (PtRay ray, IntersectionInfo info)

Public Attributes

String Name
Vertex3f Position
Vertex3f Color
PtLightType LightType
float Size
float intensity
bool CauseShadow
bool useGlobal
bool active
bool affectsDiffuse
bool affectsSpecular
bool ambientOnly

Properties

int LightSamples [get]


Detailed Description


Constructor & Destructor Documentation

Powertek.Rt.PtRtLight.PtRtLight (  ) 

Powertek.Rt.PtRtLight.PtRtLight ( PtLight  light  ) 

PtRtLight.

Parameters:
light 


Member Function Documentation

object Powertek.Rt.PtRtLight.Clone (  ) 

create a deep copy object...

Returns:

void Powertek.Rt.PtRtLight.Init ( Vertex3f  position,
Vertex3f  color,
float  size,
PtLightType  type 
)

Init.

Parameters:
position 
color 
size 
type 

void Powertek.Rt.PtRtLight.Init (  ) 

Init, use this if all params are already set (ase loader...).

void Powertek.Rt.PtRtLight.Init ( PtLight  light  ) 

Init.

Parameters:
light 

PtIntersectionType Powertek.Rt.PtRtLight.IntersectLight ( PtRay  ray,
IntersectionInfo  info 
)

IntersectLight.

Parameters:
ray 
info 
Returns:

void Powertek.Rt.PtRtLight.Render (  ) 

Render.

Vertex3f Powertek.Rt.PtRtLight.SampleLight ( int  threadId  ) 

SampleLight.

Parameters:
threadId 
Returns:

void Powertek.Rt.PtRtLight.SetSamples ( int  numThreads,
int  numSamples 
)

SetSamples(.

Parameters:
numThreads 
numSamples 


Member Data Documentation

active

affectsDiffuse

affectsSpecular

ambientOnly

CauseShadow.

Color.

intensity

LightType.

Name.

Position.

Size.

useGlobal


Property Documentation

int Powertek.Rt.PtRtLight.LightSamples [get]

LightSamples.


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

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