Painter light interface.
General | |
| virtual tPtr | GetDescStructPtr () const =0 |
| Get the material description structure pointer. {Property}. More... | |
| virtual void | SetName (iHString *aName)=0 |
| Set the light name. {Property}. More... | |
| virtual iHString * | GetName () const =0 |
| Get the light name. {Property}. More... | |
| virtual void | SetType (eLightType aType)=0 |
| Set the light type. {Property}. More... | |
| virtual eLightType | GetType () const =0 |
| Get the light type. {Property}. More... | |
| virtual iPainterLight * | Clone () const =0 |
| Create a copy of this light. More... | |
| virtual iFrustum * | GetFrustum () const =0 |
| Get the light's frustum. {Property}. More... | |
| virtual iBoundingVolume * | GetBoundingVolume () const =0 |
| Get the bounding volume of the light. {Property}. More... | |
| virtual iTransform * | GetTransform () const =0 |
| Get the tranform of the light. {Property}. More... | |
| virtual tBool | SerializeDataTable (iDataTable *apDT, tSerializeFlags aFlags)=0 |
| Serialize the light in a data table. More... | |
| virtual tLightFlags | GetFlags () const =0 |
| Get the light flags. {Property}. More... | |
| virtual void | SetFlags (tLightFlags aFlags)=0 |
| Set the light flags. {Property}. More... | |
| virtual void | SetSyncCounter (tU16 anSync)=0 |
| Set the synchronization counter. {Property}. More... | |
| virtual tU16 | GetSyncCounter () const =0 |
| Get the synchronization counter. {Property}. More... | |
Color & Attenuation | |
| virtual void | SetIntensity (tF32 afI)=0 |
| Set the global light intensity. More... | |
| virtual tF32 | GetIntensity () const =0 |
| Get the global light intensity. {Property}. More... | |
| virtual void | SetDiffuseColor (const sColor3f &col)=0 |
| Set the diffuse color. {Property}. More... | |
| virtual const sColor3f & | GetDiffuseColor () const =0 |
| Get the diffuse color. {Property}. More... | |
| virtual void | SetSpecularColor (const sColor3f &col)=0 |
| Set the specular color. {Property}. More... | |
| virtual const sColor3f & | GetSpecularColor () const =0 |
| Get the specular color. {Property}. More... | |
| virtual void | SetCosineBias (tF32 afBias)=0 |
| Set the cosine weighted bias. More... | |
| virtual tF32 | GetCosineBias () const =0 |
| Get the N.L bias. {Property}. More... | |
| virtual void | SetRange (tF32 afRange)=0 |
| Set the light's range. {Property}. More... | |
| virtual tF32 | GetRange () const =0 |
| Get the light's range. {Property}. More... | |
| virtual void | SetNearClipPlane (tF32 afNearClipPlane)=0 |
| Set the light's near clip plane. {Property}. More... | |
| virtual tF32 | GetNearClipPlane () const =0 |
| Get the light's near clip plane. {Property}. More... | |
| virtual void | SetFarClipPlane (tF32 afFarClipPlane)=0 |
| Set the light's far clip plane. {Property}. More... | |
| virtual tF32 | GetFarClipPlane () const =0 |
| Get the light's far clip plane. {Property}. More... | |
Cookie | |
| virtual tBool | SetCookie (iHString *ahspCookie)=0 |
| Set the cookie texture name. More... | |
| virtual iHString * | GetCookie () const =0 |
| Get the cookie texture. {Property}. More... | |
| virtual tBool | SetCookieTexture (iTexture *apTexture)=0 |
| Set the cookie texture attached to the light. {Property}. More... | |
| virtual iTexture * | GetCookieTexture () const =0 |
| Get the cookie texture attached to the light. {Property}. More... | |
| virtual void | SetCookieMatrix (const sMatrixf &aMatrix)=0 |
| Set the cookie space matrix. {Property}. More... | |
| virtual sMatrixf | GetCookieMatrix () const =0 |
| Get the cookie space matrix. {Property}. More... | |
Shadows | |
| virtual void | SetShadowColor (sColor3f aColor)=0 |
| Set the light's shadow color. {Property}. More... | |
| virtual const sColor3f & | GetShadowColor () const =0 |
| Get the light's shadow color. {Property}. More... | |
| virtual void | SetShadowMapSize (tU32 anSize)=0 |
| Set the shadow map size. (Default:512) {Property}. More... | |
| virtual tU32 | GetShadowMapSize () const =0 |
| Get the shadow map size. {Property}. More... | |
| virtual void | SetShadowMapBias (tF32 afBias)=0 |
| Set the shadow map bias. (Default:-0.005) {Property}. More... | |
| virtual tF32 | GetShadowMapBias () const =0 |
| Get the shadow map bias. {Property}. More... | |
| virtual void | SetShadowMapBlur (tF32 afBlur)=0 |
| Set the shadow map blur. (Default:3.0) {Property}. More... | |
| virtual tF32 | GetShadowMapBlur () const =0 |
| Get the shadow map blur. {Property}. More... | |
| virtual void | SetShadowMapFov (tF32 afFov)=0 |
| Set the shadow map fov. (Default:0) {Property}. More... | |
| virtual tF32 | GetShadowMapFov () const =0 |
| Get the shadow map fov. {Property}. More... | |
| virtual void | SetShadowMapNearFarBias (const sVec3f &avNearFarBias)=0 |
| Set the shadow map near/far/bias parameter. {Property}. More... | |
| virtual sVec3f | GetShadowMapNearFarBias () const =0 |
| Get the shadow map near/far/bias parameter. {Property}. More... | |
| virtual void | SetShadowFilter (eLightShadowFilter aFilter)=0 |
| Set the shadow filter. {Property}. More... | |
| virtual eLightShadowFilter | GetShadowFilter () const =0 |
| Get the shadow filter. {Property}. More... | |
| virtual void | SetShadowMapMatrix (const sMatrixf &aShadowMapMatrix)=0 |
| Set the shadow map space matrix. {Property}. More... | |
| virtual sMatrixf | GetShadowMapMatrix () const =0 |
| Get the shadow map space matrix. {Property}. More... | |
| virtual tBool | SetShadowMapTexture (iTexture *apTexture)=0 |
| Set the shadow map texture attached to the light. {Property}. More... | |
| virtual iTexture * | GetShadowMapTexture () const =0 |
| Get the shadow map texture attached to the light. {Property}. More... | |
Spot light | |
| virtual void | SetSpotInner (tF32 afAngle)=0 |
| Set the inner cone, in radians. {Property}. More... | |
| virtual tF32 | GetSpotInner () const =0 |
| Get the inner cone. {Property}. More... | |
| virtual void | SetSpotOuter (tF32 afAngle)=0 |
| Set the outer cone, in radians. {Property}. More... | |
| virtual tF32 | GetSpotOuter () const =0 |
| Get the outer cone. {Property}. More... | |
Physical based lighting | |
| virtual tBool | SetIBLDiffuse (iHString *ahspIBLDiffuse)=0 |
| Set the IBLDiffuse texture name. {Property}. More... | |
| virtual iHString * | GetIBLDiffuse () const =0 |
| Get the IBLDiffuse texture. {Property}. More... | |
| virtual tBool | SetIBLDiffuseTexture (iTexture *apTexture)=0 |
| Set the IBLDiffuse texture attached to the light. {Property}. More... | |
| virtual iTexture * | GetIBLDiffuseTexture () const =0 |
| Get the IBLDiffuse texture attached to the light. {Property}. More... | |
| virtual tBool | SetIBLSpecular (iHString *ahspIBLSpecular)=0 |
| Set the IBLSpecular texture name. {Property}. More... | |
| virtual iHString * | GetIBLSpecular () const =0 |
| Get the IBLSpecular texture. {Property}. More... | |
| virtual tBool | SetIBLSpecularTexture (iTexture *apTexture)=0 |
| Set the IBLSpecular texture attached to the light. {Property}. More... | |
| virtual iTexture * | GetIBLSpecularTexture () const =0 |
| Get the IBLSpecular texture attached to the light. {Property}. More... | |
| virtual tBool | SetIESProfile (iHString *ahspIESProfile)=0 |
| Set the IESProfile texture name. {Property}. More... | |
| virtual iHString * | GetIESProfile () const =0 |
| Get the IESProfile texture. {Property}. More... | |
| virtual tBool | SetIESProfileTexture (iTexture *apTexture)=0 |
| Set the IESProfile texture attached to the light. {Property}. More... | |
| virtual iTexture * | GetIESProfileTexture () const =0 |
| Get the IESProfile texture attached to the light. {Property}. More... | |
Culling and DrawSets | |
| virtual void | SetIsLightCulled (ni::tBool abCulled)=0 |
| Set whether the light has been culled (is not visible). {Property}. More... | |
| virtual ni::tBool | GetIsLightCulled () const =0 |
| Get whether the light has been culled (is not visible). {Property}. More... | |
| virtual ni::tBool | SetLightDrawSet (iPainterDrawSet *apDrawSet)=0 |
| Set the painter light's light draw set. {Property}. More... | |
| virtual iPainterDrawSet * | GetLightDrawSet () const =0 |
| Get the painter light's light draw set. {Property}. More... | |
| virtual ni::tBool | SetShadowDrawSet (iPainterDrawSet *apDrawSet)=0 |
| Set the painter light's shadow draw set. {Property}. More... | |
| virtual iPainterDrawSet * | GetShadowDrawSet () const =0 |
| Get the painter light's shadow draw set. {Property}. More... | |
| virtual void | SetLightPriority (ni::tU32 anPriority)=0 |
| Set the light's priority. More... | |
| virtual ni::tU32 | GetLightPriority () const =0 |
| Get the light's priority. {Property}. More... | |
Additional Inherited Members | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Get the material description structure pointer. {Property}.
|
pure virtual |
Get the light name. {Property}.
|
pure virtual |
Set the light type. {Property}.
|
pure virtual |
Get the light type. {Property}.
|
pure virtual |
Create a copy of this light.
|
pure virtual |
Get the light's frustum. {Property}.
|
pure virtual |
Get the bounding volume of the light. {Property}.
|
pure virtual |
Get the tranform of the light. {Property}.
|
pure virtual |
Serialize the light in a data table.
|
pure virtual |
Get the light flags. {Property}.
|
pure virtual |
Set the light flags. {Property}.
Set the synchronization counter. {Property}.
|
pure virtual |
Get the synchronization counter. {Property}.
Set the global light intensity.
|
pure virtual |
Get the global light intensity. {Property}.
Set the diffuse color. {Property}.
|
pure virtual |
Get the diffuse color. {Property}.
Set the specular color. {Property}.
|
pure virtual |
Get the specular color. {Property}.
Set the cosine weighted bias.
|
pure virtual |
Get the N.L bias. {Property}.
Set the light's range. {Property}.
|
pure virtual |
Get the light's range. {Property}.
Set the light's near clip plane. {Property}.
|
pure virtual |
Get the light's near clip plane. {Property}.
Set the light's far clip plane. {Property}.
|
pure virtual |
Get the light's far clip plane. {Property}.
Set the cookie texture name.
|
pure virtual |
Get the cookie texture. {Property}.
Set the cookie texture attached to the light. {Property}.
|
pure virtual |
Get the cookie texture attached to the light. {Property}.
Set the cookie space matrix. {Property}.
|
pure virtual |
Get the cookie space matrix. {Property}.
Set the light's shadow color. {Property}.
|
pure virtual |
Get the light's shadow color. {Property}.
Set the shadow map size. (Default:512) {Property}.
|
pure virtual |
Get the shadow map size. {Property}.
Set the shadow map bias. (Default:-0.005) {Property}.
|
pure virtual |
Get the shadow map bias. {Property}.
Set the shadow map blur. (Default:3.0) {Property}.
|
pure virtual |
Get the shadow map blur. {Property}.
Set the shadow map fov. (Default:0) {Property}.
|
pure virtual |
Get the shadow map fov. {Property}.
Set the shadow map near/far/bias parameter. {Property}.
|
pure virtual |
Get the shadow map near/far/bias parameter. {Property}.
|
pure virtual |
Set the shadow filter. {Property}.
|
pure virtual |
Get the shadow filter. {Property}.
Set the shadow map space matrix. {Property}.
|
pure virtual |
Get the shadow map space matrix. {Property}.
Set the shadow map texture attached to the light. {Property}.
|
pure virtual |
Get the shadow map texture attached to the light. {Property}.
|
pure virtual |
Get the inner cone. {Property}.
|
pure virtual |
Get the outer cone. {Property}.
Set the IBLDiffuse texture name. {Property}.
|
pure virtual |
Get the IBLDiffuse texture. {Property}.
Set the IBLDiffuse texture attached to the light. {Property}.
|
pure virtual |
Get the IBLDiffuse texture attached to the light. {Property}.
Set the IBLSpecular texture name. {Property}.
|
pure virtual |
Get the IBLSpecular texture. {Property}.
Set the IBLSpecular texture attached to the light. {Property}.
|
pure virtual |
Get the IBLSpecular texture attached to the light. {Property}.
Set the IESProfile texture name. {Property}.
|
pure virtual |
Get the IESProfile texture. {Property}.
Set the IESProfile texture attached to the light. {Property}.
|
pure virtual |
Get the IESProfile texture attached to the light. {Property}.
Set whether the light has been culled (is not visible). {Property}.
|
pure virtual |
Get whether the light has been culled (is not visible). {Property}.
|
pure virtual |
Set the painter light's light draw set. {Property}.
|
pure virtual |
Get the painter light's light draw set. {Property}.
|
pure virtual |
Set the painter light's shadow draw set. {Property}.
|
pure virtual |
Get the painter light's shadow draw set. {Property}.
Set the light's priority.
|
pure virtual |
Get the light's priority. {Property}.
1.8.7