CameraEvent.add Method

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

Description

Add a handler to be notified when the event occurs.

Syntax

"cameraEvent_var" is a variable referencing a CameraEvent object.
returnValue = cameraEvent_var.add(handler)
"cameraEvent_var" is a variable referencing a CameraEvent object.

#include <Core/Application/CameraEvent.h>

returnValue = cameraEvent_var->add(handler);

Return Value

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

Parameters

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

Version

Introduced in version December 2017