    

 ## On this page

  

 

 # GLTFLegend

 Last update: 16.07.2025 

<a id="l00001" name="l00001"></a> 1/\*

<a id="l00002" name="l00002"></a> 2 \* Copyright 2018-2021 ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.

<a id="l00003" name="l00003"></a> 3 \* 

<a id="l00004" name="l00004"></a> 4 \* Restricted Rights Legend

<a id="l00005" name="l00005"></a> 5 \*

<a id="l00006" name="l00006"></a> 6 \* Use, duplication, or disclosure of this

<a id="l00007" name="l00007"></a> 7 \* software and its documentation by the

<a id="l00008" name="l00008"></a> 8 \* Government is subject to restrictions as

<a id="l00009" name="l00009"></a> 9 \* set forth in subdivision \[(b)(3)(ii)\] of

<a id="l00010" name="l00010"></a> 10 \* the Rights in Technical Data and Computer

<a id="l00011" name="l00011"></a> 11 \* Software clause at 52.227-7013.

<a id="l00012" name="l00012"></a> 12 \*/

<a id="l00013" name="l00013"></a> 13\#ifndef \_\_INCLUDED\_GLTF\_GLTFLEGEND\_\_

<a id="l00014" name="l00014"></a> 14\#define \_\_INCLUDED\_GLTF\_GLTFLEGEND\_\_

<a id="l00015" name="l00015"></a> 15 

<a id="l00016" name="l00016"></a> 16\#include "GLTFCommon.h"

<a id="l00017" name="l00017"></a> 17\#include "GLTFObject.h"

<a id="l00018" name="l00018"></a> 18 

