Public Attributes
tagXSI_RTS_Light Struct Reference

Detailed Description

The XSI_RTS_Light structure.

Holds information about a single light source. Used by the legacy tagXSI_RTS_SceneData structure which is accessed via the tagXSI_RTS_SystemParams::m_SceneData member.

See also:
tagXSI_RTS_SystemParams::m_pLights, Light

#include <XSI_rtshaders.h>

List of all members.

Public Attributes

float  m_fRed
float  m_fGreen
float  m_fBlue
float  m_fAlpha
float  m_fPosX
float  m_fPosY
float  m_fPosZ
float  m_fPosW
float  m_fDirX
float  m_fDirY
float  m_fDirZ
float  m_fConeAngle
int  m_iID
char *  m_pchID
eXSI_RTS_LightType  m_eType
bool  m_bCastsShadows
bool  m_bVisible

Member Data Documentation

float m_fRed

Light red value

float m_fGreen

Light green value

float m_fBlue

Light blue value

float m_fAlpha

Light alpha value

float m_fPosX

Light X position

float m_fPosY

Light Y position

float m_fPosZ

Light Z position

float m_fPosW

Light W position

float m_fDirX

Light X direction

float m_fDirY

Light Y direction

float m_fDirZ

Light Z direction

float m_fConeAngle

Spot light cone angle

int m_iID

OpenGL light ID

char* m_pchID

Light handle

Light type

Light casts shadows

bool m_bVisible

Light object is visible


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