libHSPlasma
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
plLayerLinkAnimation Class Reference

#include <plLayerAnimation.h>

Inheritance diagram for plLayerLinkAnimation:
plLayerAnimation plLayerAnimationBase plLayerInterface plSynchedObject hsKeyedObject plCreatable

Public Member Functions

 plLayerLinkAnimation ()
virtual void read (hsStream *S, plResManager *mgr)
virtual void write (hsStream *S, plResManager *mgr)
plKey getLinkKey () const
bool getLeavingAge () const
void setLinkKey (plKey key)
void setLeavingAge (bool leaving)
- Public Member Functions inherited from plLayerAnimation
const plAnimTimeConvertgetTimeConvert () const
plAnimTimeConvertgetTimeConvert ()
- Public Member Functions inherited from plLayerAnimationBase
 plLayerAnimationBase ()
virtual ~plLayerAnimationBase ()
virtual void prcParse (const pfPrcTag *tag, plResManager *mgr)
plControllergetPreshadeCtl () const
plControllergetRuntimeCtl () const
plControllergetAmbientCtl () const
plControllergetSpecularCtl () const
plControllergetOpacityCtl () const
plControllergetTransformCtl () const
void setPreshadeCtl (plController *ctrl)
void setRuntimeCtl (plController *ctrl)
void setAmbientCtl (plController *ctrl)
void setSpecularCtl (plController *ctrl)
void setOpacityCtl (plController *ctrl)
void setTransformCtl (plController *ctrl)
- Public Member Functions inherited from plLayerInterface
 plLayerInterface ()
plKey getUnderLay () const
plKey getTexture () const
plKey getVertexShader () const
plKey getPixelShader () const
void setUnderLay (plKey layer)
void setTexture (plKey tex)
void setVertexShader (plKey shader)
void setPixelShader (plKey shader)
hsMatrix44 getTransform () const
hsMatrix44 getBumpEnvTransform () const
void setTransform (const hsMatrix44 &xform)
void setBumpEnvTransform (const hsMatrix44 &xform)
hsColorRGBA getPreshade () const
hsColorRGBA getRuntime () const
hsColorRGBA getAmbient () const
hsColorRGBA getSpecular () const
void setPreshade (const hsColorRGBA &color)
void setRuntime (const hsColorRGBA &color)
void setAmbient (const hsColorRGBA &color)
void setSpecular (const hsColorRGBA &color)
float getOpacity () const
unsigned int getUVWSrc () const
float getLODBias () const
float getSpecularPower () const
void setOpacity (float opac)
void setUVWSrc (unsigned int src)
void setLODBias (float bias)
void setSpecularPower (float power)
const hsGMatStategetState () const
hsGMatStategetState ()
- Public Member Functions inherited from plSynchedObject
 plSynchedObject ()
int getFlags () const
void setFlags (int flags)
const std::vector< plString > & getExcludes () const
const std::vector< plString > & getVolatiles () const
void setExclude (const plString &sdl)
void setVolatile (const plString &sdl)
void clearExcludes ()
void clearVolatiles ()
- Public Member Functions inherited from hsKeyedObject
void init (const plString &name)
plKey getKey () const
void setKey (plKey key)
- Public Member Functions inherited from plCreatable
 plCreatable ()
virtual ~plCreatable ()
virtual short ClassIndex () const =0
short ClassIndex (PlasmaVer ver) const
virtual const char * ClassName () const
virtual bool ClassInstance (short) const
virtual bool isStub () const
virtual void prcWrite (pfPrcHelper *prc)

Protected Member Functions

virtual void IPrcWrite (pfPrcHelper *prc)
virtual void IPrcParse (const pfPrcTag *tag, plResManager *mgr)

Protected Attributes

plKey fLinkKey
bool fLeavingAge
- Protected Attributes inherited from plLayerAnimation
plAnimTimeConvert fTimeConvert
- Protected Attributes inherited from plLayerAnimationBase
plControllerfPreshadeColorCtl
plControllerfRuntimeColorCtl
plControllerfAmbientColorCtl
plControllerfSpecularColorCtl
plControllerfOpacityCtl
plControllerfTransformCtl
- Protected Attributes inherited from plLayerInterface
plKey fUnderLay
hsMatrix44 fTransform
hsColorRGBA fPreshade
hsColorRGBA fRuntime
hsColorRGBA fAmbient
hsColorRGBA fSpecular
float fOpacity
unsigned int fUVWSrc
float fLODBias
float fSpecularPower
plKey fTexture
plKey fVertexShader
plKey fPixelShader
hsMatrix44 fBumpEnvXfm
hsGMatState fState
- Protected Attributes inherited from plSynchedObject
unsigned int fSynchFlags
std::vector< plStringfSDLExcludeList
std::vector< plStringfSDLVolatileList

Additional Inherited Members

- Public Types inherited from plLayerInterface
enum  plLayerDirtyBits {
  kTransform = 0x1, kPreshadeColor = 0x2, kAmbientColor = 0x4, kOpacity = 0x8,
  kTexture = 0x10, kState = 0x20, kUVWSrc = 0x40, kLODBias = 0x80,
  kSpecularColor = 0x100, kSpecularPower = 0x200, kRuntimeColor = 0x400, kVertexShader = 0x800,
  kPixelShader = 0x1000, kBumpEnvXfm = 0x2000, kAllDirty = 0xFFFFFFFF
}
enum  plUVWSrcModifiers {
  kUVWPassThru = 0, kUVWIdxMask = 0xFFFF, kUVWNormal = 0x10000, kUVWPosition = 0x20000,
  kUVWReflect = 0x30000
}

Constructor & Destructor Documentation

plLayerLinkAnimation::plLayerLinkAnimation ( )

Member Function Documentation

bool plLayerLinkAnimation::getLeavingAge ( ) const
plKey plLayerLinkAnimation::getLinkKey ( ) const
virtual void plLayerLinkAnimation::IPrcParse ( const pfPrcTag tag,
plResManager mgr 
)
protectedvirtual

This must be overloaded by subclasses to parse PRC data specific to the class from the PRC document. It is called once for each tag that is a child to the Creatable tag itself, so subclasses should check for each supported tag and handle it accordingly if it matches. If the tag is not recognized, it should be passed along to the parent class.

Reimplemented from plLayerAnimation.

virtual void plLayerLinkAnimation::IPrcWrite ( pfPrcHelper prc)
protectedvirtual

This must be overloaded by subclasses to write PRC data specific to the class to the PRC document. Do not write the top-level creatable tag, that is handled by prcWrite().

Reimplemented from plLayerAnimation.

virtual void plLayerLinkAnimation::read ( hsStream ,
plResManager  
)
virtual

Reads this creatable directly from the stream. If any keys are read, they will be added to the plResManager automatically.

Reimplemented from plLayerAnimation.

void plLayerLinkAnimation::setLeavingAge ( bool  leaving)
void plLayerLinkAnimation::setLinkKey ( plKey  key)
virtual void plLayerLinkAnimation::write ( hsStream ,
plResManager  
)
virtual

Writes this creatable directly to the stream. The plResManager is used to manage any key references written by this creatable.

Reimplemented from plLayerAnimation.

Member Data Documentation

bool plLayerLinkAnimation::fLeavingAge
protected
plKey plLayerLinkAnimation::fLinkKey
protected

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