#include <FCDTexture.h>
Inheritance diagram for FCDTexture:
Public Member Functions | |
FCDTexture (FCDocument *document) | |
Constructor: do not use directly. | |
virtual | ~FCDTexture () |
Destructor: do not use directly. | |
virtual Type | GetType () const |
Retrieves the type of the entity class. | |
FUDaeTextureChannel::Channel | GetTextureChannel () const |
Retrieves which texture channel to use for this texture. | |
FCDImage * | GetImage () |
Retrieves the image information for this texture. | |
const FCDImage * | GetImage () const |
See above. | |
void | SetImage (FCDImage *_image) |
Sets the image to be used with this texture. | |
FCDEffectParameterInt * | GetSet () |
Retrieves the texture coordinate set to use with this texture. | |
const FCDEffectParameterInt * | GetSet () const |
See above. | |
FUDaeBlendMode::Mode | GetBlendMode () const |
Retrieves the blend mode to use if this texture is not the first one within its channel's bucket. | |
void | SetBlendMode (FUDaeBlendMode::Mode mode) |
Sets the blend mode to use if this texture is not the first one within its channel's bucket. | |
const string & | GetSubId () const |
void | SetSubId (const string &_subId) |
float & | GetMultiplier () |
Retrieves the generic multiplier to apply on the texture. | |
const float & | GetMultiplier () const |
See above. | |
void | SetMultiplier (float _multiplier) |
Sets the generic multiplier. | |
bool | HasPlacement2D () const |
Retrieves whether the texturing information includes the ColladaMaya-specific 2D placement parameters. | |
void | ClearPlacement2D () |
Removes the ColladaMaya-specific 2D placement parameters and resets them. | |
float & | GetWrapU () |
Retrieves whether to wrap the U texture coordinates. | |
const float & | GetWrapU () const |
See above. | |
void | SetWrapU (bool _wrapU) |
Sets whether to wrap the U texture coordinates. | |
float & | GetWrapV () |
Retrieves whether to wrap the V texture coordinates. | |
const float & | GetWrapV () const |
See above. | |
void | SetWrapV (bool _wrapV) |
Sets whether to wrap the V texture coordinates. | |
float & | GetMirrorU () |
Retrieves whether to mirror the U texture coordinates. | |
const float & | GetMirrorU () const |
See above. | |
void | SetMirrorU (bool _mirrorU) |
Sets whether to mirror the U texture coordinates. | |
float & | GetMirrorV () |
Retrieves whether to mirror the V texture coordinates. | |
const float & | GetMirrorV () const |
See above. | |
void | SetMirrorV (bool _mirrorV) |
Sets whether to mirror the V texture coordinates. | |
float & | GetStagger () |
Retrieves whether to stagger the texture. | |
const float & | GetStagger () const |
See above. | |
void | SetStagger (bool _stagger) |
Sets whether to stagger the texture. | |
float & | GetFast () |
Retrieves the 'fast' flag. | |
const float & | GetFast () const |
See above. | |
void | SetFast (bool _fast) |
Sets the 'fast' flag. | |
float & | GetCoverageU () |
Retrieves the scale factor of the texture frame, in the U coordinates. | |
const float & | GetCoverageU () const |
See above. | |
void | SetCoverageU (float _coverageU) |
Sets the scale factor of the texture frame, in the U coordinates. | |
float & | GetCoverageV () |
Retrieves the scale factor of the texture frame, in the V coordinates. | |
const float & | GetCoverageV () const |
See above. | |
void | SetCoverageV (float _coverageV) |
Sets the scale factor of the texture frame, in the V coordinates. | |
float & | GetTranslateFrameU () |
Retrieves the translation of the texture frame, in the U coordinate. | |
const float & | GetTranslateFrameU () const |
See above. | |
void | SetTranslateFrameU (float _translateFrameU) |
Sets the translation of the texture frame, in the U coordinate. | |
float & | GetTranslateFrameV () |
Retrieves the translation of the texture frame, in the V coordinate. | |
const float & | GetTranslateFrameV () const |
See above. | |
void | SetTranslateFrameV (float _translateFrameV) |
Sets the translation of the texture frame, in the V coordinate. | |
float & | GetRotateFrame () |
Retrieves the angle of rotation of the texture frame. | |
const float & | GetRotateFrame () const |
See above. | |
void | SetRotateFrame (float _rotateFrame) |
Sets the angle of rotation of the texture frame. | |
float & | GetRepeatU () |
Retrieves the scale factor applied on the U coordinates of the rendered polygons. | |
const float & | GetRepeatU () const |
See above. | |
void | SetRepeatU (float _repeatU) |
Sets the scale factor applied on the U coordinates of the rendered polygons. | |
float & | GetRepeatV () |
Retrieves the scale factor applied on the V coordinates of the rendered polygons. | |
const float & | GetRepeatV () const |
See above. | |
void | SetRepeatV (float _repeatV) |
Sets the scale factor applied on the V coordinates of the rendered polygons. | |
float & | GetOffsetU () |
Retrieves the translation offset applied on the U coordinates of the rendered polygons. | |
const float & | GetOffsetU () const |
See above. | |
void | SetOffsetU (float _offsetU) |
Sets the translation offset applied on the U coordinates of the rendered polygons. | |
float & | GetOffsetV () |
Retrieves the translation offset applied on the V coordinates of the rendered polygons. | |
const float & | GetOffsetV () const |
See above. | |
void | SetOffsetV (float _offsetV) |
Sets the translation offset applied on the V coordinates of the rendered polygons. | |
float & | GetRotateUV () |
Retrieves the rotation angle applied on the texture coordinates of the rendered polygons. | |
const float & | GetRotateUV () const |
See above. | |
void | SetRotateUV (float _rotateUV) |
Sets the rotation angle applied on the texture coordinates of the rendered polygons. | |
float & | GetNoiseU () |
Retrieves the maxmimum amount of noise to add to each of the U coordinates of the rendered polygons. | |
const float & | GetNoiseU () const |
See above. | |
void | SetNoiseU (float _noiseU) |
Sets the maximum amount of noise to add to each of the U coordinates of the rendered polygons. | |
float & | GetNoiseV () |
Retrieves the maxmimum amount of noise to add to each of the V coordinates of the rendered polygons. | |
const float & | GetNoiseV () const |
See above. | |
void | SetNoiseV (float _noiseV) |
Sets the maximum amount of noise to add to each of the V coordinates of the rendered polygons. | |
bool | HasProjection3D () const |
Retrieves whether the texturing information includes the ColladaMaya-specific 3D projection parameters. | |
void | ClearProjection3D () |
Removes the ColladaMaya-specific 3D projection parameters and resets them. | |
FMMatrix44 & | GetProjectionMatrix () |
Retrieves the texture projection matrix. | |
const FMMatrix44 & | GetProjectionMatrix () const |
See above. | |
void | SetProjectionMatrix (const FMMatrix44 &matrix) |
Sets the texture projection matrix. | |
const fstring & | GetProjectionType () const |
Retrieves the type of projection to use on the 3D texture coordinates. | |
void | SetProjectionType (const fstring &type) |
Sets the type of projection to use on the 3D texture coordinates. | |
FCDEffectParameter * | FindParameterBySemantic (const string &semantic) |
Retrieves an effect parameter. | |
void | FindParametersBySemantic (const string &semantic, FCDEffectParameterList ¶meters) |
Retrieves a subset of the local effect parameter list. | |
void | FindParametersByReference (const string &reference, FCDEffectParameterList ¶meters) |
Retrieves a subset of the local effect parameter list. | |
FCDTexture * | Clone () |
[INTERNAL] Clones the texture. | |
FUStatus | LoadFromTextureXML (xmlNode *textureNode) |
[INTERNAL] Reads in the texture from a given COLLADA XML tree node. | |
virtual FUStatus | LoadFromXML (xmlNode *textureNode) |
[INTERNAL] Reads in the texture from a given COLLADA XML tree node. | |
virtual xmlNode * | WriteToXML (xmlNode *parentNode) |
[INTERNAL] Writes out the texture to the given COLLADA XML tree node. |
Textures are used by the COMMON profile materials. For COLLADA 1.3 backward compatibility, the textures may also be entities contained within the material library. The ColladaFX profiles use the FCDEffectParameterSampler and the FCDEffectParameterSurface classes, instead, to hold the texturing information.
Textures hold the information necessary to place an image onto polygon sets. This information includes: which texture coordinate set to use, which image contains the texels, the blend mode, the components of the texture matrix, etc.
Most of the texturing information does not belong to COLLADA and is specific to either Maya or 3dsMax.
|
Constructor: do not use directly. Instead, use the FCDEffectStandard::AddTexture function.
|
|
Destructor: do not use directly. Instead, use the FCDEffectStandard::ReleaseTexture function. |
|
[INTERNAL] Clones the texture. Does not clone the image: both texture objects will point to the same image object.
|
|
Retrieves an effect parameter. Looks for the effect parameter with the correct semantic, in order to bind or override its value. This function compares the local effect parameters with the given semantic.
|
|
Retrieves a subset of the local effect parameter list. Look for the local effect parameter with the correct reference.
|
|
Retrieves a subset of the local effect parameter list. Look for local effect parameters with the correct semantic. This function searches through the effect profile and the level of abstractions below.
|
|
Retrieves the blend mode to use if this texture is not the first one within its channel's bucket.
|
|
Retrieves the scale factor of the texture frame, in the U coordinates. This parameter is specific to ColladaMaya. This value is animatable. For more information on this parameter, check the Maya documentation.
|
|
Retrieves the scale factor of the texture frame, in the V coordinates. This parameter is specific to ColladaMaya. This value is animatable. For more information on this parameter, check the Maya documentation.
|
|
Retrieves the 'fast' flag. This parameter is specific to ColladaMaya. This value is a float because it is animatable: it should be interpreted as a boolean. This parameter has no meaning outside of Maya.
|
|
Retrieves the image information for this texture.
|
|
Retrieves whether to mirror the U texture coordinates. This parameter is specific to ColladaMaya. This value is a float because it is animatable: it should be interpreted as a boolean.
|
|
Retrieves whether to mirror the V texture coordinates. This parameter is specific to ColladaMaya. This value is a float because it is animatable: it should be interpreted as a boolean.
|
|
Retrieves the generic multiplier to apply on the texture. This parameter is specific to ColladaMax. The meaning of this parameter depends on the channel that the texture belongs to. This value is animatable.
|
|
Retrieves the maxmimum amount of noise to add to each of the U coordinates of the rendered polygons. This parameter is specific to ColladaMaya. This value is animatable.
|
|
Retrieves the maxmimum amount of noise to add to each of the V coordinates of the rendered polygons. This parameter is specific to ColladaMaya. This value is animatable.
|
|
Retrieves the translation offset applied on the U coordinates of the rendered polygons. This parameter is specific to ColladaMaya. This value is animatable.
|
|
Retrieves the translation offset applied on the V coordinates of the rendered polygons. This parameter is specific to ColladaMaya. This value is animatable.
|
|
Retrieves the texture projection matrix. This matrix transforms the 3D texture coordinates into valid 2D texture coordinates. This parameter is specific to ColladaMaya.
|
|
Retrieves the type of projection to use on the 3D texture coordinates. This parameter is specific to ColladaMaya.
|
|
Retrieves the scale factor applied on the U coordinates of the rendered polygons. This parameter is specific to ColladaMaya. This value is animatable.
|
|
Retrieves the scale factor applied on the V coordinates of the rendered polygons. This parameter is specific to ColladaMaya. This value is animatable.
|
|
Retrieves the angle of rotation of the texture frame. This parameter is specific to ColladaMaya. This value is animatable. For more information on this parameter, check the Maya documentation.
|
|
Retrieves the rotation angle applied on the texture coordinates of the rendered polygons. This parameter is specific to ColladaMaya. This value is animatable.
|
|
Retrieves the texture coordinate set to use with this texture. This information is duplicated from the material instance abstraction level.
|
|
Retrieves whether to stagger the texture. This parameter is specific to ColladaMaya. This value is a float because it is animatable: it should be interpreted as a boolean.
|
|
|
|
Retrieves which texture channel to use for this texture. As it is directly tied in with which buckets holds this texture, you cannot modify this value. Instead, create a new texture in the correct bucket of the FCDEffectStandard object.
|
|
Retrieves the translation of the texture frame, in the U coordinate. This parameter is specific to ColladaMaya. This value is animatable. For more information on this parameter, check the Maya documentation.
|
|
Retrieves the translation of the texture frame, in the V coordinate. This parameter is specific to ColladaMaya. This value is animatable. For more information on this parameter, check the Maya documentation.
|
|
Retrieves the type of the entity class. This function is part of the FCDEntity interface and is used for COLLADA 1.3 backward compatibility.
Reimplemented from FCDEntity. |
|
Retrieves whether to wrap the U texture coordinates. This parameter is specific to ColladaMaya. This value is a float because it is animatable: it should be interpreted as a boolean.
|
|
Retrieves whether to wrap the V texture coordinates. This parameter is specific to ColladaMaya. This value is a float because it is animatable: it should be interpreted as a boolean.
|
|
Retrieves whether the texturing information includes the ColladaMaya-specific 2D placement parameters.
|
|
Retrieves whether the texturing information includes the ColladaMaya-specific 3D projection parameters.
|
|
[INTERNAL] Reads in the texture from a given COLLADA XML tree node.
|
|
[INTERNAL] Reads in the texture from a given COLLADA XML tree node. This function is useful only for COLLADA 1.3 backward compatibility.
Reimplemented from FCDEntity. |
|
Sets the blend mode to use if this texture is not the first one within its channel's bucket.
|
|
Sets the scale factor of the texture frame, in the U coordinates. This parameter is specific to ColladaMaya.
|
|
Sets the scale factor of the texture frame, in the V coordinates. This parameter is specific to ColladaMaya.
|
|
Sets the 'fast' flag. This parameter is specific to ColladaMaya and has no meaning outside of Maya.
|
|
Sets the image to be used with this texture.
|
|
Sets whether to mirror the U texture coordinates. This parameter is specific to ColladaMaya.
|
|
Sets whether to mirror the V texture coordinates. This parameter is specific to ColladaMaya.
|
|
Sets the generic multiplier. This parameter is specific to ColladaMax. The meaning of this parameter depends on the channel that the texture belongs to.
|
|
Sets the maximum amount of noise to add to each of the U coordinates of the rendered polygons. This parameter is specific to ColladaMaya.
|
|
Sets the maximum amount of noise to add to each of the V coordinates of the rendered polygons. This parameter is specific to ColladaMaya.
|
|
Sets the translation offset applied on the U coordinates of the rendered polygons. This parameter is specific to ColladaMaya.
|
|
Sets the translation offset applied on the V coordinates of the rendered polygons. This parameter is specific to ColladaMaya.
|
|
Sets the texture projection matrix. This matrix transforms the 3D texture coordinates into valid 2D texture coordinates. This parameter is specific to ColladaMaya.
|
|
Sets the type of projection to use on the 3D texture coordinates. This paramter is specific to ColladaMaya.
|
|
Sets the scale factor applied on the U coordinates of the rendered polygons. This parameter is specific to ColladaMaya.
|
|
Sets the scale factor applied on the V coordinates of the rendered polygons. This parameter is specific to ColladaMaya.
|
|
Sets the angle of rotation of the texture frame. This parameter is specific to ColladaMaya. For more information on this parameter, check the Maya documentation.
|
|
Sets the rotation angle applied on the texture coordinates of the rendered polygons. This parameter is specific to ColladaMaya. This value is animatable.
|
|
Sets whether to stagger the texture. This parameter is specific to ColladaMaya.
|
|
|
|
Sets the translation of the texture frame, in the U coordinate. This parameter is specific to ColladaMaya. For more information on this parameter, check the Maya documentation.
|
|
Sets the translation of the texture frame, in the V coordinate. This parameter is specific to ColladaMaya. For more information on this parameter, check the Maya documentation.
|
|
Sets whether to wrap the U texture coordinates. This parameter is specific to ColladaMaya.
|
|
Sets whether to wrap the V texture coordinates. This parameter is specific to ColladaMaya.
|
|
[INTERNAL] Writes out the texture to the given COLLADA XML tree node.
|