Method HadamardMod
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
HadamardMod(Vector2, Vector2)
Multiplies component by component.
[Version(1, 4, 4)]
public static Vector2 HadamardMod(this Vector2 thisVector, Vector2 otherVector)
Parameters
thisVector
Vector2The this vector.
otherVector
Vector2The other vector.
Returns
- Vector2
HadamardMod(Vector3, Vector3)
Multiplies component by component.
[Version(2, 0, 0)]
public static Vector3 HadamardMod(this Vector3 thisVector, Vector3 otherVector)
Parameters
thisVector
Vector3The this vector.
otherVector
Vector3The other vector.
Returns
- Vector3
HadamardMod(Vector4, Vector4)
Multiplies component by component.
[Version(2, 0, 0)]
public static Vector4 HadamardMod(this Vector4 thisVector, Vector4 otherVector)
Parameters
thisVector
Vector4The this vector.
otherVector
Vector4The other vector.
Returns
- Vector4