Package com.jme3.scene
Enum Class Spatial.CullHint
- All Implemented Interfaces:
- Serializable,- Comparable<Spatial.CullHint>,- Constable
- Enclosing class:
- Spatial
Specifies how frustum culling should be handled by
 this spatial.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionAlways cull this from the view, throwing away this object and any children from rendering commands.Do not draw if we are not at least partially within the view frustum of the camera.Do whatever our parent does.Never cull this from view, always draw it.
- 
Method SummaryModifier and TypeMethodDescriptionstatic Spatial.CullHintReturns the enum constant of this class with the specified name.static Spatial.CullHint[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
InheritDo whatever our parent does. If no parent, default toDynamic.
- 
DynamicDo not draw if we are not at least partially within the view frustum of the camera. The defined Camera planes determine whether this Spatial should be culled.
- 
AlwaysAlways cull this from the view, throwing away this object and any children from rendering commands.
- 
NeverNever cull this from view, always draw it. Note that we will still get culled if our parent is culled.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-