CustomGraphicsMesh.textureCoordinates Property
Parent Object:
CustomGraphicsMeshDefined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsMesh.h>
Description
Gets and sets the texture coordinates as an array of floats where they are the u,v components at each node. They are defined as an array of doubles where they are the u, v coordinates of each node. Defining texture coordinates for a mesh is optional.
Syntax
"customGraphicsMesh_var" is a variable referencing a CustomGraphicsMesh object.
# Get the value of the property. propertyValue = customGraphicsMesh_var.textureCoordinates
# Set the value of the property. customGraphicsMesh_var.textureCoordinates = propertyValue
|
"customGraphicsMesh_var" is a variable referencing a CustomGraphicsMesh object.
#include <Fusion/Graphics/CustomGraphicsMesh.h>
// Get the value of the property. std::vector<double> propertyValue = customGraphicsMesh_var->textureCoordinates();
// Set the value of the property, where value_var is a double. bool returnValue = customGraphicsMesh_var->textureCoordinates(value_var);
|
Property Value
This is a read/write property whose value is an array of type double.
Version
Introduced in version September 2017