Houdini Engine 7.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
HAPI_Viewport Struct Reference

#include <HAPI_Common.h>

Public Attributes

float position [HAPI_POSITION_VECTOR_SIZE]
 The world position of the viewport camera's pivot. More...
 
float rotationQuaternion [HAPI_QUATERNION_VECTOR_SIZE]
 The direction of the viewport camera stored as a quaternion. More...
 
float offset
 

Detailed Description

Contains the information for synchronizing viewport between Houdini and other applications. When SessionSync is enabled, Houdini will update this struct with its viewport state. It will also update its own viewport if this struct has changed. The data stored is in Houdini's right-handed Y-up coordinate system.

Definition at line 2113 of file HAPI_Common.h.

Member Data Documentation

float HAPI_Viewport::offset

The offset from the pivot to the viewport camera's actual world position.

Definition at line 2123 of file HAPI_Common.h.

float HAPI_Viewport::position[HAPI_POSITION_VECTOR_SIZE]

The world position of the viewport camera's pivot.

Definition at line 2116 of file HAPI_Common.h.

float HAPI_Viewport::rotationQuaternion[HAPI_QUATERNION_VECTOR_SIZE]

The direction of the viewport camera stored as a quaternion.

Definition at line 2119 of file HAPI_Common.h.


The documentation for this struct was generated from the following file: