com.threerings.opengl.material.config
Class ProjectionConfig.Perspective

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.material.config.ProjectionConfig
          extended by com.threerings.opengl.material.config.ProjectionConfig.Perspective
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ProjectionConfig

public static class ProjectionConfig.Perspective
extends ProjectionConfig

A perspective projection.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.material.config.ProjectionConfig
ProjectionConfig.Orthographic, ProjectionConfig.Perspective
 
Field Summary
 float near
          The distance to the near plane.
 
Fields inherited from class com.threerings.opengl.material.config.ProjectionConfig
colorState, height, material, width
 
Constructor Summary
ProjectionConfig.Perspective()
           
 
Method Summary
protected  Updater createUpdater(GlContext ctx, Scope scope, Projection projection)
          Creates the updater for the projection.
protected  String getScheme()
          Returns the name of the render scheme to use for this projection config.
 
Methods inherited from class com.threerings.opengl.material.config.ProjectionConfig
createProjection
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

near

@Editable(min=0.0,
          step=0.01,
          hgroup="d")
public float near
The distance to the near plane.

Constructor Detail

ProjectionConfig.Perspective

public ProjectionConfig.Perspective()
Method Detail

getScheme

protected String getScheme()
Description copied from class: ProjectionConfig
Returns the name of the render scheme to use for this projection config.

Specified by:
getScheme in class ProjectionConfig

createUpdater

protected Updater createUpdater(GlContext ctx,
                                Scope scope,
                                Projection projection)
Description copied from class: ProjectionConfig
Creates the updater for the projection.

Specified by:
createUpdater in class ProjectionConfig