gi-clutter-1.0.5: clutter GObject bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Clutter.Structs.Fog

Description

Fog settings used to create the depth cueing effect.

Since: 0.6

Synopsis

Exported types

newtype Fog Source #

Memory-managed wrapper type.

Constructors

Fog (ManagedPtr Fog) 

Instances

Instances details
Eq Fog Source # 
Instance details

Defined in GI.Clutter.Structs.Fog

Methods

(==) :: Fog -> Fog -> Bool #

(/=) :: Fog -> Fog -> Bool #

GBoxed Fog Source # 
Instance details

Defined in GI.Clutter.Structs.Fog

ManagedPtrNewtype Fog Source # 
Instance details

Defined in GI.Clutter.Structs.Fog

Methods

toManagedPtr :: Fog -> ManagedPtr Fog

TypedObject Fog Source # 
Instance details

Defined in GI.Clutter.Structs.Fog

Methods

glibType :: IO GType

HasParentTypes Fog Source # 
Instance details

Defined in GI.Clutter.Structs.Fog

tag ~ 'AttrSet => Constructible Fog tag Source # 
Instance details

Defined in GI.Clutter.Structs.Fog

Methods

new :: MonadIO m => (ManagedPtr Fog -> Fog) -> [AttrOp Fog tag] -> m Fog

IsGValue (Maybe Fog) Source #

Convert Fog to and from GValue. See toGValue and fromGValue.

Instance details

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 # 
Instance details

Defined in GI.Clutter.Structs.Fog

type ParentTypes Fog = '[] :: [Type]

newZeroFog :: MonadIO m => m Fog Source #

Construct a Fog struct initialized to zero.

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

set fog [ #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

set fog [ #zNear := value ]