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

const ViewportPixelnext
 
BaseObjectop
 
Float32 z
 
Int32 i
 
Bool visible
 

Member Data Documentation

◆ next

const ViewportPixel* next

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

◆ op

The object.

◆ 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)).

◆ visible

Bool visible

is the pixel visible with the current view settings.