Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Vector4.Project

static function Project(a: Vector4, b: Vector4): Vector4;
static Vector4 Project(Vector4 a, Vector4 b);
static def Project(a as Vector4, b as Vector4) as Vector4

Description

Projects a vector onto another vector.

Returns a projected onto b.