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
.
.
::
..RandomPointOnSphere Method (Single, Vector3)

gradient

Returns a random point on a sphere with the given Radius, at the specified Sphere Position

Namespace: DPSF

Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0

collapse_allSyntax

C#

public static Vector3 RandomPointOnSphere(

 float fRadius,

 Vector3 sSpherePosition

)

Visual Basic

Public Shared Function RandomPointOnSphere (

 fRadius As Single,

 sSpherePosition As Vector3

As Vector3

Visual C++

public:

static Vector3 RandomPointOnSphere(

 float fRadius,

 Vector3 sSpherePosition

)

Parameters

fRadius

Type: System..::..Single

The radius the sphere should have

sSpherePosition

Type: Vector3

The center position of the sphere in world coordinates

Return Value

Type: Vector3

Returns a random point on a sphere with the given Radius, at the specified Sphere Position

collapse_allSee Also

DPSFHelper Class

DPSFHelper Members

RandomPointOnSphere Overload

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com