3DCoat  3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gltf::gPrimitive Class Reference

Class of the primitive object. More...

#include <gltf.h>

Public Member Functions

cList< primAttrib > & Attributes ()
 Gets the list of the primitive attributes. More...
 
cList< primTarget > & Targets ()
 Gets the primitive target list. More...
 
void SetIndices (const int idx)
 Sets the index of the primitive indecies. More...
 
void SetMaterial (const int matrl)
 Sets the material index in the accessor. More...
 
void SetMode (const gPrimMode &_mode)
 Sets the primitive mode. More...
 

Detailed Description

Class of the primitive object.

+ Inheritance diagram for gltf::gPrimitive:

Member Function Documentation

cList<primAttrib>& gltf::gPrimitive::Attributes ( )
inline

Gets the list of the primitive attributes.

Returns

Referenced by gltf::gltfExporter::writeAccessorsAndBuffers(), and gltf::gltfExporter::writeMeshes().

void gltf::gPrimitive::SetIndices ( const int  idx)
inline

Sets the index of the primitive indecies.

Parameters
idxindex value

Referenced by gltf::gltfExporter::writeMeshes().

void gltf::gPrimitive::SetMaterial ( const int  matrl)
inline

Sets the material index in the accessor.

Parameters
matrlindex value

Referenced by gltf::gltfExporter::writeMeshes().

void gltf::gPrimitive::SetMode ( const gPrimMode &  _mode)
inline

Sets the primitive mode.

Parameters
_modemode value

Referenced by gltf::gltfExporter::writeMeshes().

cList<primTarget>& gltf::gPrimitive::Targets ( )
inline

Gets the primitive target list.

Returns

The documentation for this class was generated from the following files: