Back to Seed Clases

Cogl


Classes

Interfaces

Structs

Unions

Enums

Enum Cogl.FogMode

Import line: Cogl = imports.gi.Cogl;
GIR File: Cogl-1.0.gir
C documentation: CoglFogMode
Enum : FogMode
  Show / Hide Inherited methods, properties and signals
|[ f = end - eye_distance / end - start ]| |[ f = e ^ -(density * eye_distance) ]| |[ f = e ^ -(density * eye_distance)^2 ]| The fog mode determines the equation used to calculate the fogging blend factor while fogging is enabled. The simplest COGL_FOG_MODE_LINEAR mode determines f as: |[ f = end - eye_distance / end - start ]| Where eye_distance is the distance of the current fragment in eye coordinates from the origin.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Cogl
Method
Cogl.set_fog (Color fog_color, FogMode mode, Number density, Number z_near, Number z_far) : none
Enables fogging.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:32:40 GMT+0800 (HKT)