ViewportPixel Struct Reference

#include <c4d_basedraw.h>

Detailed Description

This class contains information about objects at a pixel in the viewport.
The information for each pixel is stored in a linked list, which you can traverse with ViewportPixel::next. Use ViewportSelect to calculate the list.

Public Attributes

BaseObjectop
 
Float z
 
Int32 i
 
const ViewportPixelnext
 

Member Data Documentation

◆ op

The object.

◆ z

Float z

The Z coordinate of the current element.

◆ i

Int32 i

The element index (may be point, polygon, edge (4*polygon+edge) or spline point (segment offset + point)).

◆ next

const ViewportPixel* next

The pointer to the next element, or nullptr if this is the last element for the pixel.