Click or drag to resize
AB4D logo

SphericalCameraGetNormalizedHeading Method

Returns a double that is a Heading value normalized so that it is always in interval between 0 and 360 degrees (or between -180 to 180 when normalizeTo180Degrees is true).

Namespace: Ab3d.Cameras
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.0.8746.1045
Syntax
C#
public double GetNormalizedHeading(
	bool normalizeTo180Degrees = false
)

Parameters

normalizeTo180Degrees  Boolean  (Optional)
when true (false by default), the value is returned in range from -180 to 180 instead of 0 to 360.

Return Value

Double
Heading value normalized so that it is always in interval between 0 and 360 degrees
See Also