Name

kOfxInteractPropPenViewportPosition — The position of the pen in an interact in viewport coordinates.

Synopsis

#include "/ofxInteract.h"
#define kOfxInteractPropPenViewportPosition "OfxInteractPropPenViewportPosition"

Type

kOfxInteractPropPenViewportPosition is of type int, and has 2 dimensions.

Property Set

This is a property that belongs to the read only in argument to the kOfxInteractActionPenMotion, kOfxInteractActionPenDown and kOfxInteractActionPenUp actions.

Description

The position of the pen in an interact in viewport coordinates.

This value passes the postion of the pen into an interact. This is in the interact's openGL viewport coordinates, with 0,0 being at the bottom left.