Click or drag to resize
AnimatorUtilsRandDirection Method
Random vector direction.

Namespace:  GeonBit.ECS.Components.Particles.Animators
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static Vector3 RandDirection(
	Random random,
	Vector3 baseVector,
	Vector3 randDir
)

Parameters

random
Type: SystemRandom

[Missing <param name="random"/> documentation for "M:GeonBit.ECS.Components.Particles.Animators.AnimatorUtils.RandDirection(System.Random,Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Vector3)"]

baseVector
Type: Vector3

[Missing <param name="baseVector"/> documentation for "M:GeonBit.ECS.Components.Particles.Animators.AnimatorUtils.RandDirection(System.Random,Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Vector3)"]

randDir
Type: Vector3

[Missing <param name="randDir"/> documentation for "M:GeonBit.ECS.Components.Particles.Animators.AnimatorUtils.RandDirection(System.Random,Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Vector3)"]

Return Value

Type: Vector3

[Missing <returns> documentation for "M:GeonBit.ECS.Components.Particles.Animators.AnimatorUtils.RandDirection(System.Random,Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Vector3)"]

See Also