FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FbxTexture Class Reference

#include <fbxtexture.h>

Class Description

This class is the base class for textures, ie classes FbxFileTexture, FbxLayeredTexture and FbxProceduralTexture.

It describes image mapping on top of a geometry.

Examples:
ExportDocument/main.cxx, ImportScene/DisplayMaterial.cxx, ImportScene/DisplayMesh.cxx, ImportScene/DisplayTexture.cxx, ImportScene/DisplayTexture.h, Layers/main.cxx, and ViewScene/SceneContext.cxx.

Definition at line 26 of file fbxtexture.h.

+ Inheritance diagram for FbxTexture:

Public Types

typedef FbxObject ParentClass
 
- Public Types inherited from FbxObject
typedef FbxEmitter ParentClass
 
enum  EObjectFlag {
  eNone = 0, eInitialized = 1 << 0, eSystem = 1 << 1, eSavable = 1 << 2,
  eSelected = 1 << 3, eHidden = 1 << 4, eContentLoaded = 1 << 5, eDontLocalize = 1 << 6,
  eCopyCalledByClone = 1 << 16
}
 Flags available to control objects. More...
 
enum  ECloneType { eDeepClone, eReferenceClone }
 Types of clones that can be created for FbxObject. More...
 

Public Member Functions

virtual FbxClassId GetClassId () const
 
- Public Member Functions inherited from FbxObject
virtual void Compact ()
 Compact the memory used by this object. More...
 
template<class T >
bool Is () const
 Templated test if this class is a hierarchical children of the specified class type. More...
 
FbxManagerGetFbxManager () const
 Retrieve the FbxManager this object belongs to. More...
 
FbxDocumentGetDocument () const
 Returns a const pointer to the document that contains this object. More...
 
FbxDocumentGetRootDocument () const
 Returns a const pointer to the root document that contains this object. More...
 
FbxSceneGetScene () const
 Returns a const pointer to the scene that contains this object. More...
 
void Destroy (bool pRecursive=false)
 Unregister and delete this object from memory. More...
 
void ResetProperties ()
 Reset all the properties of this object to their default values. More...
 
virtual bool GetSelected ()
 Returns if this object is currently in a selected state. More...
 
virtual void SetSelected (bool pSelected)
 Sets whether this object is currently selected. More...
 
void SetUserDataPtr (const FbxUInt64 &pUserID, void *pUserData)
 Sets the data pointer for an user data record whose ID is pUserID. More...
 
void * GetUserDataPtr (const FbxUInt64 &pUserID) const
 Returns the data pointer of an user data record whose ID is pUserID. More...
 
void SetUserDataPtr (void *pUserData)
 Sets the data pointer for the user data record whose ID is the object ID. More...
 
void * GetUserDataPtr () const
 Returns the data pointer of the user data record whose ID is the object ID. More...
 
bool ConnectSrcObject (FbxObject *pObject, FbxConnection::EType pType=FbxConnection::eNone)
 Connects this object to a source object. More...
 
bool IsConnectedSrcObject (const FbxObject *pObject) const
 Judges whether this object connects with the source object. More...
 
bool DisconnectSrcObject (FbxObject *pObject)
 Disconnects this object from a source object. More...
 
bool DisconnectAllSrcObject ()
 Disconnects this object from all source objects. More...
 
bool DisconnectAllSrcObject (const FbxCriteria &pCriteria)
 Disconnects this object from all source objects that satisfy a given criteria. More...
 
int GetSrcObjectCount () const
 Returns the number of source objects with which this object connects. More...
 
int GetSrcObjectCount (const FbxCriteria &pCriteria) const
 Returns the number of source objects that satisfy the given criteria with which this object connects. More...
 
FbxObjectGetSrcObject (int pIndex=0) const
 Returns the source object with which this object connects at the specified index. More...
 
FbxObjectGetSrcObject (const FbxCriteria &pCriteria, int pIndex=0) const
 Returns the source object that satisfies the criteria at the specified index with which this object connects. More...
 
FbxObjectFindSrcObject (const char *pName, int pStartIndex=0) const
 Searches the source object with the specified name, starting at the specified index. More...
 
FbxObjectFindSrcObject (const FbxCriteria &pCriteria, const char *pName, int pStartIndex=0) const
 Searches the source object with the specified name which satisfies the given criteria, starting at the specified index. More...
 
template<class T >
bool DisconnectAllSrcObject ()
 Disconnects this object from all source objects of the specified class type. More...
 
template<class T >
bool DisconnectAllSrcObject (const FbxCriteria &pCriteria)
 Disconnects this object from all source objects that are of the specified class type and that satisfy the given criteria. More...
 
template<class T >
int GetSrcObjectCount () const
 Returns the number of source objects of a specific class type with which this object connects. More...
 
template<class T >
int GetSrcObjectCount (const FbxCriteria &pCriteria) const
 Returns the number of source objects with which this object connects that are the specified class type and that satisfy the given criteria. More...
 
template<class T >
T * GetSrcObject (int pIndex=0) const
 Returns the source object of the specified class type at the specified index. More...
 
template<class T >
T * GetSrcObject (const FbxCriteria &pCriteria, int pIndex=0) const
 Returns the source object that is the specified class type and that satisfies the given criteria at the specified index. More...
 
template<class T >
T * FindSrcObject (const char *pName, int pStartIndex=0) const
 Searches the source object with the specified name that is the specified class type, starting at the specified index. More...
 
template<class T >
T * FindSrcObject (const FbxCriteria &pCriteria, const char *pName, int pStartIndex=0) const
 Searches the source object with the specified name that is the specified class type and that satisfies the given criteria, starting at the specified index. More...
 
bool ConnectDstObject (FbxObject *pObject, FbxConnection::EType pType=FbxConnection::eNone)
 Connects this object to one destination object. More...
 
bool IsConnectedDstObject (const FbxObject *pObject) const
 Judges whether this object connects with the destination object. More...
 
bool DisconnectDstObject (FbxObject *pObject)
 Disconnects this object from the destination object. More...
 
bool DisconnectAllDstObject ()
 Disconnects this object from all destination objects. More...
 
bool DisconnectAllDstObject (const FbxCriteria &pCriteria)
 Disconnects this object from all destination objects that satisfy given criteria. More...
 
int GetDstObjectCount () const
 Returns the number of destination objects with which this object connects. More...
 
int GetDstObjectCount (const FbxCriteria &pCriteria) const
 Returns the number of destination objects with which this object connects that satisfy the given criteria. More...
 
FbxObjectGetDstObject (int pIndex=0) const
 Returns the destination object at the specified index with which this object connects. More...
 
FbxObjectGetDstObject (const FbxCriteria &pCriteria, int pIndex=0) const
 Returns the destination object with which this object connects that satisfies the given criteria at the specified index. More...
 
FbxObjectFindDstObject (const char *pName, int pStartIndex=0) const
 Searches the destination object with the specified name, starting at the specified index. More...
 
FbxObjectFindDstObject (const FbxCriteria &pCriteria, const char *pName, int pStartIndex=0) const
 Searches the destination object with the specified name which satisfies the given criteria, starting at the specified index. More...
 
template<class T >
bool DisconnectAllDstObject ()
 Disconnects this object from all destination objects of the specified class type. More...
 
template<class T >
bool DisconnectAllDstObject (const FbxCriteria &pCriteria)
 Disconnects this object from all destination objects that are the specified class type and that satisfy the given criteria. More...
 
template<class T >
int GetDstObjectCount () const
 Returns the number of destination objects of the specified class type with which this object connects. More...
 
