osg.Depth¶
-
class
osg.Depth¶ Represents: c++ class Wraps: osg::Depth Bases: osg.StateAttributeConstructors:
-
osg.Depth()¶
-
osg.Depth(osg.Depth.Function func, double zNear, double zFar, bool writeMask) -
Parameters: - func (
osg.Depth.Function) – - zNear (
double) – - zFar (
double) – - writeMask (
bool) –
- func (
Methods:
-
:
setFunction(osg.Depth.Function func)¶ -
Parameters: func ( osg.Depth.Function) –
-
:
getFunction()¶ -
Return type: osg.Depth.Function
-
:
setZFar(double zFar)¶ -
Parameters: zFar ( double) –
-
:
getZFar()¶ -
Return type: double
-
:
setZNear(double zNear)¶ -
Parameters: zNear ( double) –
-
:
getZNear()¶ -
Return type: double
-
:
setWriteMask(bool mask)¶ -
Parameters: mask ( bool) –
-
:
getWriteMask()¶ -
Return type: bool
-