CustomGraphicsEntity.billBoarding Property

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

Description

Gets and sets the billboarding behavior of this custom graphics entity. To define billboarding you can set this property using a CustomGraphicsBillBoard objects that you statically create using the create method of the CustomGraphicsBillBoard class. To remove billboarding from this entity you can set this property to null.

Billboarding is used to specify that the orientation of custom graphics is defined relative to the screen instead of model space. This is commonly used for legends and symbols that you want to always face the user, even as the camera is rotated.

Syntax

"customGraphicsEntity_var" is a variable referencing a CustomGraphicsEntity object.

# Get the value of the property.
propertyValue = customGraphicsEntity_var.billBoarding

# Set the value of the property.
customGraphicsEntity_var.billBoarding = propertyValue
"customGraphicsEntity_var" is a variable referencing a CustomGraphicsEntity object.
#include <Fusion/Graphics/CustomGraphicsEntity.h>

// Get the value of the property.
Ptr<CustomGraphicsBillBoard> propertyValue = customGraphicsEntity_var->billBoarding();

// Set the value of the property, where value_var is a CustomGraphicsBillBoard.
bool returnValue = customGraphicsEntity_var->billBoarding(value_var);

Property Value

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

Version

Introduced in version September 2017