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: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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.
Remarks

[Missing <remarks> documentation for "T:Ab4d.SharpEngine.Common.CircleTextureMappingTypes"]

See Also