Appearance.hasTexture Property

Parent Object: Appearance
Defined in namespace "adsk::core" and the header file is <Core/Materials/Appearance.h>

Description

Property that indicates if this appearance has a texture associated with it.

Syntax

"appearance_var" is a variable referencing an Appearance object.

# Get the value of the property.
propertyValue = appearance_var.hasTexture
"appearance_var" is a variable referencing an Appearance object.
#include <Core/Materials/Appearance.h>

// Get the value of the property.
boolean propertyValue = appearance_var->hasTexture();

Property Value

This is a read only property whose value is a boolean.

Version

Introduced in version August 2014