Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
|
DPSFHelper
..RandomNormalizedPointOnSphere Method
|
|
Returns a random point on a sphere with a radius of one. To use a different radius simply multiply the returned value by the desired radius value, before translating it to the sphere's position in world coordinates.
Namespace: DPSF
Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0
Syntax
C#
|
public static Vector3 RandomNormalizedPointOnSphere()
|
Visual Basic
|
Public Shared Function RandomNormalizedPointOnSphere As Vector3
|
Visual C++
|
public:
static Vector3 RandomNormalizedPointOnSphere()
|
Return Value
Type: Vector3
Returns a random point on a sphere with a radius of one
See Also
DPSFHelper Class
DPSFHelper Members
DPSF Namespace

Send comments on this topic to
|