
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] |
| Powertek.Rt.PtRtLight.PtRtLight | ( | ) |
| Powertek.Rt.PtRtLight.PtRtLight | ( | PtLight | light | ) |
| object Powertek.Rt.PtRtLight.Clone | ( | ) |
create a deep copy object...
| void Powertek.Rt.PtRtLight.Init | ( | Vertex3f | position, | |
| Vertex3f | color, | |||
| float | size, | |||
| PtLightType | type | |||
| ) |
Init.
| 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.
| light |
| PtIntersectionType Powertek.Rt.PtRtLight.IntersectLight | ( | PtRay | ray, | |
| IntersectionInfo | info | |||
| ) |
IntersectLight.
| ray | ||
| info |
| void Powertek.Rt.PtRtLight.Render | ( | ) |
Render.
| Vertex3f Powertek.Rt.PtRtLight.SampleLight | ( | int | threadId | ) |
SampleLight.
| threadId |
| void Powertek.Rt.PtRtLight.SetSamples | ( | int | numThreads, | |
| int | numSamples | |||
| ) |
SetSamples(.
| numThreads | ||
| numSamples |
active
affectsDiffuse
affectsSpecular
ambientOnly
CauseShadow.
| Vertex3f Powertek.Rt.PtRtLight.Color |
Color.
intensity
| PtLightType Powertek.Rt.PtRtLight.LightType |
LightType.
| String Powertek.Rt.PtRtLight.Name |
Name.
| Vertex3f Powertek.Rt.PtRtLight.Position |
Position.
Size.
useGlobal
int Powertek.Rt.PtRtLight.LightSamples [get] |
LightSamples.
1.5.7.1