CubemapFaceRect
Public / Methods
ApplyTransform
Transforms this cubemap face region.
The transformation center is at (n in/2; n in/2).
WrapX
Wraps this cubemap face region along the cubemap face X-axis.
Before wrapping, this region is clipped to the following bounds (in the order given):
The resulting wrapped out cubemap face region will be step-aligned and fit onto the cubemap face.
The xy out coordinates are given relative to X1 and Y1 with a sample step of one. To compute the cubemap face coordinates of xy out, you can do the following:
region.ToFace(xy.X, xy.Y, 1)
WrapY
Wraps this cubemap face region along the cubemap face Y-axis.
Before wrapping, this region is clipped to the following bounds (in the order given):
The resulting wrapped out cubemap face region will be step-aligned and fit onto the cubemap face.
The xy out coordinates are given relative to X1 and Y1 with a sample step of one. To compute the cubemap face coordinates of xy out, you can do the following:
region.ToFace(xy.X, xy.Y, 1)