Click or drag to resize
Vector3Reflect Method (Vector3, Vector3)

[This is preliminary documentation and is subject to change.]

Returns the reflection of a vector off a surface that has the specified normal. Reference page contains code sample.

Namespace: VRageMath
Assembly: VRage.Math (in VRage.Math.dll) Version: 1.0.0.0
Syntax
C#
public static Vector3 Reflect(
	Vector3 vector,
	Vector3 normal
)

Parameters

vector
Type: VRageMathVector3
Source vector.
normal
Type: VRageMathVector3
Normal of the surface.

Return Value

Type: Vector3

[Missing <returns> documentation for "M:VRageMath.Vector3.Reflect(VRageMath.Vector3,VRageMath.Vector3)"]

See Also