Packageflash.display3D
Classpublic final class Context3DCompareMode
InheritanceContext3DCompareMode Inheritance Object

Language version: ActionScript 3.0
Runtime version: AIR 3

Defines the values to use for specifying 3D buffer comparisons in the setDepthTest() and setStencilAction() methods of a Context3D instance.

See also

Context3D.setDepthTest()
Context3D.setStencilActions()


Public Properties
 PropertyDefined by
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined by
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined by
  ALWAYS : String = "always"
[static] The comparison always evaluates as true.
Context3DCompareMode
  EQUAL : String = "equal"
[static] Equal (==).
Context3DCompareMode
  GREATER : String = "greater"
[static] Greater than (>).
Context3DCompareMode
  GREATER_EQUAL : String = "greaterEqual"
[static] Greater than or equal (>=).
Context3DCompareMode
  LESS : String = "less"
[static] Less than (<).
Context3DCompareMode
  LESS_EQUAL : String = "lessEqual"
[static] Less than or equal (<=).
Context3DCompareMode
  NEVER : String = "never"
[static] The comparison never evaluates as true.
Context3DCompareMode
  NOT_EQUAL : String = "notEqual"
[static] Not equal (!=).
Context3DCompareMode
Constant detail
ALWAYSconstant
public static const ALWAYS:String = "always"

Language version: ActionScript 3.0
Runtime version: AIR 3

The comparison always evaluates as true.

EQUALconstant 
public static const EQUAL:String = "equal"

Language version: ActionScript 3.0
Runtime version: AIR 3

Equal (==).

GREATERconstant 
public static const GREATER:String = "greater"

Language version: ActionScript 3.0
Runtime version: AIR 3

Greater than (>).

GREATER_EQUALconstant 
public static const GREATER_EQUAL:String = "greaterEqual"

Language version: ActionScript 3.0
Runtime version: AIR 3

Greater than or equal (>=).

LESSconstant 
public static const LESS:String = "less"

Language version: ActionScript 3.0
Runtime version: AIR 3

Less than (<).

LESS_EQUALconstant 
public static const LESS_EQUAL:String = "lessEqual"

Language version: ActionScript 3.0
Runtime version: AIR 3

Less than or equal (<=).

NEVERconstant 
public static const NEVER:String = "never"

Language version: ActionScript 3.0
Runtime version: AIR 3

The comparison never evaluates as true.

NOT_EQUALconstant 
public static const NOT_EQUAL:String = "notEqual"

Language version: ActionScript 3.0
Runtime version: AIR 3

Not equal (!=).