template<class T >
int GetDstObjectCount (const FbxCriteria &pCriteria) const
 Returns the number of destination objects with which this object connects that are the specified class type and that satisfy the given criteria. More...
 
template<class T >
T * GetDstObject (int pIndex=0) const
 Returns the destination object with which this object connects that is the specified class type at the specified index. More...
 
template<class T >
T * GetDstObject (const FbxCriteria &pCriteria, int pIndex=0) const
 Returns the destination object with which this object connects that is the specified class type and that satisfies the given criteria at the specified index. More...
 
template<class T >
T * FindDstObject (const char *pName, int pStartIndex=0) const
 Searches the destination object with the specified name which is of the specified class type, starting at the specified index. More...
 
template<class T >
T * FindDstObject (const FbxCriteria &pCriteria, const char *pName, int pStartIndex=0) const
 Searches the destination object with the specified name that is the specified class type and that satisfies the given criteria, starting at the specified index. More...
 
FbxProperty GetFirstProperty () const
 Returns the first property of this object. More...
 
FbxProperty GetNextProperty (const FbxProperty &pProperty) const
 Returns the next property of this object that follows the specified property. More...
 
FbxProperty FindProperty (const char *pName, bool pCaseSensitive=true) const
 Searches a property by name. More...
 
FbxProperty FindProperty (const char *pName, const FbxDataType &pDataType, bool pCaseSensitive=true) const
 Searches a property by name and data type. More...
 
FbxProperty FindPropertyHierarchical (const char *pName, bool pCaseSensitive=true) const
 Searches a property by full name. More...
 
FbxProperty FindPropertyHierarchical (const char *pName, const FbxDataType &pDataType, bool pCaseSensitive=true) const
 Searches a property by full name and data type. More...
 
FbxProperty GetClassRootProperty ()
 Returns the class root property. More...
 
bool ConnectSrcProperty (const FbxProperty &pProperty)
 Connects this object to a source property. More...
 
bool IsConnectedSrcProperty (const FbxProperty &pProperty)
 Determines whether this object connects with the specified source property. More...
 
bool DisconnectSrcProperty (const FbxProperty &pProperty)
 Disconnects this object from the specified source property. More...
 
int GetSrcPropertyCount () const
 Returns the number of source properties with which this object connects. More...
 
FbxProperty GetSrcProperty (int pIndex=0) const
 Returns the source property at the specified index with which this object connects. More...
 
FbxProperty FindSrcProperty (const char *pName, int pStartIndex=0) const
 Searches a source property with which this object connects that has a specific name, starting at the specified index. More...
 
bool ConnectDstProperty (const FbxProperty &pProperty)
 Connects this object to a destination property. More...
 
bool IsConnectedDstProperty (const FbxProperty &pProperty)
 Determines if this object connects with the specified destination property. More...
 
bool DisconnectDstProperty (const FbxProperty &pProperty)
 Disconnects this object from the specified destination property. More...
 
int GetDstPropertyCount () const
 Returns the number of destination properties with which this object connects. More...
 
FbxProperty GetDstProperty (int pIndex=0) const
 Returns the destination property at the specified index with which this object connects. More...
 
FbxProperty FindDstProperty (const char *pName, int pStartIndex=0) const
 Searches a destination property with which this object connects that has a specific name, starting at the specified index. More...
 
int ContentUnload ()
 Unloads this object's content using the offload peripheral that is currently set in the document then flushes it from memory. More...
 
int ContentLoad ()
 Loads this object's content using the offload peripheral that is currently set in the document. More...
 
bool ContentIsLoaded () const
 Judges if this object's content is loaded. More...
 
void ContentDecrementLockCount ()
 Decreases the content lock count of an object. More...
 
void ContentIncrementLockCount ()
 Increases the content lock count of an object. More...
 
bool ContentIsLocked () const
 Judges if this object's content is locked. More...
 
virtual bool ContentWriteTo (FbxStream &pStream) const
 Writes the content of the object to the given stream. More...
 
virtual bool ContentReadFrom (const FbxStream &pStream)
 Reads the content of the object from the given stream. More...
 
void EmitMessage (FbxMessage *pMessage) const
 Emits a message in all available message emitters in the document or SDK manager. More...
 
virtual const char * Localize (const char *pID, const char *pDefault=((void *) 0)) const
 Localization helper function, it calls the implementation of FBX SDK manager. More...
 
FbxLibraryGetParentLibrary () const
 Returns a handle on the parent library of this object. More...
 
bool AddImplementation (FbxImplementation *pImplementation)
 Adds an implementation. More...
 
bool RemoveImplementation (FbxImplementation *pImplementation)
 Removes an implementation. More...
 
bool HasDefaultImplementation (void) const
 Determines if this shading node has a default implementation. More...
 
FbxImplementationGetDefaultImplementation (void) const
 Returns the default implementation of this shading node. More...
 
bool SetDefaultImplementation (FbxImplementation *pImplementation)
 Sets the default implementation of this shading node. More...
 
int GetImplementationCount (const FbxImplementationFilter *pCriteria=((void *) 0)) const
 Returns the number of implementations that satisfy a given criteria. More...
 
FbxImplementationGetImplementation (int pIndex, const FbxImplementationFilter *pCriteria=((void *) 0)) const
 Returns the implementation at the specified index that satisfies the given criteria. More...
 
virtual FbxString GetUrl () const
 Returns the URL of this object. More...
 
virtual bool SetUrl (char *pUrl)
 Sets the URL of this object. More...
 
void SetRuntimeClassId (const FbxClassId &pClassId)
 Set the run-time ClassId for this class. More...
 
FbxClassId GetRuntimeClassId () const
 Retrieve the run-time ClassId for this object. More...
 
bool IsRuntime (const FbxClassId &pClassId) const
 Test if this class is a hierarchical children of the specified class type. More...
 
bool IsRuntimePlug () const
 Find out if the ClassId was registered during run-time rather than at compile time. More...
 
void SetObjectFlags (EObjectFlag pFlags, bool pValue)
 Set the state of object flags. More...
 
bool GetObjectFlags (EObjectFlag pFlags) const
 Get the state of object flags. More...
 
void SetAllObjectFlags (FbxUInt pFlags)
 Override all object flags at once. More...
 
FbxUInt GetAllObjectFlags () const
 Get all object flags at once. More...
 
virtual FbxObjectCopy (const FbxObject &pObject)
 Copy an object content into this object. More...
 
virtual FbxObjectClone (FbxObject::ECloneType pCloneType=eDeepClone, FbxObject *pContainer=((void *) 0), void *pSet=((void *) 0)) const
 Creates a clone of this object. More...
 
bool IsAReferenceTo () const
 Checks if this object is a reference clone of another object. More...
 
FbxObjectGetReferenceTo () const
 If this object is a reference clone, returns the original object (from which the clone originates). More...
 
bool IsReferencedBy () const
 Checks if any objects are reference cloned from this object. More...
 
int GetReferencedByCount () const
 Returns the number of objects that are reference clones of this object. More...
 
FbxObjectGetReferencedBy (int pIndex) const
 Returns a reference clone of this object at the specified index. More...
 
void SetName (const char *pName)
 Sets the name of this object. More...
 
const char * GetName () const
 Returns the full name of this object. More...
 
FbxString GetNameWithoutNameSpacePrefix () const
 Returns the name of the object without the namespace qualifier. More...
 
FbxString GetNameWithNameSpacePrefix () const
 Returns the name of the object with the namespace qualifier. More...
 
