|
resonance 1.0.1
|
One point light as the vertex lighting path consumes it. More...
#include <psenviron.h>

Public Attributes | |
| Vector3 | mPosition |
| Vector3 | mTransformedPosition |
| mPosition in the space of the transform TransformLightRecords() or SelectLightForVertex() last took. | |
| Color | mAmbient |
| Color | mDiffuse |
| int | mCulled |
| 1 when TransformLightRecords() found the light out of reach of the bounding sphere. | |
| unsigned | mReserved44 [3] |
One point light as the vertex lighting path consumes it.
The record is not polymorphic and does not emit an RTTI descriptor. The name is inferred. PsEnviron::DrawShowing() fills mPosition, mAmbient, and mDiffuse.
| Vector3 Rnd::PointLightRecord::mPosition |
< Translation row of the light's world transform, with Rnd::Light::mRange in the padding word.
| Vector3 Rnd::PointLightRecord::mTransformedPosition |
mPosition in the space of the transform TransformLightRecords() or SelectLightForVertex() last took.
The fourth word carries the range over unchanged, and the reach test reads it from here. +0x10
| Color Rnd::PointLightRecord::mAmbient |
Copied from Rnd::Light::mAmbient.
| Color Rnd::PointLightRecord::mDiffuse |
Copied from Rnd::Light::mDiffuse.
| int Rnd::PointLightRecord::mCulled |
1 when TransformLightRecords() found the light out of reach of the bounding sphere.
+0x40
| unsigned Rnd::PointLightRecord::mReserved44[3] |
Pads the record to 0x50 bytes. +0x44