CustomGraphicsMesh.transform Property

Parent Object: CustomGraphicsMesh
Defined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsMesh.h>

Description

Gets and sets the transform associated with the graphics entity. When a new graphics entity is created its default transform is an identity matrix which results in the graphics entity being displayed in model space using the original coordinate data used to define the entity.

Syntax

"customGraphicsMesh_var" is a variable referencing a CustomGraphicsMesh object.

# Get the value of the property.
propertyValue = customGraphicsMesh_var.transform

# Set the value of the property.
customGraphicsMesh_var.transform = propertyValue
"customGraphicsMesh_var" is a variable referencing a CustomGraphicsMesh object.
#include <Fusion/Graphics/CustomGraphicsMesh.h>

// Get the value of the property.
Ptr<Matrix3D> propertyValue = customGraphicsMesh_var->transform();

// Set the value of the property, where value_var is a Matrix3D.
bool returnValue = customGraphicsMesh_var->transform(value_var);

Property Value

This is a read/write property whose value is a Matrix3D.

Version

Introduced in version September 2017