MaterialSetTransparency Class Reference
Action to change this instance transparency. More...
Inheritance diagram for MaterialSetTransparency:

Public Member Functions | |
MaterialSetTransparency (const OpenViBE::Kernel::IKernelContext &rKernelContext, Ogre::Real transparency) | |
The contructor stores the argument. | |
virtual | ~MaterialSetTransparency () |
Destructor. | |
![]() | |
IMaterialPassAction (const OpenViBE::Kernel::IKernelContext &rKernelContext) | |
The contructor. | |
virtual | ~IMaterialPassAction () |
Destructor. | |
Protected Attributes | |
Ogre::Real | _transparency |
The argument. It is given to the function. | |
Additional Inherited Members | |
![]() | |
virtual void | subEntityAction (SubEntityMaterial *subEntity) const |
The action calls each pass of each technique. | |
Detailed Description
Action to change this instance transparency.
- Parameters
-
transparency The new transparency. Values will be clamped to [0.0f..1.0f].
- Note
- This changes transparency. A value of 0 means full opacity, while 1 means full transparency (invisible)
- If transparency equals 0, it will use the original material instead of the copy (the copy is mandatory transparent, and thus might be slower than the original).
Generated on Tue Jun 26 2012 15:25:54 for Documentation by
