0

I am using Sweethome3d in order to create a house. This is the API of SH3D. I want to use the Wall Class and especially this method:

setRightSideTexture(HomeTexture rightSideTexture) 
      Sets the right side texture of this wall.

The problem is that I cannot understand what is HomeTexture.

Can anybody give me an example? I want to use the library of textures that already exists in SH3D.

jMelnik
  • 1,055
  • 2
  • 15
  • 26
Mitsaki
  • 11
  • 2
  • 6

1 Answers1

0

HomeTexture, defined in their docs is:

An image used as texture on home 3D objects.

Its constructor take a TextureImage object.

p.campbell
  • 98,673
  • 67
  • 256
  • 322
  • But If I want to use the names of the textures that I already exist in the library of SweetHome3D? It's difficult for me to understand how to use this. – Mitsaki Aug 19 '11 at 17:25
  • Could you give me an example if it's possible. – Mitsaki Aug 19 '11 at 17:27