API Docs for: 0.0.2
Show:

Atlantis.Vector4 Class

Module: Framework
Parent Module: Atlantis

A vector4 class.

Constructor

Atlantis.Vector4

(
  • Value
  • Value
  • Value
  • Value
)

Parameters:

Item Index

Methods

Methods

lerp

(
  • vector
  • amount
)

Linear interpolation.

Parameters:

  • vector Atlantis.Vector4

    A vector to use for interpolation

  • amount Number

    Value between 0 and 1 indicating the weight of vector.

lerp

(
  • vec1
  • vec2
  • amount
)
Atlantis.Vector4 static

Linearly interpolates between two vectors.

Parameters:

Returns:

Atlantis.Vector4:

Return a interpolated Vector3.

toString

() String

Gets a string from this object.

Returns: