    

 ## On this page

  

 

 # GLTFMarkup

 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\_GLTFMARKUP\_\_

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

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

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

<a id="l00020" name="l00020"></a>[ 20](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml) namespace Markup

<a id="l00021" name="l00021"></a> 21 {

<a id="l00023" name="l00023"></a>[ 23](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#ad50873251725f3a325ca393a84ac7bc8) enum [MarkupLineType](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#ad50873251725f3a325ca393a84ac7bc8)

<a id="l00024" name="l00024"></a> 24 {

<a id="l00025" name="l00025"></a>[ 25](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#ad50873251725f3a325ca393a84ac7bc8a725b3dfb79cfdaba1a9eab54b1359c90) [MLT\_LINE](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#ad50873251725f3a325ca393a84ac7bc8a725b3dfb79cfdaba1a9eab54b1359c90), 

<a id="l00026" name="l00026"></a>[ 26](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#ad50873251725f3a325ca393a84ac7bc8aa2935ff21215eb94b6522d1d3167fd4d) [MLT\_ARROW](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#ad50873251725f3a325ca393a84ac7bc8aa2935ff21215eb94b6522d1d3167fd4d), 

<a id="l00027" name="l00027"></a> 27 [MLT\_BALL](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#ad50873251725f3a325ca393a84ac7bc8aa4b030ea8305676204038fba7ded5d9c) 

<a id="l00028" name="l00028"></a>[ 28](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#ad50873251725f3a325ca393a84ac7bc8aa4b030ea8305676204038fba7ded5d9c) };

<a id="l00030" name="l00030"></a>[ 30](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86) enum [MarkupTextAttachmentType](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86)

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

<a id="l00032" name="l00032"></a>[ 32](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a00c009bc6c57ab36d9f3b0ed458bb5af) [MTAT\_AUTO](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a00c009bc6c57ab36d9f3b0ed458bb5af), 

<a id="l00033" name="l00033"></a>[ 33](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a0698bbb76708ad140f63fa32cd144a6b) [MTAT\_NW](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a0698bbb76708ad140f63fa32cd144a6b), 

<a id="l00034" name="l00034"></a>[ 34](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a0dc439e663154f063b696b31f675ee13) [MTAT\_N](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a0dc439e663154f063b696b31f675ee13), 

<a id="l00035" name="l00035"></a>[ 35](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a16862b06a40f04cb2915a6f4f2431779) [MTAT\_NE](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a16862b06a40f04cb2915a6f4f2431779), 

<a id="l00036" name="l00036"></a>[ 36](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86ab66f8f92ab9dbfd2c43c6a57a56713b0) [MTAT\_W](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86ab66f8f92ab9dbfd2c43c6a57a56713b0), 

<a id="l00037" name="l00037"></a>[ 37](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86aae3d3102ce5048d7838718bccc291ccd) [MTAT\_CENTER](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86aae3d3102ce5048d7838718bccc291ccd), 

<a id="l00038" name="l00038"></a>[ 38](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a9bfa70d93bf3c9dc860300fe28bfd486) [MTAT\_E](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a9bfa70d93bf3c9dc860300fe28bfd486), 

<a id="l00039" name="l00039"></a>[ 39](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a4af2bd9e3bbbcdf097b186a0fbecd8d3) [MTAT\_SW](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a4af2bd9e3bbbcdf097b186a0fbecd8d3), 

<a id="l00040" name="l00040"></a>[ 40](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86acfbd68b7b91d94eda566dbaf713cc78e) [MTAT\_S](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86acfbd68b7b91d94eda566dbaf713cc78e), 

<a id="l00041" name="l00041"></a> 41 [MTAT\_SE](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a3b199e13524364a8c5ad3ac8539d9a75) 

<a id="l00042" name="l00042"></a>[ 42](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a3b199e13524364a8c5ad3ac8539d9a75) };

<a id="l00043" name="l00043"></a> 43 };

<a id="l00044" name="l00044"></a> 44 

<a id="l00045" name="l00045"></a> 45 } } } 

<a id="l00046" name="l00046"></a> 46 

<a id="l00047" name="l00047"></a> 47 \#endif

[ANSYS::Nexus::GLTFWriter::Markup::MarkupLineType](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#ad50873251725f3a325ca393a84ac7bc8)

MarkupLineType

**Definition:** [GLTFMarkup.h:24](_g_l_t_f_markup_8h_source.xhtml#l00023)



[ANSYS::Nexus::GLTFWriter::Markup::MLT\_LINE](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#ad50873251725f3a325ca393a84ac7bc8a725b3dfb79cfdaba1a9eab54b1359c90)

@ MLT_LINE

No symbol.

**Definition:** [GLTFMarkup.h:25](_g_l_t_f_markup_8h_source.xhtml#l00025)



[ANSYS::Nexus::GLTFWriter::Markup::MLT\_ARROW](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#ad50873251725f3a325ca393a84ac7bc8aa2935ff21215eb94b6522d1d3167fd4d)

@ MLT_ARROW

Arrow.

**Definition:** [GLTFMarkup.h:26](_g_l_t_f_markup_8h_source.xhtml#l00026)



[ANSYS::Nexus::GLTFWriter::Markup::MLT\_BALL](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#ad50873251725f3a325ca393a84ac7bc8aa4b030ea8305676204038fba7ded5d9c)

@ MLT_BALL

Ball.

**Definition:** [GLTFMarkup.h:27](_g_l_t_f_markup_8h_source.xhtml#l00028)



[ANSYS::Nexus::GLTFWriter::Markup::MarkupTextAttachmentType](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86)

MarkupTextAttachmentType

**Definition:** [GLTFMarkup.h:31](_g_l_t_f_markup_8h_source.xhtml#l00030)



[ANSYS::Nexus::GLTFWriter::Markup::MTAT\_AUTO](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a00c009bc6c57ab36d9f3b0ed458bb5af)

@ MTAT_AUTO

Label is automatically positioned relative to x,y.

**Definition:** [GLTFMarkup.h:32](_g_l_t_f_markup_8h_source.xhtml#l00032)



[ANSYS::Nexus::GLTFWriter::Markup::MTAT\_NW](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a0698bbb76708ad140f63fa32cd144a6b)

@ MTAT_NW

x,y is NW corner of label.

**Definition:** [GLTFMarkup.h:33](_g_l_t_f_markup_8h_source.xhtml#l00033)



[ANSYS::Nexus::GLTFWriter::Markup::MTAT\_N](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a0dc439e663154f063b696b31f675ee13)

@ MTAT_N

Label is centered about x, and below y.

**Definition:** [GLTFMarkup.h:34](_g_l_t_f_markup_8h_source.xhtml#l00034)



[ANSYS::Nexus::GLTFWriter::Markup::MTAT\_NE](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a16862b06a40f04cb2915a6f4f2431779)

@ MTAT_NE

x,y is NE corner of label.

**Definition:** [GLTFMarkup.h:35](_g_l_t_f_markup_8h_source.xhtml#l00035)



[ANSYS::Nexus::GLTFWriter::Markup::MTAT\_SE](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a3b199e13524364a8c5ad3ac8539d9a75)

@ MTAT_SE

x,y is SE corner of label.

**Definition:** [GLTFMarkup.h:41](_g_l_t_f_markup_8h_source.xhtml#l00042)



[ANSYS::Nexus::GLTFWriter::Markup::MTAT\_SW](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a4af2bd9e3bbbcdf097b186a0fbecd8d3)

@ MTAT_SW

x,y is SW corner of label.

**Definition:** [GLTFMarkup.h:39](_g_l_t_f_markup_8h_source.xhtml#l00039)



[ANSYS::Nexus::GLTFWriter::Markup::MTAT\_E](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86a9bfa70d93bf3c9dc860300fe28bfd486)

@ MTAT_E

Label is to left of x, and centered about y.

**Definition:** [GLTFMarkup.h:38](_g_l_t_f_markup_8h_source.xhtml#l00038)



[ANSYS::Nexus::GLTFWriter::Markup::MTAT\_CENTER](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86aae3d3102ce5048d7838718bccc291ccd)

@ MTAT_CENTER

Label is centered about x,y.

**Definition:** [GLTFMarkup.h:37](_g_l_t_f_markup_8h_source.xhtml#l00037)



[ANSYS::Nexus::GLTFWriter::Markup::MTAT\_W](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86ab66f8f92ab9dbfd2c43c6a57a56713b0)

@ MTAT_W

Label is to right of x, and centered about y.

**Definition:** [GLTFMarkup.h:36](_g_l_t_f_markup_8h_source.xhtml#l00036)



[ANSYS::Nexus::GLTFWriter::Markup::MTAT\_S](namespace_a_n_s_y_s_1_1_nexus_1_1_g_l_t_f_writer_1_1_markup.xhtml#af00d39b7f1008aee7b1f4f56aee12c86acfbd68b7b91d94eda566dbaf713cc78e)

@ MTAT_S

Label is centered about x, and about y.

**Definition:** [GLTFMarkup.h:40](_g_l_t_f_markup_8h_source.xhtml#l00040)



[ANSYS](namespace_a_n_s_y_s.xhtml)

GLTFWriter API Documentation.

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