CustomGraphicsSolidColorEffect.create Method
Parent Object:
CustomGraphicsSolidColorEffectDefined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsSolidColorEffect.h>
Description
Statically creates a new CustomGraphicsSolidColorEffect object. This can be used as input when creating various color related custom graphics attributes. A solid color effect, colors the entity with a single color without any lighting effects. With this coloring effect, a sphere will display as a solid filled circle.
Syntax
This is a static method.
returnValue = adsk.fusion.CustomGraphicsSolidColorEffect.create(color)
|
This is a static method.
#include <Fusion/Graphics/CustomGraphicsSolidColorEffect.h>
returnValue = adsk::fusion::CustomGraphicsSolidColorEffect::create(color);
|
Return Value
Parameters
color |
Color |
The color to use for the solid color display. The opacity component of the color is ignored because the opacity of custom graphics is controlled separately using an opacity attribute. |
Version
Introduced in version September 2017