~~Title: Efl.Gfx.Mapping.mapping_uv~~
====== Efl.Gfx.Mapping.mapping_uv ======
===== Description =====
%%Map point's U and V texture source point.%%
%%This sets/gets the U and V coordinates for the point. This determines which coordinate in the source image is mapped to the given point, much like OpenGL and textures. Valid values range from 0.0 to 1.0.%%
%%By default the points are set in a clockwise order, as such: - 0: top-left, i.e. (0.0, 0.0), - 1: top-right, i.e. (1.0, 0.0), - 2: bottom-right, i.e. (1.0, 1.0), - 3: bottom-left, i.e. (0.0, 1.0).%%
//Since 1.22//
{{page>:develop:api-include:efl:gfx:mapping:property:mapping_uv:description&nouser&nolink&nodate}}
===== Keys =====
* **idx** - %%ID of the point, from 0 to 3 (included).%%
===== Values =====
* **u** - %%Relative X coordinate within the image, from 0 to 1.%%
* **v** - %%Relative Y coordinate within the image, from 0 to 1.%%
===== Signature =====
@property mapping_uv {
get {}
set {}
keys {
idx: int;
}
values {
u: double;
v: double;
}
}
===== C signature =====
void efl_gfx_mapping_uv_get(const Eo *obj, int idx, double *u, double *v);
void efl_gfx_mapping_uv_set(Eo *obj, int idx, double u, double v);
===== Implemented by =====
* [[:develop:api:efl:gfx:mapping:property:mapping_uv|Efl.Gfx.Mapping.mapping_uv]]