collapse_all
expand_all
collapse_allexpand_alldropdowndropdownHovercopycodecopycodeHighlight

collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++
DPSF API Documentation

DPSFHelper

.
.
::
..RandomNormalizedPointOnSphere Method
gradient

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

collapse_allSyntax

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

collapse_allSee Also

DPSFHelper Class

DPSFHelper Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com