This class can be used to define a linear fog that grows linearly denser with the distance.
val scene = new Scene()
scene.fog = Fog(0xcccccc, 10, 15)
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Anyclass Objecttrait Matchableclass Any
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Concrete fields
The maximum distance at which fog stops being calculated and applied. Objects that are more than far units away from the active camera won't be affected by fog.
The maximum distance at which fog stops being calculated and applied. Objects that are more than far units away from the active camera won't be affected by fog.
Attributes
This flag can be used for type testing
This flag can be used for type testing
Attributes
The name of the fog
The name of the fog
Attributes
The minimum distance to start applying fog. Objects that are less than near units from the active camera won't be affected by fog.
The minimum distance to start applying fog. Objects that are less than near units from the active camera won't be affected by fog.