Click or drag to resize
Ab4d.SharpEngine logo

CircleTextureMappingTypes Enumeration

CircleTextureMappingTypes defines the types of texture mapping that can be used for a circle mesh.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public enum CircleTextureMappingTypes
Members
Member nameValueDescription
Rectangular0 Rectangular is the default texture mapping type that projects the 2D texture as a rectangle to the circle (as you would put the 2D texture rectangle on the circle).
RadialFromCenter1 RadialFromCenter maps the texture by setting the texture X coordinate to the angle on the circle (angles from 0 to 360 are mapped to values between 0 and 1). Texture y coordinate is set to 0 at the center of the circle and to 1 at the edge of the circle.
RadialFromInnerRadius2 RadialFromInnerRadius is similar to RadialFromCenter but the texture y coordinate is set to 0 at the inner radius instead of the center of the circle.
See Also