Alpha (transparency) policy node
More...
#include <Inventor/nodes/SoAlphaPolicy.h>
Public Types | |
| enum | Policy { POLICY_AS_IS = 0, POLICY_OPAQUE = 1, POLICY_DISCARD = 2 } |
Public Member Functions | |
| virtual SoType | getTypeId () const |
| SoAlphaPolicy () | |
Static Public Member Functions | |
| static SoType | getClassTypeId () |
| static Policy | getDefaultPolicy () |
Public Attributes | |
| SoSFEnum | policy |
Alpha (transparency) policy node
This node sets the current alpha (transparency) comparison policy for the renderer. It affects the blending operation to control how (and if) a transparent object should be rendered.
Current available policies include :
| SoAlphaPolicy::SoAlphaPolicy | ( | ) |
Default Constructor.
| static SoType SoAlphaPolicy::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoNode.
| static Policy SoAlphaPolicy::getDefaultPolicy | ( | ) | [static] |
Get default alpha policy.
| virtual SoType SoAlphaPolicy::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoNode.
Policy used Please refer to enum Policy.
Default value is POLICY_AS_IS