FloatProperty.hasConnectedTexture Property

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

Description

When the property is associated with an appearance this indicates if the float value has been overridden using a texture. Setting this property to False will remove the texture so that a float value is used. Setting this property to True will connect a texture to this float value. For properties not associated with an appearance, this acts as read-only and always returns false.

Syntax

"floatProperty_var" is a variable referencing a FloatProperty object.

# Get the value of the property.
propertyValue = floatProperty_var.hasConnectedTexture

# Set the value of the property.
floatProperty_var.hasConnectedTexture = propertyValue
"floatProperty_var" is a variable referencing a FloatProperty object.
#include <Core/Application/FloatProperty.h>

// Get the value of the property.
boolean propertyValue = floatProperty_var->hasConnectedTexture();

// Set the value of the property, where value_var is a boolean.
bool returnValue = floatProperty_var->hasConnectedTexture(value_var);

Property Value

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

Version

Introduced in version August 2014