CustomGraphicsPointSet.cullMode Property

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

Description

Gets and sets the culling model to use when rendering the entity. Culling is used when the entity contains a mesh or B-Rep faces and defines which sides of the mesh or face are rendered. This is primarily used for a watertight mesh or solid B-Rep so that the "inside" of the faces is not rendered since it's never visible to the user.

When a new graphics entity is created its default cull mode is CustomGraphicsCullBack which will optimize the rendering of "solid" meshes so the inside is not rendered.

Syntax

"customGraphicsPointSet_var" is a variable referencing a CustomGraphicsPointSet object.

# Get the value of the property.
propertyValue = customGraphicsPointSet_var.cullMode

# Set the value of the property.
customGraphicsPointSet_var.cullMode = propertyValue
"customGraphicsPointSet_var" is a variable referencing a CustomGraphicsPointSet object.
#include <Fusion/Graphics/CustomGraphicsPointSet.h>

// Get the value of the property.
CustomGraphicsCullModes propertyValue = customGraphicsPointSet_var->cullMode();

// Set the value of the property, where value_var is a CustomGraphicsCullModes.
bool returnValue = customGraphicsPointSet_var->cullMode(value_var);

Property Value

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

Version

Introduced in version September 2017