2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of COLLADAFramework.
6
Licensed under the MIT Open Source License,
7
for details please see LICENSE file or the website
8
http://www.opensource.org/licenses/mit-license.php
11
#include "COLLADAFWStableHeaders.h"
12
#include "COLLADAFWTexture.h"
18
//------------------------------
19
Texture::Texture ( const UniqueId& uniqueId )
20
: ObjectTemplate<COLLADA_TYPE::TEXTURE>(uniqueId)
27
//------------------------------
32
//------------------------------
33
void Texture::setUniqueId( const UniqueId& uniqueId )
35
ObjectTemplate<COLLADA_TYPE::TEXTURE>::setUniqueId ( uniqueId );
38
//------------------------------
39
void Texture::setSamplerId( SamplerID samplerId )
41
mSamplerId = samplerId;
44
//------------------------------
45
void Texture::setTextureMapId( TextureMapId textureMapId )
47
mTextureMapId = textureMapId;
50
//------------------------------
51
void Texture::setTexcoord( const String& texcoord )
56
//------------------------------
57
COLLADAFW::SamplerID Texture::getSamplerId() const
62
//------------------------------
63
COLLADAFW::TextureMapId Texture::getTextureMapId() const
68
//------------------------------
69
String Texture::getTexcoord() const
74
} // namespace COLLADAFW