RenderEvent.add Method

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

Description

Add a handler to be notified when the event occurs.

Syntax

"renderEvent_var" is a variable referencing a RenderEvent object.
returnValue = renderEvent_var.add(handler)
"renderEvent_var" is a variable referencing a RenderEvent object.

#include <Fusion/Render/RenderEvent.h>

returnValue = renderEvent_var->add(handler);

Return Value

Type Description
boolean Returns true if the addition of the handler was successful.

Parameters

Name Type Description
handler RenderEventHandler The handler object to be called when this event is fired.

Version

Introduced in version September 2023