com.threerings.opengl.renderer.config
Class PolygonStateConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.renderer.config.PolygonStateConfig
All Implemented Interfaces:
Exportable, Copyable, Cloneable

public class PolygonStateConfig
extends DeepObject
implements Exportable

Configurable polygon state.


Nested Class Summary
static class PolygonStateConfig.Mode
          Polygon mode constants.
 
Field Summary
 PolygonStateConfig.Mode backMode
          The back polygon mode.
 PolygonStateConfig.Mode frontMode
          The front polygon mode.
 float offsetFactor
          The proportional polygon offset.
 float offsetUnits
          The constant polygon offset.
 boolean uniqueInstance
          If true, do not use a shared instance.
 
Constructor Summary
PolygonStateConfig()
           
 
Method Summary
 PolygonState getState()
          Returns the corresponding polygon state.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

frontMode

@Editable(hgroup="m")
public PolygonStateConfig.Mode frontMode
The front polygon mode.


backMode

@Editable(hgroup="m")
public PolygonStateConfig.Mode backMode
The back polygon mode.


offsetFactor

@Editable(step=0.01,
          hgroup="o")
public float offsetFactor
The proportional polygon offset.


offsetUnits

@Editable(hgroup="o")
public float offsetUnits
The constant polygon offset.


uniqueInstance

@Editable
public boolean uniqueInstance
If true, do not use a shared instance.

Constructor Detail

PolygonStateConfig

public PolygonStateConfig()
Method Detail

getState

public PolygonState getState()
Returns the corresponding polygon state.



Copyright © 2011. All Rights Reserved.