Table of contents Chapter index Previous slide Next slide 286
Syntax: TextureTransform

Controlling how textures are mapped
Syntax: TextureTransform
  • A TextureTransform node transforms texture coordinates
  • translation - position
  • rotation - orientation
  • scale - size
  • Shape {
    
        appearance Appearance {
    
            material Material { . . . }
    
            texture ImageTexture { . . . }
    
            textureTransform TextureTransform {
    
                translation 0.0 0.0
    
                rotation    0.0
    
                scale       1.0 1.0
    
            }
    
        }
    
    }