| Copyright | Will Thompson and Iñaki García Etxebarria | 
|---|---|
| License | LGPL-2.1 | 
| Maintainer | Iñaki García Etxebarria | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
GI.Clutter.Structs.Fog
Description
Fog settings used to create the depth cueing effect.
Since: 0.6
Synopsis
- newtype Fog = Fog (ManagedPtr Fog)
 - newZeroFog :: MonadIO m => m Fog
 - getFogZFar :: MonadIO m => Fog -> m Float
 - setFogZFar :: MonadIO m => Fog -> Float -> m ()
 - getFogZNear :: MonadIO m => Fog -> m Float
 - setFogZNear :: MonadIO m => Fog -> Float -> m ()
 
Exported types
Memory-managed wrapper type.
Instances
| Eq Fog Source # | |
| GBoxed Fog Source # | |
Defined in GI.Clutter.Structs.Fog  | |
| ManagedPtrNewtype Fog Source # | |
Defined in GI.Clutter.Structs.Fog Methods toManagedPtr :: Fog -> ManagedPtr Fog  | |
| TypedObject Fog Source # | |
Defined in GI.Clutter.Structs.Fog  | |
| HasParentTypes Fog Source # | |
Defined in GI.Clutter.Structs.Fog  | |
| tag ~ 'AttrSet => Constructible Fog tag Source # | |
| IsGValue (Maybe Fog) Source # | Convert   | 
Defined in GI.Clutter.Structs.Fog Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Fog -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Fog)  | |
| type ParentTypes Fog Source # | |
Defined in GI.Clutter.Structs.Fog  | |
Methods
Properties
zFar
final distance from the viewer to the far clipping plane (always positive)
getFogZFar :: MonadIO m => Fog -> m Float Source #
Get the value of the “z_far” field.
 When overloading is enabled, this is equivalent to
get fog #zFar
setFogZFar :: MonadIO m => Fog -> Float -> m () Source #
Set the value of the “z_far” field.
 When overloading is enabled, this is equivalent to
setfog [ #zFar:=value ]
zNear
starting distance from the viewer to the near clipping plane (always positive)
getFogZNear :: MonadIO m => Fog -> m Float Source #
Get the value of the “z_near” field.
 When overloading is enabled, this is equivalent to
get fog #zNear
setFogZNear :: MonadIO m => Fog -> Float -> m () Source #
Set the value of the “z_near” field.
 When overloading is enabled, this is equivalent to
setfog [ #zNear:=value ]