Makes a vector2 by inverting the SurfaceNormal component of Direction.
Fails if not SurfaceNormal.MakeUnitVector[].
Verse using statement |
using { /UnrealEngine.com/Temporary/SpatialMath } |
ReflectVector<public>(Direction:vector2, SurfaceNormal:vector2):vector2
Parameters
ReflectVector takes the following parameters:
| Name | Type | Description |
|---|---|---|
Direction |
vector2 |
|
SurfaceNormal |
vector2 |
Attributes, Specifiers, and Effects
Specifiers
The following specifiers determine how you can interact with ReflectVector in your programs. For the complete list of specifiers, see the Specifiers Page.
| Specifier | Meaning |
|---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |