net.jinx.video.model
Class ModelContext

java.lang.Object
  extended by net.jinx.video.Options
      extended by net.jinx.video.model.ModelContext
Direct Known Subclasses:
Context

public class ModelContext
extends Options

Options extension that keeps a reference to the current Model that is being rendered. Context is an extension of this class.

API Stability: Stable.


Constructor Summary
protected ModelContext()
           
 
Method Summary
 Model getCurrentModel()
          Provides the current Model being rendered.
 
Methods inherited from class net.jinx.video.Options
getAlpha, getAWTClearColor, getClearColor, getFarClip, getFOV, getGlobalAmbientLight, getNearClip, getSmoothness, getSolidity, getTextureMode, getTextureModeName, getTwosidedness, getUseLists, isAmbient, isCountingFrames, isDebuggingGL, isDiffuse, isEmissive, isShiny, isSpecular, isTracingGL, load, pop, push, setAlpha, setAmbient, setClearColor, setCountingFrames, setDebugGL, setDiffuse, setEmissive, setFarClip, setFOV, setGlobalAmbientLight, setNearClip, setShininess, setSmoothness, setSolidity, setSpecular, setTextureMode, setTextureModeName, setTraceGL, setTwosidedness, setUseLists, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelContext

protected ModelContext()
Method Detail

getCurrentModel

public final Model getCurrentModel()
Provides the current Model being rendered. This can be null.

Returns:
the current model.