    

 ## On this page

  

 

 # GLTFAttribute

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

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

<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 AVZ { namespace GLTFWriter {

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

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

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

<a id="l00031" name="l00031"></a>[ 31](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml) class [Attribute](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml) : public Object

<a id="l00032" name="l00032"></a> 32 {

<a id="l00033" name="l00033"></a> 33 public:

<a id="l00035" name="l00035"></a>[ 35](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3) enum [AttributeType](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3)

<a id="l00036" name="l00036"></a> 36 {

<a id="l00037" name="l00037"></a> 37// AT\_BYTE = 5120,

<a id="l00038" name="l00038"></a> 38// AT\_SHORT = 5122,

<a id="l00039" name="l00039"></a> 39// AT\_UNSIGNED\_SHORT = 5123,

<a id="l00040" name="l00040"></a>[ 40](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3aede267b3d98098971964943e31579d32) [AT\_INT](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3aede267b3d98098971964943e31579d32) = 5124, 

<a id="l00041" name="l00041"></a> 41// AT\_UNSIGNED\_INT = 5125,

<a id="l00042" name="l00042"></a>[ 42](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a3d1b024141a9c7de7ffd096701addb85) [AT\_FLOAT](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a3d1b024141a9c7de7ffd096701addb85) = 5126, 

<a id="l00043" name="l00043"></a>[ 43](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a9eab3991f35ae7fb67b3378f9218d0ed) [AT\_FLOAT\_VEC2](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a9eab3991f35ae7fb67b3378f9218d0ed) = 35664, 

<a id="l00044" name="l00044"></a>[ 44](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a2239bf25cc747ce3d3c58688e1289158) [AT\_FLOAT\_VEC3](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a2239bf25cc747ce3d3c58688e1289158) = 35665, 

<a id="l00045" name="l00045"></a>[ 45](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a70cacdf17684e1b3a9fcf16e76dfe0af) [AT\_FLOAT\_VEC4](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a70cacdf17684e1b3a9fcf16e76dfe0af) = 35666, 

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

<a id="l00047" name="l00047"></a> 47 [AT\_FLOAT\_MAT4](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a04fcf6d039fbcf4c7cadfe33cf81d0c3) = 35676 

<a id="l00048" name="l00048"></a>[ 48](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a04fcf6d039fbcf4c7cadfe33cf81d0c3) };

<a id="l00049" name="l00049"></a> 49 

<a id="l00050" name="l00050"></a> 50 protected:

<a id="l00051" name="l00051"></a> 51 virtual [~Attribute](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml)() {}

<a id="l00052" name="l00052"></a> 52 

<a id="l00053" name="l00053"></a> 53 public:

<a id="l00059" name="l00059"></a>[ 59](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a037b156e83bd7013027f7d15fc00f5dc) static GLTFWRITERSPEC [Attribute](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml) *[Create](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a037b156e83bd7013027f7d15fc00f5dc)([GLTF](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_g_l_t_f.xhtml) *gltf, 

<a id="l00060" name="l00060"></a> 60 const char *name, 

<a id="l00061" name="l00061"></a> 61 [AttributeType](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3) type, 

<a id="l00062" name="l00062"></a> 62 unsigned int count, 

<a id="l00063" name="l00063"></a> 63 const int *data, 

<a id="l00064" name="l00064"></a> 64 [Buffer](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_buffer.xhtml) *buffer = 0 

<a id="l00065" name="l00065"></a> 65 );

<a id="l00071" name="l00071"></a>[ 71](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a4e4e5cafbefd3c7f34c4c5a133943ace) static GLTFWRITERSPEC [Attribute](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml) *[Create](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a4e4e5cafbefd3c7f34c4c5a133943ace)([GLTF](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_g_l_t_f.xhtml) *gltf, 

<a id="l00072" name="l00072"></a> 72 const char *name, 

<a id="l00073" name="l00073"></a> 73 [AttributeType](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3) type, 

<a id="l00074" name="l00074"></a> 74 unsigned int count, 

<a id="l00075" name="l00075"></a> 75 const float *data, 

<a id="l00076" name="l00076"></a> 76 [Buffer](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_buffer.xhtml) *buffer = 0 

<a id="l00077" name="l00077"></a> 77 );

<a id="l00082" name="l00082"></a>[ 82](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#add9bba2965ecc82b29fbe20609a288e4) static GLTFWRITERSPEC [Attribute](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml) *[CreatePosition](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#add9bba2965ecc82b29fbe20609a288e4)([GLTF](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_g_l_t_f.xhtml) *gltf, 

<a id="l00083" name="l00083"></a> 83 unsigned int count, 

<a id="l00084" name="l00084"></a> 84 const float *data, 

<a id="l00085" name="l00085"></a> 85 [Buffer](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_buffer.xhtml) *buffer = 0 

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

<a id="l00089" name="l00089"></a>[ 89](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#af7c14f176b8211050c16bae1712b2755) static GLTFWRITERSPEC [Attribute](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml) *[CreateColor](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#af7c14f176b8211050c16bae1712b2755)([GLTF](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_g_l_t_f.xhtml) *gltf, 

<a id="l00090" name="l00090"></a> 90 [AttributeType](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3) type, 

<a id="l00091" name="l00091"></a> 91 unsigned int count, 

<a id="l00092" name="l00092"></a> 92 const float *data, 

<a id="l00093" name="l00093"></a> 93 [Buffer](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_buffer.xhtml) *buffer = 0 

<a id="l00094" name="l00094"></a> 94 );

<a id="l00097" name="l00097"></a>[ 97](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a86d67ad8a1a3c7d5b30b6e07af10c32e) static GLTFWRITERSPEC [Attribute](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml) *[CreatePointSize](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a86d67ad8a1a3c7d5b30b6e07af10c32e)([GLTF](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_g_l_t_f.xhtml) *gltf, 

<a id="l00098" name="l00098"></a> 98 unsigned int count, 

<a id="l00099" name="l00099"></a> 99 const float *data, 

<a id="l00100" name="l00100"></a> 100 [Buffer](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_buffer.xhtml) *buffer = 0 

<a id="l00101" name="l00101"></a> 101 );

<a id="l00105" name="l00105"></a>[ 105](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#ab72fdf4102cc88a758dabbcda1af2021) static [Attribute](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml)* [CreateDisplacementScale](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#ab72fdf4102cc88a758dabbcda1af2021)([GLTF](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_g_l_t_f.xhtml)* gltf, 

<a id="l00106" name="l00106"></a> 106 unsigned int count, 

<a id="l00107" name="l00107"></a> 107 const float* data, 

<a id="l00108" name="l00108"></a> 108 [Buffer](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_buffer.xhtml)* buffer = 0 

<a id="l00109" name="l00109"></a> 109 );

<a id="l00114" name="l00114"></a>[ 114](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a3d834f30e044fb8155197f9de012cf66) static GLTFWRITERSPEC [Attribute](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml) *[CreateNormal](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a3d834f30e044fb8155197f9de012cf66)([GLTF](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_g_l_t_f.xhtml) *gltf, 

<a id="l00115" name="l00115"></a> 115 unsigned int count, 

<a id="l00116" name="l00116"></a> 116 const float *data, 

<a id="l00117" name="l00117"></a> 117 [Buffer](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_buffer.xhtml) *buffer = 0 

<a id="l00118" name="l00118"></a> 118 );

<a id="l00127" name="l00127"></a>[ 127](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#abfafcbcdc778bed87620a01798a98f6b) static GLTFWRITERSPEC [Attribute](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml) *[CreateTextureCoord](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#abfafcbcdc778bed87620a01798a98f6b)([GLTF](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_g_l_t_f.xhtml) *gltf, 

<a id="l00128" name="l00128"></a> 128 unsigned int num, 

<a id="l00129" name="l00129"></a> 129 unsigned int count, 

<a id="l00130" name="l00130"></a> 130 const float *data, 

<a id="l00131" name="l00131"></a> 131 [Buffer](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_buffer.xhtml) *buffer = 0 

<a id="l00132" name="l00132"></a> 132 );

<a id="l00133" name="l00133"></a> 133 

<a id="l00140" name="l00140"></a>[ 140](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#ac7d2ab8c33ae471917966f920524fad1) GLTFWRITERSPEC virtual bool [SetMinMax](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#ac7d2ab8c33ae471917966f920524fad1)([AttributeType](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3) type, 

<a id="l00141" name="l00141"></a> 141 const int *mn, 

<a id="l00142" name="l00142"></a> 142 const int *mx 

<a id="l00143" name="l00143"></a> 143 ) = 0;

<a id="l00150" name="l00150"></a>[ 150](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#ae1fbcbb6aad40e3275a39db380ba3192) GLTFWRITERSPEC virtual bool [SetMinMax](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#ae1fbcbb6aad40e3275a39db380ba3192)([AttributeType](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3) type, 

<a id="l00151" name="l00151"></a> 151 const float *mn, 

<a id="l00152" name="l00152"></a> 152 const float *mx 

<a id="l00153" name="l00153"></a> 153 ) = 0;

<a id="l00155" name="l00155"></a>[ 155](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a795c8d57e0534017a267ca9511f788ce) GLTFWRITERSPEC virtual void [SetLogarithmic](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a795c8d57e0534017a267ca9511f788ce)(bool log 

<a id="l00156" name="l00156"></a> 156 ) = 0;

<a id="l00157" name="l00157"></a> 157 };

<a id="l00158" name="l00158"></a> 158 

<a id="l00159" name="l00159"></a> 159} } }

