Inherited by Powertek.Rt.PtPlanePrimitive, and Powertek.Rt.PtSpherePrimitive.
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] |
| Powertek.Rt.PtPrimitive.PtPrimitive | ( | ) |
| virtual Vertex3f Powertek.Rt.PtPrimitive.GetNormal | ( | ref Vertex3f | pos | ) | [virtual] |
Return Normal at Point.
| pos |
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.
| 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.
| ray | ||
| info | ||
| mode |
Reimplemented in Powertek.Rt.PtPlanePrimitive, and Powertek.Rt.PtSpherePrimitive.
| Vertex3f Powertek.Rt.PtPrimitive.Position |
Position.
bool Powertek.Rt.PtPrimitive.IsLight [get, set] |
IsLight.
String Powertek.Rt.PtPrimitive.Name [get, set] |
Name of Primitive.
1.5.7.1