KFbxLayeredTexture Class Reference

#include <kfbxlayeredtexture.h>
Inheritance diagram for KFbxLayeredTexture:
Inheritance graph
[legend]

List of all members.


Detailed Description

KFbxLayeredTexture is a combination of multiple textures(KFbxTexture) blended sequentially.

For example, you can access individual texture by:

 KFbxTexture* pIndiTexture = lLayeredTexture->GetSrcObject(KFbxTexture::ClassId, pTextureIndex);
See also:
KFbxTexture

Definition at line 55 of file kfbxlayeredtexture.h.


Public Types

enum   EBlendMode {
   eTRANSLUCENT,
   eADDITIVE,
   eMODULATE,
   eMODULATE2,
   eOVER
}
  Blend modes. More...

Public Member Functions

bool  operator== (const KFbxLayeredTexture &pOther) const
  Equivalence operator.
bool  SetTextureBlendMode (int pIndex, EBlendMode pMode)
  Sets the blending mode of a specified texture.
bool  GetTextureBlendMode (int pIndex, EBlendMode &pMode) const
  Returns the blending mode of a specified texture.

Member Enumeration Documentation

enum EBlendMode

Blend modes.

  • eTRANSLUCENT
  • eADDITIVE
  • eMODULATE
  • eMODULATE2
  • eOVER
Enumerator:
eTRANSLUCENT 
eADDITIVE 
eMODULATE 
eMODULATE2 
eOVER 

Reimplemented from KFbxTexture.

Definition at line 67 of file kfbxlayeredtexture.h.


Member Function Documentation

bool operator== ( const KFbxLayeredTexture pOther  )  const

Equivalence operator.

Parameters:
pOther  The object for comparison.
Returns:
True if pOther is equivalent to this object, returns false otherwise.

bool SetTextureBlendMode ( int  pIndex,
EBlendMode  pMode  
)

Sets the blending mode of a specified texture.

Parameters:
pIndex  The texture index.
pMode  The blend mode to be set.
Returns:
True if successful, returns false otherwise.

bool GetTextureBlendMode ( int  pIndex,
EBlendMode pMode  
) const

Returns the blending mode of a specified texture.

Parameters:
pIndex  The texture index.
pMode  The parameter that will hold the returned blend mode.
Returns:
True if successful, returns false otherwise.
KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture
KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture KFbxLayeredTexture