com.threerings.opengl.model.config
Class InfluenceFlagConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.model.config.InfluenceFlagConfig
All Implemented Interfaces:
Exportable, com.threerings.io.Streamable, Copyable, Cloneable

public class InfluenceFlagConfig
extends DeepObject
implements Exportable, com.threerings.io.Streamable

Contains a set of flags for different kinds of influences.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Field Summary
 boolean definitions
          Whether or not to enable definition influences.
 boolean fog
          Whether or not to enable fog influences.
 boolean lights
          Whether or not to enable light influences.
 boolean projections
          Whether or not to enable projection influences.
 
Constructor Summary
InfluenceFlagConfig()
          Default constructor.
InfluenceFlagConfig(boolean value)
          Creates a new config.
InfluenceFlagConfig(boolean fog, boolean lights, boolean projections, boolean definitions)
          Creates a new config.
 
Method Summary
 int getFlags()
          Returns the set of influence flags corresponding to this config.
 
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

fog

@Editable(hgroup="i")
public boolean fog
Whether or not to enable fog influences.


lights

@Editable(hgroup="i")
public boolean lights
Whether or not to enable light influences.


projections

@Editable(hgroup="i")
public boolean projections
Whether or not to enable projection influences.


definitions

@Editable(hgroup="i")
public boolean definitions
Whether or not to enable definition influences.

Constructor Detail

InfluenceFlagConfig

public InfluenceFlagConfig()
Default constructor.


InfluenceFlagConfig

public InfluenceFlagConfig(boolean value)
Creates a new config.


InfluenceFlagConfig

public InfluenceFlagConfig(boolean fog,
                           boolean lights,
                           boolean projections,
                           boolean definitions)
Creates a new config.

Method Detail

getFlags

public int getFlags()
Returns the set of influence flags corresponding to this config.



Copyright © 2011. All Rights Reserved.