<a id="l00019" name="l00019"></a> 19namespace [ANSYS](namespace_a_n_s_y_s.xhtml) { namespace Nexus { namespace GLTFWriter {

<a id="l00020" name="l00020"></a> 20 class GLTF;

<a id="l00021" name="l00021"></a> 21 class Texture;

<a id="l00022" name="l00022"></a> 22 

<a id="l00026" name="l00026"></a>[ 26](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml) class [Legend](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml) : public Object

<a id="l00027" name="l00027"></a> 27 {

<a id="l00028" name="l00028"></a> 28 public:

<a id="l00030" name="l00030"></a>[ 30](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a339aacb19b79675bd3bc9a903349d933) enum [LegendOrientation](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a339aacb19b79675bd3bc9a903349d933)

<a id="l00031" name="l00031"></a> 31 {

<a id="l00032" name="l00032"></a>[ 32](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a339aacb19b79675bd3bc9a903349d933ae89817b11c6c1230e3a9b56d04d402fa) [LO\_VERTICAL](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a339aacb19b79675bd3bc9a903349d933ae89817b11c6c1230e3a9b56d04d402fa), 

<a id="l00033" name="l00033"></a> 33 [LO\_HORIZONTAL](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a339aacb19b79675bd3bc9a903349d933aff8809926fbf87a325921ca8ab072a48) 

<a id="l00034" name="l00034"></a>[ 34](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a339aacb19b79675bd3bc9a903349d933aff8809926fbf87a325921ca8ab072a48) };

<a id="l00036" name="l00036"></a>[ 36](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2) enum [LegendAttachment](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2)

<a id="l00037" name="l00037"></a> 37 {

<a id="l00038" name="l00038"></a>[ 38](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a1ffb33df0a6250b5d46b08c4b92f054a) [LA\_X\_Y](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a1ffb33df0a6250b5d46b08c4b92f054a) = 0, 

<a id="l00039" name="l00039"></a>[ 39](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a6f8042caf6888d46d80f8420b21f117e) [LA\_X\_YBOTTOM](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a6f8042caf6888d46d80f8420b21f117e) = 1, 

<a id="l00040" name="l00040"></a>[ 40](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a83b0eeafc16527b732764d5a748ad350) [LA\_X\_YTOP](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a83b0eeafc16527b732764d5a748ad350) = 2, 

<a id="l00041" name="l00041"></a>[ 41](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a78c88258f5d9a3a003e6bb1d49446c3b) [LA\_X\_YCENTER](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a78c88258f5d9a3a003e6bb1d49446c3b) = 3, 

<a id="l00042" name="l00042"></a>[ 42](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2ae6d51f9195218713c1ff23e50eb91cb2) [LA\_XLEFT\_Y](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2ae6d51f9195218713c1ff23e50eb91cb2) = 4, 

<a id="l00043" name="l00043"></a>[ 43](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a19e036b97243b63f95de8083790fba45) [LA\_XLEFT\_YBOTTOM](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a19e036b97243b63f95de8083790fba45) = 5, 

<a id="l00044" name="l00044"></a>[ 44](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2ad03c7746261cd58437b7ee988998c8fb) [LA\_XLEFT\_YTOP](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2ad03c7746261cd58437b7ee988998c8fb) = 6, 

<a id="l00045" name="l00045"></a>[ 45](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2aae4032f867cdd2bc3425e78c1e272b15) [LA\_XLEFT\_YCENTER](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2aae4032f867cdd2bc3425e78c1e272b15) = 7, 

<a id="l00046" name="l00046"></a>[ 46](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2ac1506dad41a0a6ca7e8566fca9af9dc4) [LA\_XRIGHT\_Y](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2ac1506dad41a0a6ca7e8566fca9af9dc4) = 8, 

<a id="l00047" name="l00047"></a>[ 47](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a25f3aff8bc8c1e7dbe6b5b08fa1cf9e4) [LA\_XRIGHT\_YBOTTOM](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a25f3aff8bc8c1e7dbe6b5b08fa1cf9e4) = 9, 

<a id="l00048" name="l00048"></a>[ 48](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a32ce101a5040ea5539acb4b81b41a050) [LA\_XRIGHT\_YTOP](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a32ce101a5040ea5539acb4b81b41a050) = 10, 

<a id="l00049" name="l00049"></a>[ 49](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a74c6997c4d92c6b6c95e67dbe827fe32) [LA\_XRIGHT\_YCENTER](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a74c6997c4d92c6b6c95e67dbe827fe32) = 11, 

<a id="l00050" name="l00050"></a>[ 50](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a7cd51c74ffd247c065f7f92871849f3a) [LA\_XCENTER\_Y](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a7cd51c74ffd247c065f7f92871849f3a) = 12, 

<a id="l00051" name="l00051"></a>[ 51](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a1c6ecc55be42d96e2a0526d71fd51c9b) [LA\_XCENTER\_YBOTTOM](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a1c6ecc55be42d96e2a0526d71fd51c9b) = 13, 

<a id="l00052" name="l00052"></a>[ 52](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a546848f232c0cb79a70516945e7f367e) [LA\_XCENTER\_YTOP](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a546848f232c0cb79a70516945e7f367e) = 14, 

<a id="l00053" name="l00053"></a> 53 [LA\_XCENTER\_YCENTER](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a52f28c20ee4e911fb6ed75b648f6305d) = 15 

<a id="l00054" name="l00054"></a>[ 54](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a52f28c20ee4e911fb6ed75b648f6305d) };

<a id="l00055" name="l00055"></a> 55 

<a id="l00056" name="l00056"></a> 56 protected:

<a id="l00057" name="l00057"></a> 57 virtual [~Legend](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml)() {}

<a id="l00058" name="l00058"></a> 58 

<a id="l00059" name="l00059"></a> 59 public:

<a id="l00062" name="l00062"></a>[ 62](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a8b31fff99a1d631391575836736dd070) static GLTFWRITERSPEC [Legend](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml) *[Create](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a8b31fff99a1d631391575836736dd070)([GLTF](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_g_l_t_f.xhtml) *gltf, 

<a id="l00063" name="l00063"></a> 63 [LegendOrientation](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a339aacb19b79675bd3bc9a903349d933) orientation, 

<a id="l00064" name="l00064"></a> 64 float size, 

<a id="l00065" name="l00065"></a> 65 [Texture](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_texture.xhtml) *texture, 

<a id="l00066" name="l00066"></a> 66 float mn, 

<a id="l00067" name="l00067"></a> 67 float mx, 

<a id="l00068" name="l00068"></a> 68 [LegendAttachment](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2) attachment = [LA\_XLEFT\_YCENTER](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2aae4032f867cdd2bc3425e78c1e272b15), 

<a id="l00069" name="l00069"></a> 69 const char *title = 0, 

<a id="l00070" name="l00070"></a> 70 const char *units = 0, 

<a id="l00071" name="l00071"></a> 71 const char *other = 0, 

<a id="l00072" name="l00072"></a> 72 unsigned int numTicks = 0, 

<a id="l00073" name="l00073"></a> 73 const float *valueLocations = 0, 

<a id="l00074" name="l00074"></a> 74 bool border = false, 

<a id="l00075" name="l00075"></a> 75 bool logarithmic = false, 

<a id="l00076" name="l00076"></a> 76 float x = 0, 

<a id="l00077" name="l00077"></a> 77 float y = 0, 

<a id="l00078" name="l00078"></a> 78 float foregroundR = 0, 

<a id="l00079" name="l00079"></a> 79 float foregroundG = 0, 

<a id="l00080" name="l00080"></a> 80 float foregroundB = 0, 

<a id="l00081" name="l00081"></a> 81 float backgroundR = 1, 

<a id="l00082" name="l00082"></a> 82 float backgroundG = 1, 

<a id="l00083" name="l00083"></a> 83 float backgroundB = 1, 

<a id="l00084" name="l00084"></a> 84 float backgroundA = 0 

<a id="l00085" name="l00085"></a> 85 );

<a id="l00086" name="l00086"></a> 86 };

<a id="l00087" name="l00087"></a> 87 

<a id="l00088" name="l00088"></a> 88} } } 

