Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
|
.
..RandomPointOnCircle Method
|
|
Returns a random point on a circle with a radius of one, on the X-Y axis plane. To use a different radius simply multiply the returned value by the desired radius value.
Namespace: DPSF
Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0
Syntax
C#
|
public static Vector2 RandomPointOnCircle()
|
Visual Basic
|
Public Shared Function RandomPointOnCircle As Vector2
|
Visual C++
|
public:
static Vector2 RandomPointOnCircle()
|
Return Value
Type: Vector2
Returns a random 2D position on a circle
See Also
DPSFHelper Class
DPSFHelper Members
DPSF Namespace
Send comments on this topic to
|