13 #ifndef _FBXSDK_SCENE_SHADING_TEXTURE_H_
14 #define _FBXSDK_SCENE_SHADING_TEXTURE_H_
66 eTEXTURE_USE_6_BUMP_NORMAL_MAP
209 virtual void Reset();
215 void SetSwapUV(
bool pSwapUV);
221 bool GetSwapUV()
const;
227 void SetPremultiplyAlpha(
bool pPremultiplyAlpha);
233 bool GetPremultiplyAlpha()
const;
247 void SetAlphaSource(EAlphaSource pAlphaSource);
252 EAlphaSource GetAlphaSource()
const;
263 void SetCropping(
int pLeft,
int pTop,
int pRight,
int pBottom);
268 int GetCroppingLeft()
const;
273 int GetCroppingTop()
const;
278 int GetCroppingRight()
const;
283 int GetCroppingBottom()
const;
302 void SetMappingType(EMappingType pMappingType);
307 EMappingType GetMappingType()
const;
321 void SetPlanarMappingNormal(EPlanarMappingNormal pPlanarMappingNormal);
326 EPlanarMappingNormal GetPlanarMappingNormal()
const;
343 void SetTextureUse(ETextureUse pTextureUse);
348 ETextureUse GetTextureUse()
const;
355 void SetWrapMode(EWrapMode pWrapU, EWrapMode pWrapV);
360 EWrapMode GetWrapModeU()
const;
365 EWrapMode GetWrapModeV()
const;
371 void SetBlendMode(EBlendMode pBlendMode);
376 EBlendMode GetBlendMode()
const;
458 void SetDefaultAlpha(
double pAlpha);
463 double GetDefaultAlpha()
const;
481 void SetTranslation(
double pU,
double pV);
487 double GetTranslationU()
const;
493 double GetTranslationV()
const;
502 void SetRotation(
double pU,
double pV,
double pW = 0.0);
505 double GetRotationU()
const;
508 double GetRotationV()
const;
511 double GetRotationW()
const;
519 void SetScale(
double pU,
double pV);
525 double GetScaleU()
const;
531 double GetScaleV()
const;
537 #ifndef DOXYGEN_SHOULD_SKIP_THIS
540 bool operator==(
FbxTexture const& pTexture)
const;
553 virtual bool PropertyNotify(EPropertyNotifyType pType,
FbxProperty& pProperty);
559 EAlphaSource mAlphaSource;
560 EMappingType mMappingType;
561 EPlanarMappingNormal mPlanarMappingNormal;
FbxPropertyT< FbxBool > UVSwap
This property handles the swap UV flag.
static const char * sVectorSpaceWorld
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
No texture mapping defined.
Spherical reflection map: Object reflects the contents of the scene.
EPlanarMappingNormal
Planar mapping normal orientations.
ECoordinates
Texture coordinates.
FBX SDK environment definition.
FbxPropertyT & Set(const T &pValue)
Assignment function.
FbxPropertyT< EWrapMode > WrapModeV
This property handles the texture wrap modes in V.
FbxPropertyT< EBlendMode > CurrentTextureBlendMode
This property handles the texture blend mode.
FbxVectorTemplate3< FbxDouble > FbxDouble3
Maps to EMappingType::eCylindrical.
Maps to EMappingType::ePlanar and EPlanarMappingNormal::ePlanarNormalY.
FbxPropertyT< FbxString > UVSet
This property handles the use of UV sets.
virtual FbxObject & Copy(const FbxObject &pObject)
Copy an object content into this object.
Utility class to manipulate strings.
Apply texture to the model viewed as a plane.
Maps to EMappingType::eSpherical.
FbxPropertyT< EUnifiedMappingType > CurrentMappingType
This property handles the texture mapping types.
FbxPropertyT< FbxDouble3 > ScalingPivot
This property handles the scaling pivot vector.
void SetDefaultR(const FbxVector4 &pR)
Sets the default rotation vector.
Wrap texture around the model as if it was a sphere.
Maps to ETextureUse::eSphereReflectionMap.
This class is the base class for textures, ie classes FbxFileTexture, FbxLayeredTexture and FbxProced...
Maps to EMappingType::eEnvironment.
FbxPropertyT< ETextureUse6 > TextureTypeUse
This property handles the use of textures.
Maps to ETextureUse::eShadowMap.
FbxPropertyT< EWrapMode > WrapModeU
This property handles the texture wrap modes in U.
FbxPropertyT< FbxDouble3 > Translation
This property handles the default translation vector.
Maps to ETextureUse::eStandard.
EFbxType
Type identifier constants.
Wrap texture around the model as if it was a cylinder.
The base class of most FBX objects.
static const char * sVectorEncoding
This property only used by Vector Displacement Texture so it is not added to FbxTexture.
FbxPropertyT< FbxDouble3 > Scaling
This property handles the default scale vector.
Maps to EMappingType::ePlanar and EPlanarMappingNormal::ePlanarNormalZ.
The color value of the texture is multiplied by the color values of all previous layers of texture...
static const char * sVectorSpaceObject
DEPRECATED! Maps to EMappingType::eFace.
virtual void Construct(const FbxObject *pFrom)
Optional constructor override, automatically called by default constructor.
EFbxType FbxTypeOf(const FbxTexture::EUnifiedMappingType &)
void SetDefaultT(const FbxVector4 &pT)
Sets the default translation vector.
FbxPropertyT< FbxDouble3 > RotationPivot
This property handles the rotation pivot vector.
static const char * sVectorSpace
This property only used by Vector Displacement Texture so it is not added to FbxTexture.
Class to hold user properties.
FbxPropertyT< FbxDouble3 > Rotation
This property handles the default rotation vector.
EAlignMode
Align indices for cropping.
Apply texture to the model viewed as a face.
ETextureUse6
Internal enum for texture usage.
static const char * sVectorEncodingFP
static const char * sVectorSpaceTangent
DEPRECATED! Maps to EMappingType::eBox.
A four double mathematic vector class.
Maps to EMappingType::eUV.
Maps to ETextureUse::eSphericalReflectionMap.
EUnifiedMappingType
Internal enum for texture mapping types.
FbxPropertyT< FbxDouble > Alpha
This property handles the default alpha value for textures.
Normals are in the direction of the X axis, mapping plan is in the YZ axis.
EMappingType
Texture mapping types.
A two double mathematic vector class.
Maps to EMappingType::ePlanar and EPlanarMappingNormal::ePlanarNormalX.
FbxPropertyT< FbxBool > PremultiplyAlpha
This property handles the PremultiplyAlpha flag.
Wrap texture around the model as if it was a box.
void SetDefaultS(const FbxVector4 &pS)
Sets the default scale vector.
EAlphaSource
Controls if the Alpha computation of the current texture comes from the Alpha channel, RGB Intensity channel, or if there is No Alpha.
The texture is transparent, depending on the Alpha settings.
virtual void ConstructProperties(bool pForceSet)
Optional property constructor override, automatically called by default constructor.
static const char * sVectorEncodingSE
The color of the texture is added to the previous texture.
Standard texture use (ex. image)