<a id="l00089" name="l00089"></a> 89 

<a id="l00090" name="l00090"></a> 90\#endif

[ANSYS::Nexus::GLTFWriter::GLTF](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_g_l_t_f.xhtml)

This is the main class of the GLTFWriter.

**Definition:** [GLTFGLTF.h:32](_g_l_t_f_g_l_t_f_8h_source.xhtml#l00031)



[ANSYS::Nexus::GLTFWriter::Legend](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml)

Legends are colored bars with numbers at intervals along bar.

**Definition:** [GLTFLegend.h:27](_g_l_t_f_legend_8h_source.xhtml#l00026)



[ANSYS::Nexus::GLTFWriter::Legend::LegendOrientation](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a339aacb19b79675bd3bc9a903349d933)

LegendOrientation

**Definition:** [GLTFLegend.h:31](_g_l_t_f_legend_8h_source.xhtml#l00030)



[ANSYS::Nexus::GLTFWriter::Legend::LO\_VERTICAL](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a339aacb19b79675bd3bc9a903349d933ae89817b11c6c1230e3a9b56d04d402fa)

@ LO_VERTICAL

Top to bottom.

**Definition:** [GLTFLegend.h:32](_g_l_t_f_legend_8h_source.xhtml#l00032)



[ANSYS::Nexus::GLTFWriter::Legend::LO\_HORIZONTAL](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a339aacb19b79675bd3bc9a903349d933aff8809926fbf87a325921ca8ab072a48)

@ LO_HORIZONTAL

Left to right.

**Definition:** [GLTFLegend.h:33](_g_l_t_f_legend_8h_source.xhtml#l00034)



[ANSYS::Nexus::GLTFWriter::Legend::Create](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a8b31fff99a1d631391575836736dd070)

static Legend * Create(GLTF *gltf, LegendOrientation orientation, float size, Texture *texture, float mn, float mx, LegendAttachment attachment=LA_XLEFT_YCENTER, const char *title=0, const char *units=0, const char *other=0, unsigned int numTicks=0, const float *valueLocations=0, bool border=false, bool logarithmic=false, float x=0, float y=0, float foregroundR=0, float foregroundG=0, float foregroundB=0, float backgroundR=1, float backgroundG=1, float backgroundB=1, float backgroundA=0)



[ANSYS::Nexus::GLTFWriter::Legend::LegendAttachment](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2)

LegendAttachment

**Definition:** [GLTFLegend.h:37](_g_l_t_f_legend_8h_source.xhtml#l00036)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_XLEFT\_YBOTTOM](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a19e036b97243b63f95de8083790fba45)

@ LA_XLEFT_YBOTTOM

Attach to left bottom corner.

**Definition:** [GLTFLegend.h:43](_g_l_t_f_legend_8h_source.xhtml#l00043)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_XCENTER\_YBOTTOM](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a1c6ecc55be42d96e2a0526d71fd51c9b)

@ LA_XCENTER_YBOTTOM

Attach to bottom and position at horizontal center.

**Definition:** [GLTFLegend.h:51](_g_l_t_f_legend_8h_source.xhtml#l00051)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_X\_Y](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a1ffb33df0a6250b5d46b08c4b92f054a)

@ LA_X_Y

Use specified x and y location.

**Definition:** [GLTFLegend.h:38](_g_l_t_f_legend_8h_source.xhtml#l00038)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_XRIGHT\_YBOTTOM](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a25f3aff8bc8c1e7dbe6b5b08fa1cf9e4)

@ LA_XRIGHT_YBOTTOM

Attach to right bottom corner.

**Definition:** [GLTFLegend.h:47](_g_l_t_f_legend_8h_source.xhtml#l00047)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_XRIGHT\_YTOP](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a32ce101a5040ea5539acb4b81b41a050)

@ LA_XRIGHT_YTOP

Attach to right top corner.

**Definition:** [GLTFLegend.h:48](_g_l_t_f_legend_8h_source.xhtml#l00048)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_XCENTER\_YCENTER](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a52f28c20ee4e911fb6ed75b648f6305d)

@ LA_XCENTER_YCENTER

Position at center.

**Definition:** [GLTFLegend.h:53](_g_l_t_f_legend_8h_source.xhtml#l00054)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_XCENTER\_YTOP](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a546848f232c0cb79a70516945e7f367e)

@ LA_XCENTER_YTOP

Attach to top and position at horizontal center.

**Definition:** [GLTFLegend.h:52](_g_l_t_f_legend_8h_source.xhtml#l00052)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_X\_YBOTTOM](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a6f8042caf6888d46d80f8420b21f117e)

@ LA_X_YBOTTOM

use x location and attach to bottom.

**Definition:** [GLTFLegend.h:39](_g_l_t_f_legend_8h_source.xhtml#l00039)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_XRIGHT\_YCENTER](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a74c6997c4d92c6b6c95e67dbe827fe32)

@ LA_XRIGHT_YCENTER

Attach to right and position at vertical center.

**Definition:** [GLTFLegend.h:49](_g_l_t_f_legend_8h_source.xhtml#l00049)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_X\_YCENTER](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a78c88258f5d9a3a003e6bb1d49446c3b)

@ LA_X_YCENTER

Use x location and position at vertical center.

**Definition:** [GLTFLegend.h:41](_g_l_t_f_legend_8h_source.xhtml#l00041)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_XCENTER\_Y](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a7cd51c74ffd247c065f7f92871849f3a)

@ LA_XCENTER_Y

Use y location and position at horizontal center.

**Definition:** [GLTFLegend.h:50](_g_l_t_f_legend_8h_source.xhtml#l00050)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_X\_YTOP](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2a83b0eeafc16527b732764d5a748ad350)

@ LA_X_YTOP

Use x location and attach to top.

**Definition:** [GLTFLegend.h:40](_g_l_t_f_legend_8h_source.xhtml#l00040)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_XLEFT\_YCENTER](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2aae4032f867cdd2bc3425e78c1e272b15)

@ LA_XLEFT_YCENTER

Attach to left and position at vertical center (popular).

**Definition:** [GLTFLegend.h:45](_g_l_t_f_legend_8h_source.xhtml#l00045)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_XRIGHT\_Y](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2ac1506dad41a0a6ca7e8566fca9af9dc4)

@ LA_XRIGHT_Y

Use y location and attach to right.

**Definition:** [GLTFLegend.h:46](_g_l_t_f_legend_8h_source.xhtml#l00046)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_XLEFT\_YTOP](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2ad03c7746261cd58437b7ee988998c8fb)

@ LA_XLEFT_YTOP

Attach to left top corner.

**Definition:** [GLTFLegend.h:44](_g_l_t_f_legend_8h_source.xhtml#l00044)



[ANSYS::Nexus::GLTFWriter::Legend::LA\_XLEFT\_Y](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_legend.xhtml#a96892dc857e05a292528ddc6c29a6ea2ae6d51f9195218713c1ff23e50eb91cb2)

@ LA_XLEFT_Y

Use y location and attach to left.

**Definition:** [GLTFLegend.h:42](_g_l_t_f_legend_8h_source.xhtml#l00042)



[ANSYS::Nexus::GLTFWriter::Texture](class_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_texture.xhtml)

Textures are images that can be used to color a primitive.

**Definition:** [GLTFTexture.h:28](_g_l_t_f_texture_8h_source.xhtml#l00027)



[ANSYS](namespace_a_n_s_y_s.xhtml)

GLTFWriter API Documentation.

**Definition:** [GLTFAnimation.h:19](_g_l_t_f_animation_8h_source.xhtml#l00019)