Click or drag to resize
Ab4d.SharpEngine logo

SphericalCameraGetNormalizedBank Method

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

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public float GetNormalizedBank(
	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

Single
Bank value normalized so that it is always in interval between 0 and 360 degrees
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Cameras.SphericalCamera.GetNormalizedBank(System.Boolean)"]

See Also