FBX C++ API Reference
|
#include <fbxtexture.h>
This class is the base class for textures, ie classes FbxFileTexture, FbxLayeredTexture and FbxProceduralTexture.
It describes image mapping on top of a geometry.
Definition at line 26 of file fbxtexture.h.
Public Types | |
typedef FbxObject | ParentClass |
![]() | |
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 |
![]() | |
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... | |
FbxManager * | GetFbxManager () const |
Retrieve the FbxManager this object belongs to. More... | |
FbxDocument * | GetDocument () const |
Returns a const pointer to the document that contains this object. More... | |
FbxDocument * | GetRootDocument () const |
Returns a const pointer to the root document that contains this object. More... | |
FbxScene * | GetScene () 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... | |
FbxObject * | GetSrcObject (int pIndex=0) const |
Returns the source object with which this object connects at the specified index. More... | |
FbxObject * | GetSrcObject (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... | |
FbxObject * | FindSrcObject (const char *pName, int pStartIndex=0) const |
Searches the source object with the specified name, starting at the specified index. More... | |
FbxObject * | FindSrcObject (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... | |
FbxObject * | GetDstObject (int pIndex=0) const |
Returns the destination object at the specified index with which this object connects. More... | |
FbxObject * | GetDstObject (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... | |
FbxObject * | FindDstObject (const char *pName, int pStartIndex=0) const |
Searches the destination object with the specified name, starting at the specified index. More... | |
FbxObject * | FindDstObject (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... | |
FbxLibrary * | GetParentLibrary () 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... | |
FbxImplementation * | GetDefaultImplementation (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... | |
FbxImplementation * | GetImplementation (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 FbxObject & | Copy (const FbxObject &pObject) |
Copy an object content into this object. More... | |
virtual FbxObject * | Clone (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... | |
FbxObject * | GetReferenceTo () 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... | |
FbxObject * | GetReferencedBy (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 FbxUInt64 & | GetUniqueID () const |
Returns the unique ID of this object. More... | |
![]() | |
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 FbxTexture * | Create (FbxManager *pManager, const char *pName) |
static FbxTexture * | Create (FbxObject *pContainer, const char *pName) |
![]() | |
static FbxObject * | Create (FbxManager *pManager, const char *pName) |
static FbxObject * | Create (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 FbxClassId | ClassId |
Protected Member Functions | |
virtual | ~ FbxTexture () |
FbxTexture (FbxManager &pManager, const char *pName) | |
![]() | |
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 FbxPeripheral * | GetPeripheral () |
Retrieves the peripheral of that object. More... | |
Static Protected Member Functions | |
static FbxTexture * | Allocate (FbxManager *pManager, const char *pName, const FbxTexture *pFrom) |
![]() | |
static FbxObject * | Allocate (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< ETextureUse6 > | TextureTypeUse |
This property handles the use of textures. More... | |
FbxPropertyT< FbxDouble > | Alpha |
This property handles the default alpha value for textures. More... | |
FbxPropertyT< EUnifiedMappingType > | CurrentMappingType |
This property handles the texture mapping types. More... | |
FbxPropertyT< EWrapMode > | WrapModeU |
This property handles the texture wrap modes in U. More... | |
FbxPropertyT< EWrapMode > | WrapModeV |
This property handles the texture wrap modes in V. More... | |
FbxPropertyT< FbxBool > | UVSwap |
This property handles the swap UV flag. More... | |
FbxPropertyT< FbxBool > | PremultiplyAlpha |
This property handles the PremultiplyAlpha flag. More... | |
FbxPropertyT< FbxDouble3 > | Translation |
This property handles the default translation vector. More... | |
FbxPropertyT< FbxDouble3 > | Rotation |
This property handles the default rotation vector. More... | |
FbxPropertyT< FbxDouble3 > | Scaling |
This property handles the default scale vector. More... | |
FbxPropertyT< FbxDouble3 > | RotationPivot |
This property handles the rotation pivot vector. More... | |
FbxPropertyT< FbxDouble3 > | ScalingPivot |
This property handles the scaling pivot vector. More... | |
FbxPropertyT< EBlendMode > | CurrentTextureBlendMode |
This property handles the texture blend mode. More... | |
FbxPropertyT< FbxString > | UVSet |
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... | |
FbxVector4 & | GetDefaultT (FbxVector4 &pT) const |
Returns the default translation vector. More... | |
void | SetDefaultR (const FbxVector4 &pR) |
Sets the default rotation vector. More... | |
FbxVector4 & | GetDefaultR (FbxVector4 &pR) const |
Returns the default rotation vector. More... | |
void | SetDefaultS (const FbxVector4 &pS) |
Sets the default scale vector. More... | |
FbxVector4 & | GetDefaultS (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 | |
![]() | |
FbxProperty | RootProperty |
The root property that holds all children property for this object. More... | |
typedef FbxObject ParentClass |
Definition at line 28 of file fbxtexture.h.
enum 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.
Definition at line 40 of file fbxtexture.h.
enum 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.
Definition at line 59 of file fbxtexture.h.
enum EWrapMode |
Wrap modes.
Use SetWrapMode(), GetWrapModeU() and GetWrapModeV() to access these values.
Definition at line 72 of file fbxtexture.h.
enum EBlendMode |
Blend modes.
Definition at line 80 of file fbxtexture.h.
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.
enum ECoordinates |
Texture coordinates.
Enumerator | |
---|---|
eU | |
eV | U axis. |
eW | V axis. W axis. |
Definition at line 101 of file fbxtexture.h.
enum 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.
enum EMappingType |
Texture mapping types.
Definition at line 287 of file fbxtexture.h.
enum EPlanarMappingNormal |
Planar mapping normal orientations.
Definition at line 311 of file fbxtexture.h.
enum ETextureUse |
Texture uses.
Definition at line 330 of file fbxtexture.h.
|
inlineprotectedvirtual |
Definition at line 28 of file fbxtexture.h.
|
inlineprotected |
Definition at line 28 of file fbxtexture.h.
|
inlinevirtual |
Reimplemented from FbxObject.
Reimplemented in FbxLayeredTexture, FbxFileTexture, and FbxProceduralTexture.
Definition at line 28 of file fbxtexture.h.
|
static |
|
static |
|
staticprotected |
|
virtual |
Resets the default texture values.
Reimplemented in FbxFileTexture, and FbxProceduralTexture.
void SetSwapUV | ( | bool | pSwapUV | ) |
Sets the swap UV flag.
pSwapUV | Set to true if the swap UV flag is enabled. |
bool GetSwapUV | ( | ) | const |
Returns the swap UV flag.
True
if the swap UV flag is enabled. void SetPremultiplyAlpha | ( | bool | pPremultiplyAlpha | ) |
Sets the PremultiplyAlpha flag.
pPremultiplyAlpha | Set to true if the method of storing alpha is PremultiplyAlpha. |
bool GetPremultiplyAlpha | ( | ) | const |
Returns the PremultiplyAlpha flag.
True
if the method of storing alpha is PremultiplyAlpha. void SetAlphaSource | ( | EAlphaSource | pAlphaSource | ) |
Sets the alpha source.
pAlphaSource | The alpha source identifier. |
EAlphaSource GetAlphaSource | ( | ) | const |
Returns the alpha source.
void SetCropping | ( | int | pLeft, |
int | pTop, | ||
int | pRight, | ||
int | pBottom | ||
) |
Sets cropping.
pLeft | Left cropping value. |
pTop | Top cropping value. |
pRight | Right cropping value. |
pBottom | Bottom cropping value. |
int GetCroppingLeft | ( | ) | const |
Returns left cropping.
int GetCroppingTop | ( | ) | const |
Returns top cropping.
int GetCroppingRight | ( | ) | const |
Returns right cropping.
int GetCroppingBottom | ( | ) | const |
Returns bottom cropping.
void SetMappingType | ( | EMappingType | pMappingType | ) |
Sets the mapping type.
pMappingType | The mapping type identifier. |
EMappingType GetMappingType | ( | ) | const |
Returns the mapping type.
void SetPlanarMappingNormal | ( | EPlanarMappingNormal | pPlanarMappingNormal | ) |
Sets the normal orientations for planar mapping.
pPlanarMappingNormal | The identifier for planar mapping normal orientation. |
EPlanarMappingNormal GetPlanarMappingNormal | ( | ) | const |
Returns the normal orientations for planar mapping.
void SetTextureUse | ( | ETextureUse | pTextureUse | ) |
Sets the texture use.
pTextureUse | The texture use identifier. |
ETextureUse GetTextureUse | ( | ) | const |
Returns the texture use.
Sets the U and V wrap mode.
pWrapU | Wrap mode identifier. |
pWrapV | Wrap mode identifier. |
EWrapMode GetWrapModeU | ( | ) | const |
Returns the U wrap mode.
EWrapMode GetWrapModeV | ( | ) | const |
Returns the V wrap mode.
void SetBlendMode | ( | EBlendMode | pBlendMode | ) |
Sets the blend mode.
pBlendMode | Blend mode identifier. |
EBlendMode GetBlendMode | ( | ) | const |
Returns the blend mode.
|
inline |
Sets the default translation vector.
pT | The 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.
FbxVector4& GetDefaultT | ( | FbxVector4 & | pT | ) | const |
Returns the default translation vector.
pT | The 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. |
|
inline |
Sets the default rotation vector.
pR | The 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. |
Definition at line 417 of file fbxtexture.h.
FbxVector4& GetDefaultR | ( | FbxVector4 & | pR | ) | const |
Returns the default rotation vector.
pR | First 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. |
|
inline |
Sets the default scale vector.
pS | The 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. |
Definition at line 437 of file fbxtexture.h.
FbxVector4& GetDefaultS | ( | FbxVector4 & | pS | ) | const |
Returns the default scale vector.
pS | The 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. |
void SetDefaultAlpha | ( | double | pAlpha | ) |
Sets the default alpha.
pAlpha | A value on a scale from 0 to 1, with 0 being transparent. |
double GetDefaultAlpha | ( | ) | const |
Returns the default alpha.
void SetTranslation | ( | double | pU, |
double | pV | ||
) |
Sets translation.
pU | Horizontal translation applied to a texture. A displacement of one unit is equal to the texture's width after applying U scaling. |
pV | Vertical translation applied to a texture. A displacement of one unit is equal to the texture's height after applying V scaling. |
double GetTranslationU | ( | ) | const |
Returns translation applied to the texture width.
double GetTranslationV | ( | ) | const |
Returns translation applied to the texture height.
void SetRotation | ( | double | pU, |
double | pV, | ||
double | pW = 0.0 |
||
) |
Sets rotation.
pU | Texture rotation around the U axis in degrees. |
pV | Texture rotation around the V axis in degrees. |
pW | Texture rotation around the W axis in degrees. |
double GetRotationU | ( | ) | const |
Returns the texture rotation around the U axis in degrees.
double GetRotationV | ( | ) | const |
Returns the texture rotation around the V axis in degrees.
double GetRotationW | ( | ) | const |
Returns the texture rotation around the W axis in degrees.
void SetScale | ( | double | pU, |
double | pV | ||
) |
Sets scale.
pU | Scale applied to the texture width. |
pV | Scale applied to the texture height. |
double GetScaleU | ( | ) | const |
Returns scale applied to the texture width.
double GetScaleV | ( | ) | const |
Returns scale applied to the texture height.
|
friend |
Definition at line 28 of file fbxtexture.h.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
static |
Definition at line 28 of file fbxtexture.h.
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.
FbxPropertyT<FbxDouble> Alpha |
This property handles the default alpha value for textures.
Default value is 1.0
Definition at line 118 of file fbxtexture.h.
FbxPropertyT<EUnifiedMappingType> CurrentMappingType |
This property handles the texture mapping types.
Default value is eUMT_UV.
Definition at line 126 of file fbxtexture.h.
FbxPropertyT<EWrapMode> WrapModeU |
This property handles the texture wrap modes in U.
Default value is eRepeat.
Definition at line 131 of file fbxtexture.h.
FbxPropertyT<EWrapMode> WrapModeV |
This property handles the texture wrap modes in V.
Default value is eRepeat.
Definition at line 136 of file fbxtexture.h.
FbxPropertyT<FbxBool> 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.
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.
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.
FbxPropertyT<FbxDouble3> 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.
FbxPropertyT<FbxDouble3> 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.
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.
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.
FbxPropertyT<EBlendMode> CurrentTextureBlendMode |
This property handles the texture blend mode.
Default value is eAdditive.
Definition at line 181 of file fbxtexture.h.
FbxPropertyT<FbxString> UVSet |
This property handles the use of UV sets.
Default value is "default".
Definition at line 187 of file fbxtexture.h.
|
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.
|
static |
Definition at line 194 of file fbxtexture.h.
|
static |
Definition at line 195 of file fbxtexture.h.
|
static |
Definition at line 196 of file fbxtexture.h.
|
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.
|
static |
Definition at line 203 of file fbxtexture.h.
|
static |
Definition at line 204 of file fbxtexture.h.