Click or drag to resize

SphericalCoordinate Constructor (Vector3, Single, Single, Single, Single, Single, Single, Boolean, Boolean)

Convert a cartesian-coordinate to spherical-coordinates.

Namespace:  Kit.Algorithms
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public SphericalCoordinate(
	Vector3 cartesian,
	float minRadius = 0f,
	float maxRadius = ∞f,
	float minPolar = 0f,
	float maxPolar = 6.283185f,
	float minElevation = 0f,
	float maxElevation = 6.283185f,
	bool loopPolar = true,
	bool loopElevation = true
)
Request Example View Source

Parameters

cartesian
Type: Vector3
minRadius (Optional)
Type: SystemSingle
maxRadius (Optional)
Type: SystemSingle
minPolar (Optional)
Type: SystemSingle
maxPolar (Optional)
Type: SystemSingle
minElevation (Optional)
Type: SystemSingle
maxElevation (Optional)
Type: SystemSingle
loopPolar (Optional)
Type: SystemBoolean
loopElevation (Optional)
Type: SystemBoolean
See Also