Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
|
..RandomPointOnSphere Method (Single, Vector3)
|
|
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
Syntax
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
See Also
DPSFHelper Class
DPSFHelper Members
RandomPointOnSphere Overload
DPSF Namespace
Send comments on this topic to
|