#include <mxsPlugin.h>
Public Member Functions |
|
MSLightXtnd (MSPluginClass *pc, BOOL loading) | |
~MSLightXtnd () | |
RefTargetHandle | Clone (RemapDir &remap) |
This method is used by 3ds Max to clone an
object. |
|
int | Display (TimeValue t, INode *inode, ViewExp *vpt, int flags) |
This is called by the system to have the
item display itself (perform a quick render in viewport, using the
current TM). |
|
void | GetWorldBoundBox (TimeValue t, INode *inode, ViewExp *vpt, Box3 &abox) |
This method returns the world space bounding
box for Objects (see below for the Sub-object gizmo or Modifiers
gizmo version). |
|
void | GetLocalBoundBox (TimeValue t, INode *inode, ViewExp *vpt, Box3 &abox) |
This is the object space bounding box, the
box in the object's local coordinates. |
|
void | GetDeformBBox (TimeValue t, Box3 &abox, Matrix3 *tm, BOOL useSel) |
This method computes the bounding box in the
objects local coordinates or the optional space defined by tm.
|
|
int | HitTest (TimeValue t, INode *inode, int type, int crossing, int flags, IPoint2 *p, ViewExp *vpt) |
This method is called to determine if the
specified screen point intersects the item. |
|
void | Snap (TimeValue t, INode *inode, SnapInfo *snap, IPoint2 *p, ViewExp *vpt) |
Checks the point passed for a snap and
updates the SnapInfo
structure. |
|
RefResult | EvalLightState (TimeValue time, Interval &valid, LightState *ls) |
This method is called to update the passed
LightState
and validity interval of the light. |
|
ObjLightDesc * | CreateLightDesc (INode *n, BOOL forceShadowBuf) |
void | SetUseLight (int onOff) |
BOOL | GetUseLight (void) |
void | SetHotspot (TimeValue time, float f) |
float | GetHotspot (TimeValue t, Interval &valid=Interval(0, 0)) |
void | SetFallsize (TimeValue time, float f) |
float | GetFallsize (TimeValue t, Interval &valid=Interval(0, 0)) |
void | SetAtten (TimeValue time, int which, float f) |
float | GetAtten (TimeValue t, int which, Interval &valid=Interval(0, 0)) |
void | SetTDist (TimeValue time, float f) |
float | GetTDist (TimeValue t, Interval &valid=Interval(0, 0)) |
void | SetConeDisplay (int s, int notify=TRUE) |
BOOL | GetConeDisplay (void) |
int | GetShadowMethod () |
Returns the type of shadows used by the
light. |
|
void | SetRGBColor (TimeValue t, Point3 &rgb) |
Point3 | GetRGBColor (TimeValue t, Interval &valid=Interval(0, 0)) |
void | SetIntensity (TimeValue time, float f) |
float | GetIntensity (TimeValue t, Interval &valid=Interval(0, 0)) |
void | SetAspect (TimeValue t, float f) |
float | GetAspect (TimeValue t, Interval &valid=Interval(0, 0)) |
void | SetUseAtten (int s) |
BOOL | GetUseAtten (void) |
void | SetAttenDisplay (int s) |
BOOL | GetAttenDisplay (void) |
void | Enable (int enab) |
void | SetMapBias (TimeValue t, float f) |
float | GetMapBias (TimeValue t, Interval &valid=Interval(0, 0)) |
void | SetMapRange (TimeValue t, float f) |
float | GetMapRange (TimeValue t, Interval &valid=Interval(0, 0)) |
void | SetMapSize (TimeValue t, int f) |
int | GetMapSize (TimeValue t, Interval &valid=Interval(0, 0)) |
void | SetRayBias (TimeValue t, float f) |
float | GetRayBias (TimeValue t, Interval &valid=Interval(0, 0)) |
int | GetAbsMapBias () |
Returns the lights Absolute Map Bias
setting. |
|
void | SetAbsMapBias (int a) |
Sets the lights Absolute Map Bias setting.
|
|
int | GetOvershoot () |
void | SetOvershoot (int a) |
int | GetProjector () |
Returns the lights Projector on / off
setting. |
|
void | SetProjector (int a) |
Sets the lights projector on / off setting.
|
|
ExclList * | GetExclList () |
Returns the list of names of items included
or excluded by this light. |
|
BOOL | Include () |
Returns TRUE if the light's name list is of
items to be included by the light. |
|
Texmap * | GetProjMap () |
void | SetProjMap (Texmap *pmap) |
void | UpdateTargDistance (TimeValue t, INode *inode) |
Updates the display of the light's target
distance in the light's rollup page. |
|
int | UsesWireColor () |
This method determines if the object color
is used for display. |
|
GenLight * | NewLight (int type) |
int | Type () |
void | SetType (int tp) |
BOOL | IsSpot () |
BOOL | IsDir () |
void | SetSpotShape (int s) |
int | GetSpotShape (void) |
void | SetHSVColor (TimeValue t, Point3 &hsv) |
Point3 | GetHSVColor (TimeValue t, Interval &valid=Interval(0, 0)) |
void | SetContrast (TimeValue time, float f) |
float | GetContrast (TimeValue t, Interval &valid=Interval(0, 0)) |
void | SetUseAttenNear (int s) |
BOOL | GetUseAttenNear (void) |
void | SetAttenNearDisplay (int s) |
BOOL | GetAttenNearDisplay (void) |
ExclList & | GetExclusionList () |
void | SetExclusionList (ExclList &list) |
BOOL | SetHotSpotControl (Control *c) |
BOOL | SetFalloffControl (Control *c) |
BOOL | SetColorControl (Control *c) |
Control * | GetHotSpotControl () |
Control * | GetFalloffControl () |
Control * | GetColorControl () |
void | SetAffectDiffuse (BOOL onOff) |
BOOL | GetAffectDiffuse () |
void | SetAffectSpecular (BOOL onOff) |
BOOL | GetAffectSpecular () |
void | SetDecayType (BOOL onOff) |
BOOL | GetDecayType () |
void | SetDecayRadius (TimeValue time, float f) |
float | GetDecayRadius (TimeValue t, Interval &valid=Interval(0, 0)) |
void | SetDiffuseSoft (TimeValue time, float f) |
float | GetDiffuseSoft (TimeValue t, Interval &valid=Interval(0, 0)) |
int | GetUseGlobal () |
void | SetUseGlobal (int a) |
int | GetShadow () |
void | SetShadow (int a) |
int | GetShadowType () |
void | SetShadowType (int a) |
void | SetShadColor (TimeValue t, Point3 &rgb) |
Point3 | GetShadColor (TimeValue t, Interval &valid=Interval(0, 0)) |
BOOL | GetLightAffectsShadow () |
void | SetLightAffectsShadow (BOOL b) |
void | SetShadMult (TimeValue t, float m) |
float | GetShadMult (TimeValue t, Interval &valid=Interval(0, 0)) |
Texmap * | GetShadowProjMap () |
void | SetShadowProjMap (Texmap *pmap) |
void | SetAmbientOnly (BOOL onOff) |
BOOL | GetAmbientOnly () |
void | SetAtmosShadows (TimeValue t, int onOff) |
int | GetAtmosShadows (TimeValue t) |
void | SetAtmosOpacity (TimeValue t, float f) |
float | GetAtmosOpacity (TimeValue t, Interval &valid=FOREVER) |
void | SetAtmosColAmt (TimeValue t, float f) |
float | GetAtmosColAmt (TimeValue t, Interval &valid=FOREVER) |
void | SetUseShadowColorMap (TimeValue t, int onOff) |
int | GetUseShadowColorMap (TimeValue t) |
void | SetShadowGenerator (ShadowType *s) |
ShadowType * | GetShadowGenerator () |
MSLightXtnd | ( | MSPluginClass * | pc, |
BOOL | loading | ||
) |
~MSLightXtnd | ( | ) | [inline] |
{ DeleteAllRefsFromMe(); }
RefTargetHandle Clone | ( | RemapDir & | remap | ) | [virtual] |
This method is used by 3ds Max to clone an object.
class MyDerivedPlugin : public MyBasePlugin { const int MY_REFERENCE = 1; ReferenceTarget* Clone(RemapDir& remap) { ReferenceTarget* result = new MyDerivedPlugin(); BaseClone(this, result, remap); return result; } void BaseClone(ReferenceTarget* from, ReferenceTarget* to, RemapDir& remap) { if (!to || !from || from == to) return; MyBasePlugin::BaseClone(from, to, remap); to->ReplaceReference(MY_REFERENCE, remap->CloneRef(from->GetReference(MY_REFERENCE))); } };
This method should not be directly called by plug-ins. Instead, either RemapDir::CloneRef() or CloneRefHierachy() should be used to perform cloning. These methods ensure that the mapping from the original object to the clone is added to the RemapDir used for cloning, which may be used during backpatch operations
remap | - A RemapDir instance used for remapping references during a Clone. |
Reimplemented from MSPluginLight.
This is called by the system to have the item display itself (perform a quick render in viewport, using the current TM).
Note: For this method to be called the object's validity interval must be invalid at the specified time t. If the interval is valid, the system may not call this method since it thinks the display is already valid.
t | The time to display the object. |
inode | The node to display. |
vpt | An interface pointer that may be used to call methods associated with the viewports. |
flags | See Display Flags. |
Reimplemented from MSObjectXtnd< GenLight, MSPluginLight >.
This method returns the world space bounding box for Objects (see below for the Sub-object gizmo or Modifiers gizmo version).
The bounding box returned by this method does not need to be precise. It should however be calculated rapidly. The object can handle this by transforming the 8 points of its local bounding box into world space and take the minimums and maximums of the result. Although this isn't necessarily the tightest bounding box of the objects points in world space, it is close enough.
t | The time to compute the bounding box. |
inode | The node to calculate the bounding box for. |
vp | An interface pointer that can be used to call methods associated with the viewports. |
box | Contains the returned bounding box. |
Reimplemented from MSObjectXtnd< GenLight, MSPluginLight >.
This is the object space bounding box, the box in the object's local coordinates.
The system expects that requesting the object space bounding box will be fast.
t | The time to retrieve the bounding box. |
inode | The node to calculate the bounding box for. |
vp | An interface pointer that may be used to call methods associated with the viewports. |
box | Contains the returned bounding box. |
Reimplemented from MSObjectXtnd< GenLight, MSPluginLight >.
This method computes the bounding box in the objects local coordinates or the optional space defined by tm.
Note: If you are looking for a precise bounding box, use this method and pass in the node's object TM (INode::GetObjectTM()) as the matrix.
t | The time to compute the box. |
box | A reference to a box the result is stored in. |
tm | This is an alternate coordinate system used to compute the box. If the tm is not NULL this matrix should be used in the computation of the result. |
useSel | If TRUE, the bounding box of selected sub-elements should be computed; otherwise the entire object should be used. |
Reimplemented from MSObjectXtnd< GenLight, MSPluginLight >.
int HitTest | ( | TimeValue | t, |
INode * | inode, | ||
int | type, | ||
int | crossing, | ||
int | flags, | ||
IPoint2 * | p, | ||
ViewExp * | vpt | ||
) | [virtual] |
This method is called to determine if the specified screen point intersects the item.
The method returns nonzero if the item was hit; otherwise 0.
t | The time to perform the hit test. |
inode | A pointer to the node to test. |
type | The type of hit testing to perform. See Scene and Node Hit Test Types. for details. |
crossing | The state of the crossing setting. If TRUE crossing selection is on. |
flags | The hit test flags. See Scene and Node Hit Testing Flags for details. |
p | The screen point to test. |
vpt | An interface pointer that may be used to call methods associated with the viewports. |
Reimplemented from MSObjectXtnd< GenLight, MSPluginLight >.
Checks the point passed for a snap and updates the SnapInfo structure.
t | The time to check. |
inode | The node to check. |
snap | The snap info structure to update. |
p | The screen point to check. |
vpt | An interface pointer that may be used to call methods associated with the viewports. |
Reimplemented from MSObjectXtnd< GenLight, MSPluginLight >.
RefResult EvalLightState | ( | TimeValue | time, |
Interval & | valid, | ||
LightState * | ls | ||
) | [virtual] |
This method is called to update the passed LightState and validity interval of the light.
time | The time to evaluate the light state. |
valid | The validity interval of the light about the specified time. This interval should be updated to reflect the validity interval of the light. |
ls | A pointer to the LightState structure which describes the properties of the light. This function updates the data in the structure to reflect the properties of the light at the specified time. See Structure LightState. |
Reimplemented from MSPluginLight.
ObjLightDesc* CreateLightDesc | ( | INode * | inode, |
BOOL | forceShadowBuf | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->CreateLightDesc(n, forceShadowBuf); }
void SetUseLight | ( | int | onOff | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetUseLight(onOff); }
BOOL GetUseLight | ( | void | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetUseLight(); }
void SetHotspot | ( | TimeValue | time, |
float | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetHotspot(time, f); }
Reimplemented from MSPluginLight.
{ return delegate->GetHotspot(t, valid); }
void SetFallsize | ( | TimeValue | time, |
float | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetFallsize(time, f); }
Reimplemented from MSPluginLight.
{ return delegate->GetFallsize(t, valid); }
void SetAtten | ( | TimeValue | time, |
int | which, | ||
float | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
Reimplemented from MSPluginLight.
void SetTDist | ( | TimeValue | time, |
float | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
Reimplemented from MSPluginLight.
void SetConeDisplay | ( | int | s, |
int | notify =
TRUE |
||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetConeDisplay(s, notify); }
BOOL GetConeDisplay | ( | void | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetConeDisplay(); }
int GetShadowMethod | ( | ) | [inline, virtual] |
Returns the type of shadows used by the light.
Reimplemented from MSPluginLight.
{return delegate->GetShadowMethod();}
void SetRGBColor | ( | TimeValue | t, |
Point3 & | rgb | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetRGBColor(t, rgb); }
Reimplemented from MSPluginLight.
{return delegate->GetRGBColor(t, valid);}
void SetIntensity | ( | TimeValue | time, |
float | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetIntensity(time, f); }
Reimplemented from MSPluginLight.
{ return delegate->GetIntensity(t, valid); }
void SetAspect | ( | TimeValue | t, |
float | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
Reimplemented from MSPluginLight.
void SetUseAtten | ( | int | s | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetUseAtten(s); }
BOOL GetUseAtten | ( | void | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetUseAtten(); }
void SetAttenDisplay | ( | int | s | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetAttenDisplay(s); }
BOOL GetAttenDisplay | ( | void | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetAttenDisplay(); }
void Enable | ( | int | enab | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
void SetMapBias | ( | TimeValue | t, |
float | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetMapBias(t, f); }
Reimplemented from MSPluginLight.
{ return delegate->GetMapBias(t, valid); }
void SetMapRange | ( | TimeValue | t, |
float | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetMapRange(t, f); }
Reimplemented from MSPluginLight.
{ return delegate->GetMapRange(t, valid); }
void SetMapSize | ( | TimeValue | t, |
int | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetMapSize(t, f); }
Reimplemented from MSPluginLight.
{ return delegate->GetMapSize(t, valid); }
void SetRayBias | ( | TimeValue | t, |
float | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetRayBias(t, f); }
Reimplemented from MSPluginLight.
{ return delegate->GetRayBias(t, valid); }
int GetAbsMapBias | ( | ) | [inline, virtual] |
Returns the lights Absolute Map Bias setting.
Reimplemented from MSPluginLight.
{ return delegate->GetAbsMapBias(); }
void SetAbsMapBias | ( | int | a | ) | [inline, virtual] |
Sets the lights Absolute Map Bias setting.
a | Nonzero indicates Absolute Map Bias is on; zero indicates it is off. |
Reimplemented from MSPluginLight.
{ delegate->SetAbsMapBias(a); }
int GetOvershoot | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetOvershoot(); }
void SetOvershoot | ( | int | a | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetOvershoot(a); }
int GetProjector | ( | ) | [inline, virtual] |
Returns the lights Projector on / off setting.
Nonzero indicates this light projects an image; otherwise 0.
Reimplemented from MSPluginLight.
{ return delegate->GetProjector(); }
void SetProjector | ( | int | a | ) | [inline, virtual] |
Sets the lights projector on / off setting.
a | Nonzero indicates this light projects an image; otherwise 0. |
Reimplemented from MSPluginLight.
{ delegate->SetProjector(a); }
ExclList* GetExclList | ( | ) | [inline, virtual] |
Returns the list of names of items included or excluded by this light.
See Class NameTab.
Reimplemented from MSPluginLight.
{ return delegate->GetExclList(); }
BOOL Include | ( | ) | [inline, virtual] |
Returns TRUE if the light's name list is of items to be included by the light.
Returns FALSE if the list is of items to exclude from the light.
Reimplemented from MSPluginLight.
Texmap* GetProjMap | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetProjMap(); }
void SetProjMap | ( | Texmap * | pmap | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetProjMap(pmap); }
void UpdateTargDistance | ( | TimeValue | t, |
INode * | inode | ||
) | [inline, virtual] |
Updates the display of the light's target distance in the light's rollup page.
t | The time to retrieve the distance. |
inode | The light node. |
Reimplemented from MSPluginLight.
{ delegate->UpdateTargDistance(t, inode); }
int UsesWireColor | ( | ) | [virtual] |
This method determines if the object color is used for display.
Reimplemented from MSPluginLight.
GenLight* NewLight | ( | int | type | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
int Type | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
void SetType | ( | int | tp | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
BOOL IsSpot | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
BOOL IsDir | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
void SetSpotShape | ( | int | s | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetSpotShape(s); }
int GetSpotShape | ( | void | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetSpotShape(); }
void SetHSVColor | ( | TimeValue | t, |
Point3 & | hsv | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetHSVColor(t, hsv); }
Reimplemented from MSPluginLight.
{ return delegate->GetHSVColor(t, valid); }
void SetContrast | ( | TimeValue | time, |
float | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetContrast(time, f); }
Reimplemented from MSPluginLight.
{ return delegate->GetContrast(t, valid); }
void SetUseAttenNear | ( | int | s | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetUseAttenNear(s); }
BOOL GetUseAttenNear | ( | void | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetUseAttenNear(); }
void SetAttenNearDisplay | ( | int | s | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetAttenNearDisplay(s); }
BOOL GetAttenNearDisplay | ( | void | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetAttenNearDisplay(); }
ExclList& GetExclusionList | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetExclusionList(); }
void SetExclusionList | ( | ExclList & | list | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetExclusionList(list); }
BOOL SetHotSpotControl | ( | Control * | c | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->SetHotSpotControl(c); }
BOOL SetFalloffControl | ( | Control * | c | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->SetFalloffControl(c); }
BOOL SetColorControl | ( | Control * | c | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->SetColorControl(c); }
Control* GetHotSpotControl | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetHotSpotControl(); }
Control* GetFalloffControl | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetFalloffControl(); }
Control* GetColorControl | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetColorControl(); }
void SetAffectDiffuse | ( | BOOL | onOff | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetAffectDiffuse(onOff); }
BOOL GetAffectDiffuse | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetAffectDiffuse(); }
void SetAffectSpecular | ( | BOOL | onOff | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetAffectSpecular(onOff); }
BOOL GetAffectSpecular | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetAffectSpecular(); }
void SetDecayType | ( | BOOL | onOff | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetDecayType(onOff); }
BOOL GetDecayType | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetDecayType(); }
void SetDecayRadius | ( | TimeValue | time, |
float | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetDecayRadius(time, f); }
Reimplemented from MSPluginLight.
{ return delegate->GetDecayRadius(t, valid);}
void SetDiffuseSoft | ( | TimeValue | time, |
float | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetDiffuseSoft(time, f); }
Reimplemented from MSPluginLight.
{ return delegate->GetDiffuseSoft(t, valid); }
int GetUseGlobal | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetUseGlobal(); }
void SetUseGlobal | ( | int | a | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetUseGlobal(a); }
int GetShadow | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
void SetShadow | ( | int | a | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
int GetShadowType | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetShadowType(); }
void SetShadowType | ( | int | a | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetShadowType(a); }
void SetShadColor | ( | TimeValue | t, |
Point3 & | rgb | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetShadColor(t, rgb); }
Reimplemented from MSPluginLight.
{ return delegate->GetShadColor(t, valid); }
BOOL GetLightAffectsShadow | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetLightAffectsShadow(); }
void SetLightAffectsShadow | ( | BOOL | b | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetLightAffectsShadow(b); }
void SetShadMult | ( | TimeValue | t, |
float | m | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetShadMult(t, m); }
Reimplemented from MSPluginLight.
{ return delegate->GetShadMult(t, valid); }
Texmap* GetShadowProjMap | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetShadowProjMap(); }
void SetShadowProjMap | ( | Texmap * | pmap | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetShadowProjMap(pmap); }
void SetAmbientOnly | ( | BOOL | onOff | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetAmbientOnly(onOff); }
BOOL GetAmbientOnly | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetAmbientOnly(); }
void SetAtmosShadows | ( | TimeValue | t, |
int | onOff | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetAtmosShadows(t, onOff);}
int GetAtmosShadows | ( | TimeValue | t | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetAtmosShadows(t); }
void SetAtmosOpacity | ( | TimeValue | t, |
float | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetAtmosOpacity(t, f);}
float GetAtmosOpacity | ( | TimeValue | t, |
Interval & | valid =
FOREVER |
||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetAtmosOpacity(t); }
void SetAtmosColAmt | ( | TimeValue | t, |
float | f | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetAtmosColAmt(t, f);}
float GetAtmosColAmt | ( | TimeValue | t, |
Interval & | valid =
FOREVER |
||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetAtmosColAmt(t); }
void SetUseShadowColorMap | ( | TimeValue | t, |
int | onOff | ||
) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetUseShadowColorMap(t, onOff); }
int GetUseShadowColorMap | ( | TimeValue | t | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetUseShadowColorMap(t); }
void SetShadowGenerator | ( | ShadowType * | s | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ delegate->SetShadowGenerator(s); }
ShadowType* GetShadowGenerator | ( | ) | [inline, virtual] |
Reimplemented from MSPluginLight.
{ return delegate->GetShadowGenerator(); }