void SetInitialName (const char *pName)
 Sets the initial name of the object. More...
 
const char * GetInitialName () const
 Returns the initial name of the object. More...
 
FbxString GetNameSpaceOnly ()
 Returns the namespace of the object. More...
 
void SetNameSpace (FbxString pNameSpace)
 Sets the namespace of the object. More...
 
FbxArray< FbxString * > GetNameSpaceArray (char identifier)
 Returns an array of all the namespaces for this object. More...
 
FbxString GetNameOnly () const
 Returns only the name (no namespace or prefix) of the object. More...
 
FbxString GetNameSpacePrefix () const
 Returns the namespace qualifier. More...
 
const FbxUInt64GetUniqueID () const
 Returns the unique ID of this object. More...
 
- Public Member Functions inherited from FbxEmitter
void AddListener (FbxEventHandler &pHandler)
 Add the specified event handler to current emitter list. More...
 
void RemoveListener (FbxEventHandler &pHandler)
 Remove the specified event handler from current emitter list. More...
 
template<typename EventType >
void Emit (const EventType &pEvent) const
 Emit an event with the specified the event type. More...
 

Static Public Member Functions

static FbxTextureCreate (FbxManager *pManager, const char *pName)
 
static FbxTextureCreate (FbxObject *pContainer, const char *pName)
 
- Static Public Member Functions inherited from FbxObject
static FbxObjectCreate (FbxManager *pManager, const char *pName)
 
static FbxObjectCreate (FbxObject *pContainer, const char *pName)
 
static FbxString RemovePrefix (char *pName)
 Removes the prefix of pName. More...
 
static FbxString StripPrefix (FbxString &lName)
 Strips the prefix of pName. More...
 
static FbxString StripPrefix (const char *pName)
 Strips the prefix of pName. More...
 

Static Public Attributes

static FbxClassId ClassId
 
- Static Public Attributes inherited from FbxObject
static FbxClassId ClassId
 

Protected Member Functions

virtual ~ FbxTexture ()
 
 FbxTexture (FbxManager &pManager, const char *pName)
 
- Protected Member Functions inherited from FbxObject
virtual ~ FbxObject ()
 
virtual void Construct (const FbxObject *pFrom)
 Optional constructor override, automatically called by default constructor. More...
 
virtual void ConstructProperties (bool pForceSet)
 Optional property constructor override, automatically called by default constructor. More...
 
virtual void Destruct (bool pRecursive)
 Optional destructor override, automatically called by default destructor. More...
 
virtual void ContentClear ()
 Clears this object's content from memory. More...
 
virtual FbxPeripheralGetPeripheral ()
 Retrieves the peripheral of that object. More...
 

Static Protected Member Functions

static FbxTextureAllocate (FbxManager *pManager, const char *pName, const FbxTexture *pFrom)
 
- Static Protected Member Functions inherited from FbxObject
static FbxObjectAllocate (FbxManager *pManager, const char *pName, const FbxObject *pFrom)
 

Friends

class fbxsdk ::FbxManager
 
template<typename T >
T * fbxsdk ::FbxNew ()
 
template<typename T , typename T1 >
T * fbxsdk ::FbxNew (T1 &p1)
 
template<typename T , typename T1 >
T * fbxsdk ::FbxNew (const T1 &p1)
 
template<typename T , typename T1 , typename T2 >
T * fbxsdk ::FbxNew (T1 &p1, T2 &p2)
 
template<typename T , typename T1 , typename T2 >
T * fbxsdk ::FbxNew (T1 &p1, const T2 &p2)
 
template<typename T , typename T1 , typename T2 >
T * fbxsdk ::FbxNew (const T1 &p1, T2 &p2)
 
template<typename T , typename T1 , typename T2 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2)
 
template<typename T , typename T1 , typename T2 , typename T3 >
T * fbxsdk ::FbxNew (T1 &p1, T2 &p2, T3 &p3)
 
template<typename T , typename T1 , typename T2 , typename T3 >
T * fbxsdk ::FbxNew (T1 &p1, T2 &p2, const T3 &p3)
 
template<typename T , typename T1 , typename T2 , typename T3 >
T * fbxsdk ::FbxNew (T1 &p1, const T2 &p2, T3 &p3)
 
template<typename T , typename T1 , typename T2 , typename T3 >
T * fbxsdk ::FbxNew (T1 &p1, const T2 &p2, const T3 &p3)
 
template<typename T , typename T1 , typename T2 , typename T3 >
T * fbxsdk ::FbxNew (const T1 &p1, T2 &p2, T3 &p3)
 
template<typename T , typename T1 , typename T2 , typename T3 >
T * fbxsdk ::FbxNew (const T1 &p1, T2 &p2, const T3 &p3)
 
template<typename T , typename T1 , typename T2 , typename T3 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, T3 &p3)
 
