Public Member Functions

INodeBakeProperties Class Reference

Search for all occurrences

Detailed Description

Description:
This class defines an interface for accessing a node's texture baking properties.

An instance of this interface can be retrieved using the following line of code (assuming 'node' is of type INode*):
        static_cast<INodeBakeProperties*>(pNode->GetInterface(NODE_BAKE_PROPERTIES_INTERFACE))
Description of the node's texture baking properties:
General Properties:
Enable:
Texture baking is enabled for this object
Baking Channel:
Flattening & baking use this uv mapping channel for this object
List of Baking Render Elements:
each object has a list of render elements for output

#include <INodeBakeProperties.h>

Inheritance diagram for INodeBakeProperties:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual BOOL  GetBakeEnabled () const =0
virtual void  SetBakeEnabled (BOOL isExcluded)=0
virtual int  GetBakeMapChannel () const =0
virtual void  SetBakeMapChannel (int mapChannel)=0
virtual int  GetNDilations () const =0
virtual void  SetNDilations (int nDilations)=0
virtual int  GetBakeFlags () const =0
virtual void  SetBakeFlags (int flags)=0
virtual float  GetSurfaceArea () const =0
virtual void  SetSurfaceArea (float area)=0
virtual float  GetAreaScale () const =0
virtual void  SetAreaScale (float scale)=0
virtual int  GetNBakeElements () const =0
virtual MaxBakeElement GetBakeElement (int nElement)=0
virtual Tab< MaxBakeElement * >  GetBakeElementArray ()=0
  returns a Tab object holding the list of Texture Bake elements assigned to the node.
virtual BOOL  AddBakeElement (MaxBakeElement *pEle)=0
virtual BOOL  RemoveBakeElement (MaxBakeElement *pEle)=0
virtual BOOL  RemoveBakeElementByName (char *name)=0
virtual BOOL  RemoveBakeElementByIndex (int index)=0
virtual void  RemoveAllBakeElements ()=0
virtual void  ResetBakeProps ()=0
virtual BOOL  GetEffectiveEnable ()=0
virtual IPoint2  GetRenderSize ()=0
virtual FBox2  GetActiveRegion ()=0
virtual void  SetActiveRegion (FBox2 region)=0

Member Function Documentation

virtual BOOL GetBakeEnabled ( ) const [pure virtual]
virtual void SetBakeEnabled ( BOOL  isExcluded ) [pure virtual]
virtual int GetBakeMapChannel ( ) const [pure virtual]
virtual void SetBakeMapChannel ( int  mapChannel ) [pure virtual]
virtual int GetNDilations ( ) const [pure virtual]
virtual void SetNDilations ( int  nDilations ) [pure virtual]
virtual int GetBakeFlags ( ) const [pure virtual]
virtual void SetBakeFlags ( int  flags ) [pure virtual]
virtual float GetSurfaceArea ( ) const [pure virtual]
virtual void SetSurfaceArea ( float  area ) [pure virtual]
virtual float GetAreaScale ( ) const [pure virtual]
virtual void SetAreaScale ( float  scale ) [pure virtual]
virtual int GetNBakeElements ( ) const [pure virtual]
virtual MaxBakeElement* GetBakeElement ( int  nElement ) [pure virtual]
virtual Tab<MaxBakeElement*> GetBakeElementArray ( ) [pure virtual]

returns a Tab object holding the list of Texture Bake elements assigned to the node.

Developers should not try to set BakeElements by altering the contents of this Tab; use the methods AddBakeElement() and RemoveBakeElement() instead

Returns:
a Tab object holding the list of Texture Bake elements assigned to the node.
virtual BOOL AddBakeElement ( MaxBakeElement pEle ) [pure virtual]
virtual BOOL RemoveBakeElement ( MaxBakeElement pEle ) [pure virtual]
virtual BOOL RemoveBakeElementByName ( char *  name ) [pure virtual]
virtual BOOL RemoveBakeElementByIndex ( int  index ) [pure virtual]
virtual void RemoveAllBakeElements ( ) [pure virtual]
virtual void ResetBakeProps ( ) [pure virtual]
virtual BOOL GetEffectiveEnable ( ) [pure virtual]
virtual IPoint2 GetRenderSize ( ) [pure virtual]
virtual FBox2 GetActiveRegion ( ) [pure virtual]
virtual void SetActiveRegion ( FBox2  region ) [pure virtual]

INodeBakeProperties INodeBakeProperties INodeBakeProperties INodeBakeProperties INodeBakeProperties INodeBakeProperties INodeBakeProperties INodeBakeProperties INodeBakeProperties INodeBakeProperties
INodeBakeProperties INodeBakeProperties INodeBakeProperties INodeBakeProperties INodeBakeProperties INodeBakeProperties INodeBakeProperties INodeBakeProperties INodeBakeProperties INodeBakeProperties