Vec3.__add

Kind: Operation

Environments: Game, Terrain

Game

Vec3 + Vec3
Vec3 + number

Open the full Game reference

Operations:

Operation Returns Description
Vec3 + Vec3 Vec3 Returns the sum of two vectors.
Vec3 + number Vec3 Returns the per element sum of a vector and a scalar.

Terrain

Vec3 + Vec3
Vec3 + number

Open the full Terrain reference

Operations:

Operation Returns Description
Vec3 + Vec3 Vec3 Returns the sum of two vectors.
Vec3 + number Vec3 Returns the per element sum of a vector and a scalar.