ViewportPixel Struct Reference

#include <c4d_basedraw.h>

详细描述

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 。使用 ViewportSelect to calculate the list.

Public Attributes

BaseObject op
Float   z
Int32   i
const ViewportPixel next

Member Data Documentation

◆  op

BaseObject * 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.