<a id="l00160" name="l00160"></a> 160 

<a id="l00161" name="l00161"></a> 161\#endif

[ANSYS::AVZ::GLTFWriter::Attribute](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml)

Attributes define the per element index values for elements defined by Index.

**Definition:** [GLTFAttribute.h:32](_g_l_t_f_attribute_8h_source.xhtml#l00031)



[ANSYS::AVZ::GLTFWriter::Attribute::Create](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a037b156e83bd7013027f7d15fc00f5dc)

static Attribute * Create(GLTF *gltf, const char *name, AttributeType type, unsigned int count, const int *data, Buffer *buffer=0)



[ANSYS::AVZ::GLTFWriter::Attribute::AttributeType](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3)

AttributeType

**Definition:** [GLTFAttribute.h:36](_g_l_t_f_attribute_8h_source.xhtml#l00035)



[ANSYS::AVZ::GLTFWriter::Attribute::AT\_FLOAT\_MAT4](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a04fcf6d039fbcf4c7cadfe33cf81d0c3)

@ AT_FLOAT_MAT4

4x4 (16) AT_FLOATs

**Definition:** [GLTFAttribute.h:47](_g_l_t_f_attribute_8h_source.xhtml#l00048)



[ANSYS::AVZ::GLTFWriter::Attribute::AT\_FLOAT\_VEC3](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a2239bf25cc747ce3d3c58688e1289158)

@ AT_FLOAT_VEC3

3 AT_FLOATs

**Definition:** [GLTFAttribute.h:44](_g_l_t_f_attribute_8h_source.xhtml#l00044)



[ANSYS::AVZ::GLTFWriter::Attribute::AT\_FLOAT](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a3d1b024141a9c7de7ffd096701addb85)

@ AT_FLOAT

4 byte float

**Definition:** [GLTFAttribute.h:42](_g_l_t_f_attribute_8h_source.xhtml#l00042)



[ANSYS::AVZ::GLTFWriter::Attribute::AT\_FLOAT\_VEC4](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a70cacdf17684e1b3a9fcf16e76dfe0af)

@ AT_FLOAT_VEC4

4 AT_FLOATs

**Definition:** [GLTFAttribute.h:45](_g_l_t_f_attribute_8h_source.xhtml#l00045)



[ANSYS::AVZ::GLTFWriter::Attribute::AT\_FLOAT\_VEC2](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3a9eab3991f35ae7fb67b3378f9218d0ed)

@ AT_FLOAT_VEC2

2 AT_FLOATs

**Definition:** [GLTFAttribute.h:43](_g_l_t_f_attribute_8h_source.xhtml#l00043)



[ANSYS::AVZ::GLTFWriter::Attribute::AT\_INT](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a046f86686637a52f18e250a00d5687d3aede267b3d98098971964943e31579d32)

@ AT_INT

4 byte integer

**Definition:** [GLTFAttribute.h:40](_g_l_t_f_attribute_8h_source.xhtml#l00040)



[ANSYS::AVZ::GLTFWriter::Attribute::CreateNormal](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a3d834f30e044fb8155197f9de012cf66)

static Attribute * CreateNormal(GLTF *gltf, unsigned int count, const float *data, Buffer *buffer=0)



[ANSYS::AVZ::GLTFWriter::Attribute::Create](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a4e4e5cafbefd3c7f34c4c5a133943ace)

static Attribute * Create(GLTF *gltf, const char *name, AttributeType type, unsigned int count, const float *data, Buffer *buffer=0)



[ANSYS::AVZ::GLTFWriter::Attribute::SetLogarithmic](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a795c8d57e0534017a267ca9511f788ce)

virtual void SetLogarithmic(bool log)=0



[ANSYS::AVZ::GLTFWriter::Attribute::CreatePointSize](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#a86d67ad8a1a3c7d5b30b6e07af10c32e)

static Attribute * CreatePointSize(GLTF *gltf, unsigned int count, const float *data, Buffer *buffer=0)



[ANSYS::AVZ::GLTFWriter::Attribute::CreateDisplacementScale](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#ab72fdf4102cc88a758dabbcda1af2021)

static Attribute * CreateDisplacementScale(GLTF *gltf, unsigned int count, const float *data, Buffer *buffer=0)



[ANSYS::AVZ::GLTFWriter::Attribute::CreateTextureCoord](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#abfafcbcdc778bed87620a01798a98f6b)

static Attribute * CreateTextureCoord(GLTF *gltf, unsigned int num, unsigned int count, const float *data, Buffer *buffer=0)



[ANSYS::AVZ::GLTFWriter::Attribute::SetMinMax](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#ac7d2ab8c33ae471917966f920524fad1)

virtual bool SetMinMax(AttributeType type, const int *mn, const int *mx)=0



[ANSYS::AVZ::GLTFWriter::Attribute::CreatePosition](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#add9bba2965ecc82b29fbe20609a288e4)

static Attribute * CreatePosition(GLTF *gltf, unsigned int count, const float *data, Buffer *buffer=0)



[ANSYS::AVZ::GLTFWriter::Attribute::SetMinMax](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#ae1fbcbb6aad40e3275a39db380ba3192)

virtual bool SetMinMax(AttributeType type, const float *mn, const float *mx)=0



[ANSYS::AVZ::GLTFWriter::Attribute::CreateColor](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_attribute.xhtml#af7c14f176b8211050c16bae1712b2755)

static Attribute * CreateColor(GLTF *gltf, AttributeType type, unsigned int count, const float *data, Buffer *buffer=0)



[ANSYS::AVZ::GLTFWriter::Buffer](class_a_n_s_y_s_1_1_a_v_z_1_1_g_l_t_f_writer_1_1_buffer.xhtml)

Buffers define files that are used to contain attribute and index data.

**Definition:** [GLTFBuffer.h:36](_g_l_t_f_buffer_8h_source.xhtml#l00035)



[ANSYS::AVZ::GLTFWriter::GLTF](class_a_n_s_y_s_1_1_a_v_z_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](namespace_a_n_s_y_s.xhtml)

GLTFWriter API Documentation.

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