#include <OgreBlendMode.h>
Public Methods | |
bool | operator== (const LayerBlendModeEx &rhs) const |
bool | operator!= (const LayerBlendModeEx &rhs) const |
Public Attributes | |
LayerBlendType | blendType |
The type of blending (colour or alpha). More... | |
LayerBlendOperationEx | operation |
The operation to be applied. More... | |
LayerBlendSource | source1 |
The first source of colour/alpha. More... | |
LayerBlendSource | source2 |
The second source of colour/alpha. More... | |
ColourValue | colourArg1 |
Manual colour value for manual source1. More... | |
ColourValue | colourArg2 |
Manual colour value for manual source2. More... | |
Real | alphaArg1 |
Manual alpha value for manual source1. More... | |
Real | alphaArg2 |
Manual colour value for manual source1. More... | |
Real | factor |
Manual blending factor. More... |
It's worth noting that these operations are for blending between texture layers and not between rendered objects and the existing scene. If you wish to make an object blend with others in the scene, e.g. to make transparent objects etc, use the Material::setSceneBlending method.
|
|
|
|
|
Manual alpha value for manual source1.
|
|
Manual colour value for manual source1.
|
|
The type of blending (colour or alpha).
|
|
Manual colour value for manual source1.
|
|
Manual colour value for manual source2.
|
|
Manual blending factor.
|
|
The operation to be applied.
|
|
The first source of colour/alpha.
|
|
The second source of colour/alpha.
|
Copyright © 2002 by The OGRE Team