Rings
Version 0.3

threeD.raytracer.engine
Interface Texture

All Superinterfaces:
ColorProducer, Producer
All Known Implementing Classes:
ImageTexture, StripeTexture

public interface Texture
extends ColorProducer

The Texture interface is implemented by classes that can be used to texture a surface.


Method Summary
 RGB getColorAt(Vector point)
          Returns the color of the texture represented by this Texture object at the specified point as an RGB object using the arguments stored by this Texture object.
 RGB getColorAt(Vector point, java.lang.Object[] args)
          Returns the color of the texture represented by this Texture object at the specified point as an RGB object using the specified arguments.
 
Methods inherited from interface threeD.raytracer.graphics.ColorProducer
evaluate
 

Method Detail

getColorAt

public RGB getColorAt(Vector point)
Returns the color of the texture represented by this Texture object at the specified point as an RGB object using the arguments stored by this Texture object.


getColorAt

public RGB getColorAt(Vector point,
                      java.lang.Object[] args)
Returns the color of the texture represented by this Texture object at the specified point as an RGB object using the specified arguments.


Rings
Version 0.3

Copyright 2003-05 Mike Murray