Namespace: Rx.Net – Class: Vector3D – Assembly: Rx.Net

Vector3D.Reflect Static Method

C#
public static Vector3D Reflect(Vector3D vector, Vector3D normal)

Returns the reflection of a vector off a surface that has the specified normal.

Parameters

[Vector3D] vector

The source vector.

[Vector3D] normal

The normal of the surface being reflected off.

Returns

Vector3D

The reflected vector.