template<typename T , typename T1 , typename T2 , typename T3 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (T1 &p1, T2 &p2, T3 &p3, T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (T1 &p1, T2 &p2, T3 &p3, const T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (T1 &p1, T2 &p2, const T3 &p3, T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (T1 &p1, T2 &p2, const T3 &p3, const T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (T1 &p1, const T2 &p2, T3 &p3, T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (T1 &p1, const T2 &p2, T3 &p3, const T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (T1 &p1, const T2 &p2, const T3 &p3, T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (const T1 &p1, T2 &p2, T3 &p3, T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (const T1 &p1, T2 &p2, T3 &p3, const T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (const T1 &p1, T2 &p2, const T3 &p3, T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (const T1 &p1, T2 &p2, const T3 &p3, const T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, const T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
T * fbxsdk ::FbxNew (T1 &p1, T2 &p2, T3 &p3, T4 &p4, T5 &p5)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
T * fbxsdk ::FbxNew (const T1 &p1, T2 &p2, T3 &p3, T4 &p4, T5 &p5)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, T4 &p4, T5 &p5)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
T * fbxsdk ::FbxNew (const T1 &p1, T2 &p2, const T3 &p3, T4 &p4, T5 &p5)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
T * fbxsdk ::FbxNew (const T1 &p1, T2 &p2, T3 &p3, const T4 &p4, T5 &p5)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
T * fbxsdk ::FbxNew (const T1 &p1, T2 &p2, T3 &p3, T4 &p4, const T5 &p5)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, T4 &p4, T5 &p5)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, const T4 &p4, T5 &p5)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, T3 &p3, T4 &p4, const T5 &p5)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, T5 &p5)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, T4 &p4, const T5 &p5)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8)
 
template<typename T , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
T * fbxsdk ::FbxNew (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9)
 
template<typename T >
void fbxsdk ::FbxDelete (T *p)
 
template<typename T >
void fbxsdk ::FbxDelete (const T *p)
 
template<typename T >
T * fbxsdk ::FbxNewArray (const int n)
 
template<typename T >
void fbxsdk ::FbxDeleteArray (T *p)
 

Texture Properties

enum  EUnifiedMappingType {
  eUMT_UV, eUMT_XY, eUMT_YZ, eUMT_XZ,
  eUMT_SPHERICAL, eUMT_CYLINDRICAL, eUMT_ENVIRONMENT, eUMT_PROJECTION,
  eUMT_BOX, eUMT_FACE, eUMT_NO_MAPPING
}
 Internal enum for texture mapping types. More...
 
enum  ETextureUse6 {
  eTEXTURE_USE_6_STANDARD, eTEXTURE_USE_6_SPHERICAL_REFLEXION_MAP, eTEXTURE_USE_6_SPHERE_REFLEXION_MAP, eTEXTURE_USE_6_SHADOW_MAP,
  eTEXTURE_USE_6_LIGHT_MAP, eTEXTURE_USE_6_BUMP_NORMAL_MAP
}
 Internal enum for texture usage. More...
 
enum  EWrapMode { eRepeat, eClamp }
 Wrap modes. More...
 
enum  EBlendMode {
  eTranslucent, eAdditive, eModulate, eModulate2,
  eOver
}
 Blend modes. More...
 
enum  EAlignMode { eLeft, eRight, eTop, eBottom }
 Align indices for cropping. More...
 
enum  ECoordinates { eU, eV, eW }
 Texture coordinates. More...
 
enum  EAlphaSource { eNone, eRGBIntensity, eBlack }
 Controls if the Alpha computation of the current texture comes from the Alpha channel, RGB Intensity channel, or if there is No Alpha. More...
 
enum  EMappingType {
  eNull, ePlanar, eSpherical, eCylindrical,
  eBox, eFace, eUV, eEnvironment
}
 Texture mapping types. More...
 
enum  EPlanarMappingNormal { ePlanarNormalX, ePlanarNormalY, ePlanarNormalZ }
 Planar mapping normal orientations. More...
 
enum  ETextureUse {
  eStandard, eShadowMap, eLightMap, eSphericalReflectionMap,
  eSphereReflectionMap, eBumpNormalMap
}
 Texture uses. More...
 
static const char * sVectorSpace
 This property only used by Vector Displacement Texture so it is not added to FbxTexture. More...
 
static const char * sVectorSpaceWorld
 
static const char * sVectorSpaceObject
 
static const char * sVectorSpaceTangent
 
static const char * sVectorEncoding
 This property only used by Vector Displacement Texture so it is not added to FbxTexture. More...
 
static const char * sVectorEncodingFP
 
static const char * sVectorEncodingSE
 
FbxPropertyT< ETextureUse6TextureTypeUse
 This property handles the use of textures. More...
 
FbxPropertyT< FbxDoubleAlpha
 This property handles the default alpha value for textures. More...
 
FbxPropertyT< EUnifiedMappingTypeCurrentMappingType
 This property handles the texture mapping types. More...
 
FbxPropertyT< EWrapModeWrapModeU
 This property handles the texture wrap modes in U. More...
 
FbxPropertyT< EWrapModeWrapModeV
 This property handles the texture wrap modes in V. More...
 
FbxPropertyT< FbxBoolUVSwap
 This property handles the swap UV flag. More...
 
FbxPropertyT< FbxBoolPremultiplyAlpha
 This property handles the PremultiplyAlpha flag. More...
 
FbxPropertyT< FbxDouble3Translation
 This property handles the default translation vector. More...
 
FbxPropertyT< FbxDouble3Rotation
 This property handles the default rotation vector. More...
 
FbxPropertyT< FbxDouble3Scaling
 This property handles the default scale vector. More...
 
FbxPropertyT< FbxDouble3RotationPivot
 This property handles the rotation pivot vector. More...
 
FbxPropertyT< FbxDouble3ScalingPivot
 This property handles the scaling pivot vector. More...
 
FbxPropertyT< EBlendModeCurrentTextureBlendMode
 This property handles the texture blend mode. More...
 
FbxPropertyT< FbxStringUVSet
 This property handles the use of UV sets. More...
 
virtual void Reset ()
 Resets the default texture values. More...
 
void SetSwapUV (bool pSwapUV)
 Sets the swap UV flag. More...
 
bool GetSwapUV () const
 Returns the swap UV flag. More...
 
void SetPremultiplyAlpha (bool pPremultiplyAlpha)
 Sets the PremultiplyAlpha flag. More...
 
bool GetPremultiplyAlpha () const
 Returns the PremultiplyAlpha flag. More...
 
void SetAlphaSource (EAlphaSource pAlphaSource)
 Sets the alpha source. More...
 
EAlphaSource GetAlphaSource () const
 Returns the alpha source. More...
 
void SetCropping (int pLeft, int pTop, int pRight, int pBottom)
 Sets cropping. More...
 
int GetCroppingLeft () const
 Returns left cropping. More...
 
int GetCroppingTop () const
 Returns top cropping. More...
 
int GetCroppingRight () const
 Returns right cropping. More...
 
int GetCroppingBottom () const
 Returns bottom cropping. More...
 
void SetMappingType (EMappingType pMappingType)
 Sets the mapping type. More...
 
EMappingType GetMappingType () const
 Returns the mapping type. More...
 
void SetPlanarMappingNormal (EPlanarMappingNormal pPlanarMappingNormal)
 Sets the normal orientations for planar mapping. More...
 
EPlanarMappingNormal GetPlanarMappingNormal () const
 Returns the normal orientations for planar mapping. More...
 
void SetTextureUse (ETextureUse pTextureUse)
 Sets the texture use. More...
 
ETextureUse GetTextureUse () const
 Returns the texture use. More...
 
void SetWrapMode (EWrapMode pWrapU, EWrapMode pWrapV)
 Sets the U and V wrap mode. More...
 
EWrapMode GetWrapModeU () const
 Returns the U wrap mode. More...
 
EWrapMode GetWrapModeV () const
 Returns the V wrap mode. More...
 
void SetBlendMode (EBlendMode pBlendMode)
 Sets the blend mode. More...
 
EBlendMode GetBlendMode () const
 Returns the blend mode. More...
 

Default Values Management By Vectors

This set of functions provides direct access to the default values in vector base.

void SetDefaultT (const FbxVector4 &pT)
 Sets the default translation vector. More...
 
FbxVector4GetDefaultT (FbxVector4 &pT) const
 Returns the default translation vector. More...
 
void SetDefaultR (const FbxVector4 &pR)
 Sets the default rotation vector. More...
 
FbxVector4GetDefaultR (FbxVector4 &pR) const
 Returns the default rotation vector. More...
 
void SetDefaultS (const FbxVector4 &pS)
 Sets the default scale vector. More...
 
FbxVector4GetDefaultS (FbxVector4 &pS) const
 Returns the default scale vector. More...
 

Default Alpha Value

void SetDefaultAlpha (double pAlpha)
 Sets the default alpha. More...
 
double GetDefaultAlpha () const
 Returns the default alpha. More...
 

Default Values Management By Numbers

This set of functions provides direct access to the default values in number base.

U, V and W coordinates are mapped to the X, Y and Z coordinates of the default vectors found in the "Default Values By Vector" section.

void SetTranslation (double pU, double pV)
 Sets translation. More...
 
double GetTranslationU () const
 Returns translation applied to the texture width. More...
 
double GetTranslationV () const
 Returns translation applied to the texture height. More...
 
void SetRotation (double pU, double pV, double pW=0.0)
 Sets rotation. More...
 
double GetRotationU () const
 Returns the texture rotation around the U axis in degrees. More...
 
double GetRotationV () const
 Returns the texture rotation around the V axis in degrees. More...
 
double GetRotationW () const
 Returns the texture rotation around the W axis in degrees. More...
 
void SetScale (double pU, double pV)
 Sets scale. More...
 
double GetScaleU () const
 Returns scale applied to the texture width. More...
 
double GetScaleV () const
 Returns scale applied to the texture height. More...
 

Additional Inherited Members

- Public Attributes inherited from FbxObject
FbxProperty RootProperty
 The root property that holds all children property for this object. More...
 

Member Typedef Documentation

◆ ParentClass

Definition at line 28 of file fbxtexture.h.

Member Enumeration Documentation

◆ EUnifiedMappingType

Internal enum for texture mapping types.

Includes mapping types and planar mapping normal orientations. Use SetMappingType(), GetMappingType(), SetPlanarMappingNormal() and GetPlanarMappingNormal() to access these values.

Enumerator
eUMT_UV 
eUMT_XY 

Maps to EMappingType::eUV.

eUMT_YZ 

Maps to EMappingType::ePlanar and EPlanarMappingNormal::ePlanarNormalZ.

eUMT_XZ 

Maps to EMappingType::ePlanar and EPlanarMappingNormal::ePlanarNormalX.

eUMT_SPHERICAL 

Maps to EMappingType::ePlanar and EPlanarMappingNormal::ePlanarNormalY.

eUMT_CYLINDRICAL 

Maps to EMappingType::eSpherical.

eUMT_ENVIRONMENT 

Maps to EMappingType::eCylindrical.

eUMT_PROJECTION 

Maps to EMappingType::eEnvironment.

eUMT_BOX 

Unused.

eUMT_FACE 

DEPRECATED! Maps to EMappingType::eBox.

eUMT_NO_MAPPING 

DEPRECATED! Maps to EMappingType::eFace.

Definition at line 40 of file fbxtexture.h.

41  {
42  eUMT_UV,
43  eUMT_XY,
44  eUMT_YZ,
45  eUMT_XZ,
50  eUMT_BOX,
51  eUMT_FACE,
53  };
Maps to EMappingType::eCylindrical.
Definition: fbxtexture.h:48
Maps to EMappingType::ePlanar and EPlanarMappingNormal::ePlanarNormalY.
Definition: fbxtexture.h:46
Maps to EMappingType::eSpherical.
Definition: fbxtexture.h:47
Maps to EMappingType::eEnvironment.
Definition: fbxtexture.h:49
Maps to EMappingType::ePlanar and EPlanarMappingNormal::ePlanarNormalZ.
Definition: fbxtexture.h:44
DEPRECATED! Maps to EMappingType::eFace.
Definition: fbxtexture.h:52
DEPRECATED! Maps to EMappingType::eBox.
Definition: fbxtexture.h:51
Maps to EMappingType::eUV.
Definition: fbxtexture.h:43
Maps to EMappingType::ePlanar and EPlanarMappingNormal::ePlanarNormalX.
Definition: fbxtexture.h:45

◆ ETextureUse6

Internal enum for texture usage.

For example, the texture might be used as a standard texture, as a shadow map, as a bump map, etc. Use SetTextureUse() and GetTextureUse() to access these values.

Enumerator
eTEXTURE_USE_6_STANDARD 
eTEXTURE_USE_6_SPHERICAL_REFLEXION_MAP 

Maps to ETextureUse::eStandard.

eTEXTURE_USE_6_SPHERE_REFLEXION_MAP 

Maps to ETextureUse::eSphericalReflectionMap.

eTEXTURE_USE_6_SHADOW_MAP 

Maps to ETextureUse::eSphereReflectionMap.

eTEXTURE_USE_6_LIGHT_MAP 

Maps to ETextureUse::eShadowMap.

eTEXTURE_USE_6_BUMP_NORMAL_MAP 

Maps to ETextureUse::eLightMap.

Maps to ETextureUse::eBumpNormalMap.

Definition at line 59 of file fbxtexture.h.

◆ EWrapMode

enum EWrapMode

Wrap modes.

Use SetWrapMode(), GetWrapModeU() and GetWrapModeV() to access these values.

Enumerator
eRepeat 
eClamp 

Apply the texture over and over on the model's surface until the model is covered. This is the default setting.

Apply the texture to a model only once, using the color at the ends of the texture as the "filter".

Definition at line 72 of file fbxtexture.h.

73  {
74  eRepeat,
75  eClamp
76  };
Apply the texture over and over on the model&#39;s surface until the model is covered. This is the default setting.
Definition: fbxtexture.h:75

◆ EBlendMode

enum EBlendMode

Blend modes.

Enumerator
eTranslucent 
eAdditive 

The texture is transparent, depending on the Alpha settings.

eModulate 

The color of the texture is added to the previous texture.

eModulate2 

The color value of the texture is multiplied by the color values of all previous layers of texture.

eOver 

The color value of the texture is multiplied by two and then multiplied by the color values of all previous layers of texture.

The texture is opaque.

Definition at line 80 of file fbxtexture.h.

81  {
82  eTranslucent,
83  eAdditive,
84  eModulate,
85  eModulate2,
86  eOver
87  };
The color value of the texture is multiplied by the color values of all previous layers of texture...
Definition: fbxtexture.h:85
The color value of the texture is multiplied by two and then multiplied by the color values of all pr...
Definition: fbxtexture.h:86
The texture is transparent, depending on the Alpha settings.
Definition: fbxtexture.h:83
The color of the texture is added to the previous texture.
Definition: fbxtexture.h:84

◆ EAlignMode

enum EAlignMode

Align indices for cropping.

Enumerator
eLeft 
eRight 

Left cropping.

eTop 

Right cropping.

eBottom 

Top cropping.

Bottom cropping.

Definition at line 91 of file fbxtexture.h.

92  {
93  eLeft,
94  eRight,
95  eTop,
96  eBottom
97  };
Left cropping.
Definition: fbxtexture.h:94
Right cropping.
Definition: fbxtexture.h:95
Top cropping.
Definition: fbxtexture.h:96

◆ ECoordinates

Texture coordinates.

Enumerator
eU 
eV 

U axis.

eW 

V axis.

W axis.

Definition at line 101 of file fbxtexture.h.

102  {
103  eU,
104  eV,
105  eW
106  };
U axis.
Definition: fbxtexture.h:104
V axis.
Definition: fbxtexture.h:105

◆ EAlphaSource

Controls if the Alpha computation of the current texture comes from the Alpha channel, RGB Intensity channel, or if there is No Alpha.

Enumerator
eNone 
eRGBIntensity 

No Alpha.

eBlack 

RGB Intensity (computed).

Alpha channel. Black is 100% transparency, white is opaque.

Definition at line 237 of file fbxtexture.h.

238  {
239  eNone,
240  eRGBIntensity,
241  eBlack
242  };
RGB Intensity (computed).
Definition: fbxtexture.h:241

◆ EMappingType

Texture mapping types.

Enumerator
eNull 
ePlanar 

No texture mapping defined.

eSpherical 

Apply texture to the model viewed as a plane.

eCylindrical 

Wrap texture around the model as if it was a sphere.

eBox 

Wrap texture around the model as if it was a cylinder.

eFace 

Wrap texture around the model as if it was a box.

eUV 

Apply texture to the model viewed as a face.

eEnvironment 

Apply texture to the model according to UVs.

Texture is an environment map.

Definition at line 287 of file fbxtexture.h.

288  {
289  eNull,
290  ePlanar,
291  eSpherical,
292  eCylindrical,
293  eBox,
294  eFace,
295  eUV,
296  eEnvironment
297  };
No texture mapping defined.
Definition: fbxtexture.h:290
Apply texture to the model viewed as a plane.
Definition: fbxtexture.h:291
Wrap texture around the model as if it was a sphere.
Definition: fbxtexture.h:292
Apply texture to the model according to UVs.
Definition: fbxtexture.h:296
Wrap texture around the model as if it was a cylinder.
Definition: fbxtexture.h:293
Apply texture to the model viewed as a face.
Definition: fbxtexture.h:295
Wrap texture around the model as if it was a box.
Definition: fbxtexture.h:294

◆ EPlanarMappingNormal

Planar mapping normal orientations.

Enumerator
ePlanarNormalX 
ePlanarNormalY 

Normals are in the direction of the X axis, mapping plan is in the YZ axis.

ePlanarNormalZ 

Normals are in the direction of the Y axis, mapping plan is in the XZ axis.

Normals are in the direction of the Z axis, mapping plan is in the XY axis.

Definition at line 311 of file fbxtexture.h.

312  {
316  };
Normals are in the direction of the Y axis, mapping plan is in the XZ axis.
Definition: fbxtexture.h:315
Normals are in the direction of the X axis, mapping plan is in the YZ axis.
Definition: fbxtexture.h:314

◆ ETextureUse

Texture uses.

Enumerator
eStandard 
eShadowMap 

Standard texture use (ex. image)

eLightMap 

Shadow map.

eSphericalReflectionMap 

Light map.

eSphereReflectionMap 

Spherical reflection map: Object reflects the contents of the scene.

eBumpNormalMap 

Sphere reflection map: Object reflects the contents of the scene from only one point of view.

Bump map: Texture contains two direction vectors, that are used to convey relief in a texture.

Definition at line 330 of file fbxtexture.h.

331  {
332  eStandard,
333  eShadowMap,
334  eLightMap,
338  };
Spherical reflection map: Object reflects the contents of the scene.
Definition: fbxtexture.h:336
Sphere reflection map: Object reflects the contents of the scene from only one point of view...
Definition: fbxtexture.h:337
Standard texture use (ex. image)
Definition: fbxtexture.h:333

Constructor & Destructor Documentation

◆ ~ FbxTexture()

virtual ~ FbxTexture ( )
inlineprotectedvirtual

Definition at line 28 of file fbxtexture.h.

30 :

◆ FbxTexture()

FbxTexture ( FbxManager pManager,
const char *  pName 
)
inlineprotected

Definition at line 28 of file fbxtexture.h.

30 :

Member Function Documentation

◆ GetClassId()

virtual FbxClassId GetClassId ( ) const
inlinevirtual

Reimplemented from FbxObject.

Reimplemented in FbxLayeredTexture, FbxFileTexture, and FbxProceduralTexture.

Definition at line 28 of file fbxtexture.h.

30 :

◆ Create() [1/2]

static FbxTexture* Create ( FbxManager pManager,
const char *  pName 
)
static

◆ Create() [2/2]

static FbxTexture* Create ( FbxObject pContainer,
const char *  pName 
)
static

◆ Allocate()

static FbxTexture* Allocate ( FbxManager pManager,
const char *  pName,
const FbxTexture pFrom 
)
staticprotected

◆ Reset()

virtual void Reset ( )
virtual

Resets the default texture values.

Reimplemented in FbxFileTexture, and FbxProceduralTexture.

◆ SetSwapUV()

void SetSwapUV ( bool  pSwapUV)

Sets the swap UV flag.

Parameters
pSwapUVSet to true if the swap UV flag is enabled.
Remarks
If the swap UV flag is enabled, the texture's width and height are swapped.
Examples:
ExportDocument/main.cxx, ExportScene02/main.cxx, ExportScene03/main.cxx, and Layers/main.cxx.

◆ GetSwapUV()

bool GetSwapUV ( ) const

Returns the swap UV flag.

Returns
True if the swap UV flag is enabled.
Remarks
If the swap UV flag is enabled, the texture's width and height are swapped.
Examples:
ImportScene/DisplayTexture.cxx.

◆ SetPremultiplyAlpha()

void SetPremultiplyAlpha ( bool  pPremultiplyAlpha)

Sets the PremultiplyAlpha flag.

Parameters
pPremultiplyAlphaSet to true if the method of storing alpha is PremultiplyAlpha.
Remarks
If PremultiplyAlpha flag is true, the R, G, and B components you store have already been multiplied in with the alpha.

◆ GetPremultiplyAlpha()

bool GetPremultiplyAlpha ( ) const

Returns the PremultiplyAlpha flag.

Returns
True if the method of storing alpha is PremultiplyAlpha.
Remarks
If PremultiplyAlpha flag is true, the R, G, and B components you store have already been multiplied in with the alpha.

◆ SetAlphaSource()

void SetAlphaSource ( EAlphaSource  pAlphaSource)

Sets the alpha source.

Parameters
pAlphaSourceThe alpha source identifier.
Examples:
ExportDocument/main.cxx.

◆ GetAlphaSource()

EAlphaSource GetAlphaSource ( ) const

Returns the alpha source.

Returns
The alpha source identifier for this texture.
Examples:
ImportScene/DisplayTexture.cxx.

◆ SetCropping()

void SetCropping ( int  pLeft,
int  pTop,
int  pRight,
int  pBottom 
)

Sets cropping.

Parameters
pLeftLeft cropping value.
pTopTop cropping value.
pRightRight cropping value.
pBottomBottom cropping value.
Remarks
The defined rectangle is not checked for invalid values. The caller must verify that the rectangle is meaningful for this texture.

◆ GetCroppingLeft()

int GetCroppingLeft ( ) const

Returns left cropping.

Returns
The left side of the cropping rectangle.
Examples:
ImportScene/DisplayTexture.cxx.

◆ GetCroppingTop()

int GetCroppingTop ( ) const

Returns top cropping.

Returns
The top side of the cropping rectangle.
Examples:
ImportScene/DisplayTexture.cxx.

◆ GetCroppingRight()

int GetCroppingRight ( ) const

Returns right cropping.

Returns
The right side of the cropping rectangle.
Examples:
ImportScene/DisplayTexture.cxx.

◆ GetCroppingBottom()

int GetCroppingBottom ( ) const

Returns bottom cropping.

Returns
The bottom side of the cropping rectangle.
Examples:
ImportScene/DisplayTexture.cxx.

◆ SetMappingType()

void SetMappingType ( EMappingType  pMappingType)

Sets the mapping type.

Parameters
pMappingTypeThe mapping type identifier.
Examples:
ExportDocument/main.cxx, ExportScene02/main.cxx, ExportScene03/main.cxx, ExportShader/main.cxx, and Layers/main.cxx.

◆ GetMappingType()

EMappingType GetMappingType ( ) const

Returns the mapping type.

Returns
The mapping type identifier.
Examples:
ImportScene/DisplayTexture.cxx.

◆ SetPlanarMappingNormal()

void SetPlanarMappingNormal ( EPlanarMappingNormal  pPlanarMappingNormal)

Sets the normal orientations for planar mapping.

Parameters
pPlanarMappingNormalThe identifier for planar mapping normal orientation.

◆ GetPlanarMappingNormal()

EPlanarMappingNormal GetPlanarMappingNormal ( ) const

Returns the normal orientations for planar mapping.

Returns
The identifier for planar mapping normal orientation.
Examples:
ImportScene/DisplayTexture.cxx.

◆ SetTextureUse()

void SetTextureUse ( ETextureUse  pTextureUse)

Sets the texture use.

Parameters
pTextureUseThe texture use identifier.
Examples:
ExportDocument/main.cxx, ExportScene02/main.cxx, ExportScene03/main.cxx, ExportShader/main.cxx, and Layers/main.cxx.

◆ GetTextureUse()

ETextureUse GetTextureUse ( ) const

Returns the texture use.

Returns
The texture use identifier.
Examples:
ImportScene/DisplayTexture.cxx.

◆ SetWrapMode()

void SetWrapMode ( EWrapMode  pWrapU,
EWrapMode  pWrapV 
)

Sets the U and V wrap mode.

Parameters
pWrapUWrap mode identifier.
pWrapVWrap mode identifier.

◆ GetWrapModeU()

EWrapMode GetWrapModeU ( ) const

Returns the U wrap mode.

Returns
U wrap mode identifier.

◆ GetWrapModeV()

EWrapMode GetWrapModeV ( ) const

Returns the V wrap mode.

Returns
V wrap mode identifier.

◆ SetBlendMode()

void SetBlendMode ( EBlendMode  pBlendMode)

Sets the blend mode.

Parameters
pBlendModeBlend mode identifier.

◆ GetBlendMode()

EBlendMode GetBlendMode ( ) const

Returns the blend mode.

Returns
Blend mode identifier.

◆ SetDefaultT()

void SetDefaultT ( const FbxVector4 pT)
inline

Sets the default translation vector.

Parameters
pTThe first element is the U translation applied to the texture. A displacement of one unit is equal to the texture width after the U scaling is applied. The second element is the V translation applied to the texture. A displacement of one unit is equal to the texture height after the V scaling is applied. The third and fourth elements have no effect on texture translation.

Definition at line 395 of file fbxtexture.h.

395 { Translation.Set( pT ); }
FbxPropertyT< FbxDouble3 > Translation
This property handles the default translation vector.
Definition: fbxtexture.h:155

◆ GetDefaultT()

FbxVector4& GetDefaultT ( FbxVector4 pT) const

Returns the default translation vector.

Parameters
pTThe first element is the U translation applied to the texture. A displacement of one unit is equal to the texture width after the U scaling is applied. The second element is the V translation applied to the texture. A displacement of one unit is equal to the texture height after the V scaling is applied. The third and fourth elements have no effect on texture translation.
Returns
The input parameter completed with appropriate data.

◆ SetDefaultR()

void SetDefaultR ( const FbxVector4 pR)
inline

Sets the default rotation vector.

Parameters
pRThe first element is the texture rotation around the U axis in degrees. The second element is the texture rotation around the V axis in degrees. The third element is the texture rotation around the W axis in degrees.
Remarks
The W axis is oriented toward the result of the vector product of the U and V axes that is W = U x V.

Definition at line 417 of file fbxtexture.h.

417 { Rotation.Set( FbxDouble3(pR[0],pR[1],pR[2]) ); }
FbxVectorTemplate3< FbxDouble > FbxDouble3
Definition: fbxtypes.h:258
FbxPropertyT< FbxDouble3 > Rotation
This property handles the default rotation vector.
Definition: fbxtexture.h:160

◆ GetDefaultR()

FbxVector4& GetDefaultR ( FbxVector4 pR) const

Returns the default rotation vector.

Parameters
pRFirst element is the texture rotation around the U axis in degrees. Second element is the texture rotation around the V axis in degrees. Third element is the texture rotation around the W axis in degrees.
Returns
Input parameter filled with appropriate data.
Remarks
The W axis is oriented towards the result of the vector product of the U axis and V axis i.e. W = U x V.

◆ SetDefaultS()

void SetDefaultS ( const FbxVector4 pS)
inline

Sets the default scale vector.

Parameters
pSThe first element is scale applied to the texture width. The second element is scale applied to the texture height. The third and fourth elements have no effect on the texture.
Remarks
A scale value less than 1 stretches the texture. A scale value greater than 1 compresses the texture.

Definition at line 437 of file fbxtexture.h.

437 { Scaling.Set( FbxDouble3(pS[0],pS[1],pS[2]) ); }
FbxVectorTemplate3< FbxDouble > FbxDouble3
Definition: fbxtypes.h:258
FbxPropertyT< FbxDouble3 > Scaling
This property handles the default scale vector.
Definition: fbxtexture.h:165

◆ GetDefaultS()

FbxVector4& GetDefaultS ( FbxVector4 pS) const

Returns the default scale vector.

Parameters
pSThe first element is scale applied to the texture width. The second element is scale applied to the texture height. The third and fourth elements have no effect on the texture.
Remarks
A scale value less than 1 stretches the texture. A scale value greater than 1 compresses the texture.

◆ SetDefaultAlpha()

void SetDefaultAlpha ( double  pAlpha)

Sets the default alpha.

Parameters
pAlphaA value on a scale from 0 to 1, with 0 being transparent.

◆ GetDefaultAlpha()

double GetDefaultAlpha ( ) const

Returns the default alpha.

Returns
A value on a scale from 0 to 1, with 0 being transparent.
Examples:
ImportScene/DisplayTexture.cxx.

◆ SetTranslation()

void SetTranslation ( double  pU,
double  pV 
)

Sets translation.

Parameters
pUHorizontal translation applied to a texture. A displacement of one unit is equal to the texture's width after applying U scaling.
pVVertical translation applied to a texture. A displacement of one unit is equal to the texture's height after applying V scaling.
Examples:
ExportDocument/main.cxx, ExportScene02/main.cxx, ExportScene03/main.cxx, and Layers/main.cxx.

◆ GetTranslationU()

double GetTranslationU ( ) const

Returns translation applied to the texture width.

Remarks
A displacement of one unit is equal to the texture's width after applying U scaling.
Examples:
ImportScene/DisplayTexture.cxx.

◆ GetTranslationV()

double GetTranslationV ( ) const

Returns translation applied to the texture height.

Remarks
A displacement of one unit is equal to the texture's height after applying V scaling.
Examples:
ImportScene/DisplayTexture.cxx.

◆ SetRotation()

void SetRotation ( double  pU,
double  pV,
double  pW = 0.0 
)

Sets rotation.

Parameters
pUTexture rotation around the U axis in degrees.
pVTexture rotation around the V axis in degrees.
pWTexture rotation around the W axis in degrees.
Remarks
The W axis is oriented toward the result of the vector product of the U and V axes that is W = U x V.
Examples:
ExportDocument/main.cxx, ExportScene02/main.cxx, ExportScene03/main.cxx, and Layers/main.cxx.

◆ GetRotationU()

double GetRotationU ( ) const

Returns the texture rotation around the U axis in degrees.

Examples:
ImportScene/DisplayTexture.cxx.

◆ GetRotationV()

double GetRotationV ( ) const

Returns the texture rotation around the V axis in degrees.

Examples:
ImportScene/DisplayTexture.cxx.

◆ GetRotationW()

double GetRotationW ( ) const

Returns the texture rotation around the W axis in degrees.

Examples:
ImportScene/DisplayTexture.cxx.

◆ SetScale()

void SetScale ( double  pU,
double  pV 
)

Sets scale.

Parameters
pUScale applied to the texture width.
pVScale applied to the texture height.
Remarks
A scale value less than 1 stretches the texture. A scale value greater than 1 compresses the texture.
Examples:
ExportDocument/main.cxx, ExportScene02/main.cxx, ExportScene03/main.cxx, and Layers/main.cxx.

◆ GetScaleU()

double GetScaleU ( ) const

Returns scale applied to the texture width.

Remarks
A scale value less than 1 stretches the texture. A scale value greater than 1 compresses the texture.
Examples:
ImportScene/DisplayTexture.cxx.

◆ GetScaleV()

double GetScaleV ( ) const

Returns scale applied to the texture height.

Remarks
A scale value less than 1 stretches the texture. A scale value greater than 1 compresses the texture.
Examples:
ImportScene/DisplayTexture.cxx.

Friends And Related Function Documentation

◆ fbxsdk ::FbxManager

friend class fbxsdk ::FbxManager
friend

Definition at line 28 of file fbxtexture.h.

◆ fbxsdk ::FbxNew [1/47]

T* fbxsdk ::FbxNew ( )
friend

◆ fbxsdk ::FbxNew [2/47]

T* fbxsdk ::FbxNew ( T1 &  p1)
friend

◆ fbxsdk ::FbxNew [3/47]

T* fbxsdk ::FbxNew ( const T1 &  p1)
friend

◆ fbxsdk ::FbxNew [4/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2 
)
friend

◆ fbxsdk ::FbxNew [5/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
const T2 &  p2 
)
friend

◆ fbxsdk ::FbxNew [6/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2 
)
friend

◆ fbxsdk ::FbxNew [7/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2 
)
friend

◆ fbxsdk ::FbxNew [8/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2,
T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [9/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2,
const T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [10/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
const T2 &  p2,
T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [11/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
const T2 &  p2,
const T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [12/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [13/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
const T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [14/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [15/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3 
)
friend

◆ fbxsdk ::FbxNew [16/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2,
T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [17/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2,
T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [18/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2,
const T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [19/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2,
const T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [20/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
const T2 &  p2,
T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [21/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
const T2 &  p2,
T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [22/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
const T2 &  p2,
const T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [23/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
const T2 &  p2,
const T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [24/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [25/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [26/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
const T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [27/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
const T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [28/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [29/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [30/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [31/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
const T4 &  p4 
)
friend

◆ fbxsdk ::FbxNew [32/47]

T* fbxsdk ::FbxNew ( T1 &  p1,
T2 &  p2,
T3 &  p3,
T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [33/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
T3 &  p3,
T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [34/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
T3 &  p3,
T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [35/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
const T3 &  p3,
T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [36/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
T3 &  p3,
const T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [37/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
T2 &  p2,
T3 &  p3,
T4 &  p4,
const T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [38/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [39/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
T3 &  p3,
const T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [40/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
T3 &  p3,
T4 &  p4,
const T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [41/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
const T4 &  p4,
T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [42/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
T4 &  p4,
const T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [43/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
const T4 &  p4,
const T5 &  p5 
)
friend

◆ fbxsdk ::FbxNew [44/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
const T4 &  p4,
const T5 &  p5,
const T6 &  p6 
)
friend

◆ fbxsdk ::FbxNew [45/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
const T4 &  p4,
const T5 &  p5,
const T6 &  p6,
const T7 &  p7 
)
friend

◆ fbxsdk ::FbxNew [46/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
const T4 &  p4,
const T5 &  p5,
const T6 &  p6,
const T7 &  p7,
const T8 &  p8 
)
friend

◆ fbxsdk ::FbxNew [47/47]

T* fbxsdk ::FbxNew ( const T1 &  p1,
const T2 &  p2,
const T3 &  p3,
const T4 &  p4,
const T5 &  p5,
const T6 &  p6,
const T7 &  p7,
const T8 &  p8,
const T9 &  p9 
)
friend

◆ fbxsdk ::FbxDelete [1/2]

void fbxsdk ::FbxDelete ( T *  p)
friend

◆ fbxsdk ::FbxDelete [2/2]

void fbxsdk ::FbxDelete ( const T *  p)
friend

◆ fbxsdk ::FbxNewArray

T* fbxsdk ::FbxNewArray ( const int  n)
friend

◆ fbxsdk ::FbxDeleteArray

void fbxsdk ::FbxDeleteArray ( T *  p)
friend

Member Data Documentation

◆ ClassId

FbxClassId ClassId
static

Definition at line 28 of file fbxtexture.h.

◆ TextureTypeUse

FbxPropertyT<ETextureUse6> TextureTypeUse

This property handles the use of textures.

Default value is eTEXTURE_USE_6_STANDARD.

Definition at line 113 of file fbxtexture.h.

◆ Alpha

This property handles the default alpha value for textures.

Default value is 1.0

Definition at line 118 of file fbxtexture.h.

◆ CurrentMappingType

FbxPropertyT<EUnifiedMappingType> CurrentMappingType

This property handles the texture mapping types.

Default value is eUMT_UV.

Definition at line 126 of file fbxtexture.h.

◆ WrapModeU

FbxPropertyT<EWrapMode> WrapModeU

This property handles the texture wrap modes in U.

Default value is eRepeat.

Definition at line 131 of file fbxtexture.h.

◆ WrapModeV

FbxPropertyT<EWrapMode> WrapModeV

This property handles the texture wrap modes in V.

Default value is eRepeat.

Definition at line 136 of file fbxtexture.h.

◆ UVSwap

This property handles the swap UV flag.

If swap UV flag is enabled, the texture's width and height are swapped. Default value is false.

Definition at line 142 of file fbxtexture.h.

◆ PremultiplyAlpha

FbxPropertyT<FbxBool> PremultiplyAlpha

This property handles the PremultiplyAlpha flag.

If PremultiplyAlpha flag is true, the R, G, and B components you store have already been multiplied in with the alpha. Default value is true.

Definition at line 148 of file fbxtexture.h.

◆ Translation

FbxPropertyT<FbxDouble3> Translation

This property handles the default translation vector.

Default value is FbxDouble3(0.0,0.0,0.0).

Definition at line 155 of file fbxtexture.h.

◆ Rotation

This property handles the default rotation vector.

Default value is FbxDouble3(0.0,0.0,0.0).

Definition at line 160 of file fbxtexture.h.

◆ Scaling

This property handles the default scale vector.

Default value is FbxDouble3(1.0,1.0,1.0).

Definition at line 165 of file fbxtexture.h.

◆ RotationPivot

FbxPropertyT<FbxDouble3> RotationPivot

This property handles the rotation pivot vector.

Default value is FbxDouble3(0.0,0.0,0.0).

Definition at line 170 of file fbxtexture.h.

◆ ScalingPivot

FbxPropertyT<FbxDouble3> ScalingPivot

This property handles the scaling pivot vector.

Default value is FbxDouble3(0.0,0.0,0.0).

Definition at line 175 of file fbxtexture.h.

◆ CurrentTextureBlendMode

FbxPropertyT<EBlendMode> CurrentTextureBlendMode

This property handles the texture blend mode.

Default value is eAdditive.

Definition at line 181 of file fbxtexture.h.

◆ UVSet

This property handles the use of UV sets.

Default value is "default".

Examples:
ExportScene03/main.cxx.

Definition at line 187 of file fbxtexture.h.

◆ sVectorSpace

const char* sVectorSpace
static

This property only used by Vector Displacement Texture so it is not added to FbxTexture.

It is a dynamic enum property which has values : "World", "Object" and "Tangent" Default value is "Object".

Definition at line 193 of file fbxtexture.h.

◆ sVectorSpaceWorld

const char* sVectorSpaceWorld
static

Definition at line 194 of file fbxtexture.h.

◆ sVectorSpaceObject

const char* sVectorSpaceObject
static

Definition at line 195 of file fbxtexture.h.

◆ sVectorSpaceTangent

const char* sVectorSpaceTangent
static

Definition at line 196 of file fbxtexture.h.

◆ sVectorEncoding

const char* sVectorEncoding
static

This property only used by Vector Displacement Texture so it is not added to FbxTexture.

It is a dynamic enum property which has values : "Floating-point Absolute" and "Signed Encoding" Default value is "Floating-point Absolute".

Definition at line 202 of file fbxtexture.h.

◆ sVectorEncodingFP

const char* sVectorEncodingFP
static

Definition at line 203 of file fbxtexture.h.

◆ sVectorEncodingSE

const char* sVectorEncodingSE
static

Definition at line 204 of file fbxtexture.h.


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