Method PreScale
PreScale<TPoint>(IMap<float, TPoint>, float)
public static IMap<float, TPoint> PreScale<TPoint>(this IMap<float, TPoint> map, float scale)
Parameters
Returns
Type Parameters
TPoint
PreScale<TPoint>(IMap<Vector2, TPoint>, Vector2)
public static IMap<Vector2, TPoint> PreScale<TPoint>(this IMap<Vector2, TPoint> map, Vector2 scale)
Parameters
Returns
Type Parameters
TPoint
PreScale<TPoint>(IMap<Vector3, TPoint>, Vector3)
Creates a map that scales a vector before applying the given map.
public static IMap<Vector3, TPoint> PreScale<TPoint>(this IMap<Vector3, TPoint> map, Vector3 scale)
Parameters
map
IMap<Vector3, TPoint>Base map used in the operations.
scale
Vector3Scale factor used in the map.
Returns
Type Parameters
TPoint
Type of the point