CSS Logo XNACS1Lib Library Documentation
XNACS1Primitive.RotateAngle Property

Game-Themed Introductory Programming Project   

Rotate the primitive by the Angle specified (in degree). After the rotation, the FrontDirection of the primitive will be udpated accordingly. By default, when RotateAngle is 0, FrontDireciton points towards (1,0) [positive X-direction]. E.g., if we set RotateAngle to 90-degrees, FrontDireciton will be updated accordinlgy to (0,1) [positive y-direciton], or rotated 90-degress in the anit-clockwise direction

public Single RotateAngle {get; set;}

See Also

XNACS1Primitive Class | XNACS1Lib Namespace | FrontDirection