Skip to content

RemapVec2

in Lib.numbers.vec2

Remaps an incoming Vec2 from one value range to another. This can be useful for conforming vectors to a range or for inverting components.

Input Parameters

Name (Relevancy & Type) Description
Value (Vector2)
RangeInMin (Vector2)
RangeInMax (Vector2)
RangeOutMin (Vector2)
RangeOutMax (Vector2)
Mode (Int32)

Outputs

Name Type
Result System.Numerics.Vector2