aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/gfx/map/method/lightning_3d.txt
diff options
context:
space:
mode:
Diffstat (limited to 'pages/develop/api/efl/gfx/map/method/lightning_3d.txt')
-rw-r--r--pages/develop/api/efl/gfx/map/method/lightning_3d.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/pages/develop/api/efl/gfx/map/method/lightning_3d.txt b/pages/develop/api/efl/gfx/map/method/lightning_3d.txt
index 982220b6c..506591772 100644
--- a/pages/develop/api/efl/gfx/map/method/lightning_3d.txt
+++ b/pages/develop/api/efl/gfx/map/method/lightning_3d.txt
@@ -1,4 +1,15 @@
~~Title: Efl.Gfx.Map.lightning_3d~~
+===== Description =====
+
+%%Apply a lightning effect on the object.%%
+
+%%This is used to apply lighting calculations (from a single light source) to a given mapped object. The R, G and B values of each vertex will be modified to reflect the lighting based on the light point coordinates, the light color and the ambient color, and at what angle the map is facing the light source. A surface should have its points be declared in a clockwise fashion if the face is "facing" towards you (as opposed to away from you) as faces have a "logical" side for lighting.%%
+
+%%The coordinates are set relative to the given %%''pivot''%% object. If its geometry changes, then the absolute position of the rotation center will change accordingly. The Z position is absolute. If the %%''pivot''%% is %%''null''%% then this object will be its own pivot.%%
+
+//Since 1.20//
+{{page>:develop:api-include:efl:gfx:map:method:lightning_3d:description&nouser&nolink&nodate}}
+
===== Signature =====
<code>
@@ -37,17 +48,6 @@ void efl_gfx_map_lightning_3d(Eo *obj, const Efl_Gfx *pivot, double lx, double l
* **ag** //(in)// - %%Ambient color green value (0 - 255).%%
* **ab** //(in)// - %%Ambient color blue value (0 - 255).%%
-===== Description =====
-
-%%Apply a lightning effect on the object.%%
-
-%%This is used to apply lighting calculations (from a single light source) to a given mapped object. The R, G and B values of each vertex will be modified to reflect the lighting based on the light point coordinates, the light color and the ambient color, and at what angle the map is facing the light source. A surface should have its points be declared in a clockwise fashion if the face is "facing" towards you (as opposed to away from you) as faces have a "logical" side for lighting.%%
-
-%%The coordinates are set relative to the given %%''pivot''%% object. If its geometry changes, then the absolute position of the rotation center will change accordingly. The Z position is absolute. If the %%''pivot''%% is %%''null''%% then this object will be its own pivot.%%
-
-//Since 1.20//
-{{page>:develop:api-include:efl:gfx:map:method:lightning_3d:description&nouser&nolink&nodate}}
-
===== Implemented by =====
* **Efl.Gfx.Map.lightning_3d**