Structure

MTLOrigin

The coordinates for the front upper-left corner of a region.

Declaration

typedef struct {
    ...
} MTLOrigin;

Topics

Creating Origin Points

MTLOriginMake

Returns a new origin with the specified coordinates.

Getting and Setting Coordinate Values

x

The x coordinate of the origin.

y

The y coordinate of the origin.

z

The z coordinate of the origin.

See Also

Object Sizing and Positioning

MTLRegion

The bounds for a subset of an object's elements.

MTLSize

The dimensions of an object.

MTLCoordinate2D

A coordinate in the viewport.

MTLCoordinate2DMake

Returns a new 2D point with the specified coordinates.